• Hi, I have just downloaded WordPress and am testing it before I move my blog.

    Like most people who migrate, I want to preserve my old URLs and I have been experimenting with the “slug” option on wordpress which gives me some control. I need more!

    Some of my existing pages are static html with .html or .shtml extensions, some however were generated in drupal and have no extensions. The types of URL I want to preserve are

    https://www.mysite.com/Lots-of-Stuff.shtml
    https://WWW.mysite.com/blogger/stuffetc.html
    https://www.mysite.com/stuff

    I need to be able to do two things that the slug won’t let me do:

    1) decide whether or not to have an extension (at present when I input stuff.shtml this is changed to slugshtml)

    2) I also need to preserve the capital letters in the URLS as the static pages are hosted on linux servers and my pages are listed on google with capitals/lower case depending on how I created the URL at the time.

    In short, I need complete control over my URLs. I know drupal has a plugin that allows you to easily setup an alias (and then you have to modify robots.txt to keep google happy) Is there anything similar for wordpress?

    Many Thanks for your help!

    PS, I hope this hasn’t been done to death. The search function here keeps timing out and a great deal of googling hasn’t provided and answer….

    cheers

    thomas

Viewing 1 replies (of 1 total)
  • Thread Starter chantaspell

    (@chantaspell)

    Hi

    I have been doing further research and come to the conclusion that what i need is something like:

    RewriteEngine on
    RewriteBase /home/fhlinuxXX/a/XXXXX.com/user/
    RewriteRule ^old\.shtml$ new.html

    When I do the above without the second line (rewrite base) it works for static pages of html on the server but nothing from within wordpress.

    My host streamline.net have told me the correct rewritebase path, but that still can’t access any pages from wordpress and display them on a new url

    Any ideas????

    cheers thomas

Viewing 1 replies (of 1 total)
  • The topic ‘URLs – I need complete control!’ is closed to new replies.