thewhiteleaf
Member
Posted 3 years ago #
The sketchbook section of my website is broken down into years. The parent section, ""sketchbook"" provides links to each nested page. The nested pages have permalinks of the year they were created.
Example:
http://thewhiteleaf.com/sketchbook/2006/
After upgrading to WP 2.6 all my nested sketchbook pages ending in a year won't view. The url in the browser is correct but the parent page, "sketchbook" is shown.
When I changed the permalink of any the pages to something other than a number it loads correctly. Here's an example: http://thewhiteleaf.com/sketchbook/test/
I read the sticky and added the "category" and "tag" fix but still no luck.
Thank you
Somebody else just found out the same (there's more things wrong with permalinks since 2.6). She fixed things for the moment by adding .html to the permalinks.
thewhiteleaf
Member
Posted 3 years ago #
I'm not sure how to get the .html added to my permalinks. I've tried editing the pages permalink to "2006.html" but wordpress removes the dot giving me an url of /2006html/"
I've also tried adding ".html" at the end of Custom Structure and it still doesn't show up in my permalink.
Any suggestions?
thank you!
This is what is written in the "Codex". It looks like it should just work. I don't use it myself. Maybe you can ask the poster from the thread I linked to how she managed.
thewhiteleaf
Member
Posted 3 years ago #
yes i tried that. That only adds the .html to posts written in my news page
As for the pages i've created that end in a number the .html isn't showing up.
suggestions anyone?
You cannot add it to Pages. Only to posts.
WordPress 2.3 and up does not allow the post or page slugs to be all numeric. This is because that URL scheme will conflict with multi-page posts.
There is no fix. Change them to something else.
Alternatively, a plugin exists to allow this, if you give up on multi-page posting: http://wordpress.org/extend/plugins/allow-numeric-stubs/
More info here:
http://trac.wordpress.org/ticket/5305
thewhiteleaf
Member
Posted 3 years ago #
aah ok. I added an underscore before the numbers. the page must have at least one character.
http://thewhiteleaf.com/sketchbook/_2007
thewhiteleaf
Member
Posted 3 years ago #
Otto42 the plugin works great for my purposes.
Thanks!
Thank you thewhiteleaf,
For posting your info and solution. I have been trying to set up NextGen Gallery and I wanted a page structure >Photos/Year/Month eg. >photos/2009/June/
But the change to wordpress has had me hunting for a solution.
Thank you,
=-)