Page URL Problem

Discussion in 'WordPress' started by twin, Oct 23, 2010.

  1. #1
    Hey!

    I got big problem with pages urls. After I make A Main Page and added all pages to that page as a parent pages now urls looks like this

    www.domain.com com/page/ subpage.html
    and befor I did it it looked like this
    www.domain.com/ subpage.html

    Is there any way to leave a new structure but removing the main page slug (in this example "page) from the url?
     
    twin, Oct 23, 2010 IP
  2. juhasan

    juhasan Well-Known Member

    Messages:
    389
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    125
    #2
    I think you should keep the new structure and tweak the .htaccess file with regular expression. So that any visitor trying to access old urls, will be automatically redirected to new urls. You don't need to worry about Search Engines, they will change the url after a while.
     
    juhasan, Oct 23, 2010 IP
  3. twin

    twin Well-Known Member

    Messages:
    981
    Likes Received:
    32
    Best Answers:
    0
    Trophy Points:
    150
    #3
    Thanks, if there is no other way i will have to use the redirections. I thought i miss something but looks like there is no other way
     
    twin, Oct 23, 2010 IP