WordPress: Error after updating permalinks
So you have your blog up and running and you are playing with all of the settings. You make it to the setting to update your permalinks so they display more than just a number for the post. It all seems to go well, but when you go to your blog to check things out, you notice every page is broken except for your homepage.
Don’t fret, this happens to people all of the time. It is quite possibly one of the most common problems I have heard of. It is caused when the .htaccess file does not allow wordpress to add the proper code to redirect to the new permalinks.
How to fix it:
There are two solution’s here. You can either update your .htaccess file manully, or let wordpress do it for you.
Manually fixing it:
- Log into wordpress and navigate to the permalink settings page.
- Select your desired permalink structure and click save changes.
- Now if wordpress was unable to make the necessary updates it will output some code at the bottom of the page. This code needs to be added to your .htaccess file. This file is found in the same directory as wordpress.
- Save the updated file and try things out.
Letting WordPress fix it:
This fix is for people who aren’t comfortable messing with code.
- First you will need to open the directory where wordpress is installed either through your control panel or ftp.
- Then locate the .htaccess file found in your wordpress directory.
- Change the file permisions of the .htaccess file to 777, be sure to write down it’s original settings.
- Log into wordpress, and navigate to your permalink settings.
- Select your desired permalink structure and click save changes.
- Now change your .htaccess file back yo it’s original settings for security reasons.
[singlepic=6,320,240,,center]
Hopefully this little tutorial will help you solve your issues. If you have any further questions just comment here and I will answer them.