VTJustinB
Member
Posted 1 month ago #
Ran into a weird issue today with an older WP installation.
When setting the /archives/[0-9]+ format for permalinks they are 404ing, but inside of WP not on the server. In other words, all links are being funneled to the theme 404 page.
.htaccess file is writable and correct, permalink settings are normal (and contain standard %category% and %tag% patterns respectively). I tried setting the use_verbose_rules setting in rewrite.php to dump all the rewrite rules to the .htaccess file and it's still 404ing.
Any ideas?
delete the .htaccess entirely or rename it
regenerate permalinks
VTJustinB
Member
Posted 1 month ago #
Gave this a shot, and it didn't seem to have any effect.
Steps taken:
- rm .htaccess
- set permalinks back to "archives/%post_id%"
- links redirected to theme's 404 page
- mv .htaccess .htaccess_old
- set permalinks back to "archives/%post_id%"
- links redirected to theme's 404 page
VTJustinB
Member
Posted 1 month ago #
The permalinks are correctly chosen, if that's what was meant by your link.
See: http://imgur.com/PvIFc.png
I tried both the third radio button and the explicit /archives/%post_id% custom schema.
muradsweiss
Member
Posted 1 month ago #
Help
I have been have nothing but problems with thumbnails and the upload folder, well I couldnt fix the part of showing images on my blog, but I somehow I broke my blog on the way:(
My posts now dont show on the front page -- shows error 404 ??
The post url on front end is hte same on the back end -- I checked the permalinks and they seem ok?
Please help me
PS can I restore the blog to earlier hour?
muradsweiss
please start your own thread
try
/%archives%/%post_id%/
VTJustinB
Member
Posted 1 month ago #
I don't see an %archives% structure tag anywhere in the docs--is that undocumented?
it won't work on 2.8.x - sorry
don't know what else to tell you