Support » Fixing WordPress » Redirecting complex URLs

  • I’m moving a website from a host with a proprietory cms system to a new webhost using wordpress. The domain name remains the same. The content is the same as the old site but, naturally, all the new page urls are different in wordpress.

    The old site was a mix of simple (pagename.php) and complex (page_title.php?name=Our+Service&id=1) URLs [don’t ask why – long story!]

    I have set up search friendly urls in WP using permalinks and page url editing and I have used 301 redirects in .htaccess to redirect the simple url pages from the old site to their WP equivalents. All works great, no problems at all.

    The problem I have is in redirecting the old complex urls to the new WP equivalent pages.

    As an example I want to permanently redirect:


    Using 301 redirects in the format for simple urls just doesn’t work for these complex ones.

    I’ve read up extensively on mod_rewrite but can find no examples of my particular requirement.

    Any help would be gratefully appreciated



Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi guys

    Any ideas yet?

    No rush, just putting the question back on the table, they can get buried so fast!



    Try a Google search for:

    301 redirect dynamic url




    there are other forums that are better suited to this question..

    jdmorgan, a mod over at is THE preeminent authority on all things mod_rewrite, in my opinion. You might want to post over there if you havent yet.

    Thanks guys for a very quick response.

    Both suggestions take me to the same place, JD has an article on that very topic. now bookmarked. I’m off back there for a good read.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Redirecting complex URLs’ is closed to new replies.