Whenever I get a problem with any WP links not working, the first thing I try is to reset permalinks
save to default, test site, then save back to custom (even if you are already using just default, click save)
If the permalinks thing doesn’t help, then try deactivating all plugins and testing. If your site works with all plugins deactivated….turn them back on one by one and testing to find the culprit
And finally, if those don’t work, switch to default theme and test
good luck…done all these things…problems persist..
Thread Starter
DJSW
(@djsw)
Many thanks, RVoodoo. Saving the permalinks to default has solved the problem, but when saving them back to custom the problem returns. Have tried the plugins testing but to no avail. I have also recently upgraded my atahualpa theme, so switched to default theme and tried but that failed too. At least the site is now running smoothly again, but it would be good to have custom links….
hmm…. is your .htaccess writeable? (it’s normally in the root of your WP directory)
with your site on default permalinks, you don’t need to have an .htaccess
so when I’ve had trouble with permalinks in the past, I’ve switched to default then deleted the .htaccess. Then, switched back to custom allowing WP to recreate a new .htaccess
Thread Starter
DJSW
(@djsw)
I followed your .htaccess suggestion and WP created a new .htaccess file:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
The custom links still don’t work however….