Broken permalinks – 500 Internal Server Error
Try resetting your custom permalinks back to the default setting via Settings -> Permalinks and renaming the .htaccess file in your root WP folder. If this works, then review Using_Permalinks before setting a custom permalink structure back up again. And stop manually editing permalinks.
Thanks a million. Whereabouts should the .htaccess file be?
As in, I can see my wp-admin, wp-content, wp-includes folders, but can’t seem to find the .htaccess file.
I’ve reset the permalinks back to default, but I’m still having no luck with finding my .htaccess file. What I have noticed since I first posted this is that some of my blog links actually work, but the majority still don’t. That doesn’t really make sense…
Ensure that your ftp client is configured to show all files. Many ftp clients are configured, by default, to hide .htaccess files. The file will be in your root WordPress folder (ie the one that also holds your wp-config./php file).
You’re on a windows server. Ask your web host if they have the URL Rewrite Module installed. See http://codex.wordpress.org/Using_Permalinks#Permalinks_without_mod_rewrite
You’re on a windows server.
Well that would certainly explain a few things…
Oh aye, should have mentioned that! I’ve forced the FTP client to show hidden files, but still no luck. The file structure goes like this: webapps > SiteApp#### > htdocs, then you have these files:
Can’t see the .htaccess file(s) in any of these. :-/
The thing is, I was using “pretty permalinks” long before this and didn’t have any problem, so I don’t think it has to do with the URL Rewrite Module…
Any .htaccess will be at the same level of wp-admin, etc.
Ask your host. They have control over the URL Rewrite Module
I’ll do that first thing on the morrow. Cheers!
I’ve been in touch with my host, and they’ve said that the URL Rewrite Module is installed and operational. And the .htaccess file is not in the folder with wp-admin, etc. o.O
…the URL Rewrite Module is installed and operational
I doubt it. Tell your host to fix it.
Or find a new host: Recommended WordPress Web Hosting
Try disabling all your plugins, then reverting to the TwentyTen / TwentyEleven theme. If your permalinks work, chances are it’s the new theme that’s thrown something off. I’ve had exactly the same issue with another blog (which I’ve not fixed yet).
Your .htaccess file should be in the root of your WordPress installation – your /blog folder from what I can see. Have a look in Settings and see where you’re telling it your WP installation folder is. Also check the root of your website in case it’s been put there in a previous install. If you don’t have a .htaccess file there WordPress should automatically create one for you. To force it to do so, go and change your permalinks structure (doesn’t matter which option you choose) then hit save. Check and see if a .htaccess file has been created in your WordPress directory.
You may see an infobox saying that WordPress doesn’t have permissions to .htaccess. That’s where I got to, got my hosting provider to check and they confirmed all permissions were fine, my next stage is to reinstall WordPress.
- The topic ‘Broken permalinks – 500 Internal Server Error’ is closed to new replies.