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

I have 2 pages in my wordpress 3.0.1 site with 2 urls




however any link in my site to www.mysite.co.uk/accommodation/ goes to www.mysite.co.uk/sub-page/child-of-sub-page/accommodation/ instead

is this a bug in wordpress 3.0.1? or is there a way round this?

share|improve this question
up vote 1 down vote accepted

I'm not seeing this behavior in my test install, using the page hierarchy you have described.

I can access both the top-level accommodation page and the child page. Do you happen to have the Redirection plugin installed?

share|improve this answer

I believe pages cannot have the same slug, even if the full path is different. This is indeed a limitation in WordPress. I believe others active on this site, like Mike Schinkel, can tell you where the Trac ticket is.

share|improve this answer

http://www.mysite.co.uk/accommodation/ goes to URL not found so you need to redirect it to the correct URL

You can do this if your theme offers built in 301 redirects or install a plugin to do this. Otherwise cPanel offers redirects

share|improve this answer

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.