WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Just got to the end of a site build and the client is now saying the original site URL's need to stay the same and do not want to do 301 redirects due to loss of link juice.

The structure of the site has changed so not possible to match the URL structure. I have been trying to figure out how to rewrite the URL's so that they stay the same in the address bar but map to different content.

As an example

Old URL: advisories/sos-12-11

New WordPress rewritten URL: relateditem/sos-12-11

Have tried:

RewriteRule ^advisories/([A-Za-z0-9-]+)$ index.php?relateditem=$1 [L]

With Permalinks set to custom (/%postname%) this maps through to the right location but changes the address in the address bar.

With Permalinks set to default it just maps to the home page and does not change the address bar.

Seems the two are interacting but cannot figure out how. Any help greatly appreciated!

share|improve this question
Why do you think 301s are a problem? google.com/search?q=301+redirect+link+juice Especially relevant: searchengineland.com/… – s_ha_dum Apr 8 '13 at 13:35
Yeah, @s_ha_dum is spot on. Check out support.google.com/webmasters/bin/… as well. However, for purely academic reasons, you could accomplish this by using a post meta field to store a permalink and essentially use manual permalinks for your content. It's a terrible idea, though. – Matthew Boynes May 23 '13 at 20:22

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.