Fix 404 Errors After Changing WordPress Permalinks

 

You may see a 404 Error on your homepage if you have modified the permalinks of your WordPress site or if it previously did not have any. Don’t worry; this type of technical issue is rather common. This article will assist you in managing your permalinks and resolving those pesky 404 errors. You’ll keep your SEO ranks while also pleasing your visitors.

 

There are six simple steps to follow in total:

  • All Current Permalink Settings and URLs should be documented.
  • Make the Redirects That Are Required
  • Manually change the Permalinks setting
  • Test and keep testing your.htaccess file
  • Contact us for assistance.

Having a plan is always a good idea, and one of the things you should do is document the current permalink settings. We suggest that you do the following:

Write down or capture the current permalink settings for your WordPress site. This will be required in the second step; if you are using the “default” settings, you can skip steps 2 and 4. This is because WordPress redirects you automatically. Steps 3 and 5 would still need to be completed.
Make a list of current URLs to test later;
At least 15 URLs should suffice. You will feel much more secure that everything is fine once you have tested them and seen that they work.

 

WordPress will attempt to redirect any altered or migrated content by default. However, it is not always reliable, and you should not rely on WordPress for this purpose. As a result, there are two simple ways to create redirects in WordPress:

Manage redirects from the WordPress Dashboard with the free Redirection plugin. Go to Tools Redirection and enter the 404 page URL in the Source URL field and the new destination in the Target URL box once the plugin is installed and functional. Remember that because Redirection is a plugin, it will have an impact on your site’s performance; use cPanel to control your redirects. This is the option you should choose because everything you do is on the server side.

 

As a result, the performance of your website will be unaffected. It also means you won’t have to bother about another plugin. If you’re a FastComet customer, you’re probably utilising the Apache web service, which provides you a third option: using the.htaccess file to set up redirects, which we’ll go over in Step 4.
This is where you access your WordPress Dashboard’s Permalinks Settings. After that, select Post Name and click the Save Changes button. That’s everything. You’ll get a 404 Error for your old links after this step. This is addressed in the next step.

 

Manually Edit Your .htaccess File

Let’s go ahead and manually correct those nasty 404 problems. To do so, use FTP to connect to your server and edit the.htaccess file, which is placed where files like /wp-content/ and /wp-includes/ are. The simplest solution is to change the permissions to 666 and temporarily make the file writeable. Then, go back to step one and repeat the process.

Make sure that the permissions are set to 660 again. Another way is to add the following code to your.htaccess file manually:

Test and Keep Testing

Finally, start testing the URLs that you have written down and make sure they are correctly redirected. You can also search your website in search engines and make sure those URLs redirect properly.

Contact us for Assistance

If none of the suggestions in this article help you resolve your 404 issue, please file a request to our 24-hour technical support team. If you do so, please let us know which URLs are causing undesirable or unexpected 404 errors, as well as the troubleshooting actions you’ve previously taken. We’ll be able to add some next-level troubleshooting and solve your problem as quickly as feasible with that information.