Pages with an all numeric page slug show the page parent instead
|Reported by:||wcraigtrader||Owned by:||ryan|
|Severity:||normal||Keywords:||page slug permalinks|
If you create a page whose page slug is a number (eg: 1830) then when you view that page, Wordpress will display the page's parent page instead of the actual page.
This happens with Wordpress 2.8 (originally spotted in 2.7). It happens with the default Theme and with no plugins.
I created a page named '1830' and placed it under the appropriate parent page (Strategy Rail Games). As long as it's page slug was '1830', instead of displaying the content for '1830', it displays the content for 'Strategy Rail Games'.
If I change the page slug to include a letter, the page displays normally:
(I've left a private page with a slug of '1830' so you can see this for yourself.)
Change the page's slug to include a non-numeric character.