NECTES Global Media Technology Website.

Changing WordPress Permalink Structure Without 404 Error Pages

0 404

Recently, i was using a custom Permalink in my two WordPress sites, which are NgospelMedia  and NgmTechnology  and the Permalink link is: /%year%/%monthnum%/%postname%.html , if you watch this permalink, it looks so pretty good to use, because it is a permalink, that is always used by new WordPress Bloggers or Sites that came from Blogger.com Blog {Blogspot}, what are mine saying here, is that, when your are on Blogger.com blog, you use this permalink as a default permalink and is not changeable in that blog platform, and if you use a plugin from your WordPress end to redirect all the posts to new WordPress site, you will now be advanced to use that Permalink, so that your SEO Rank will still be in-tight.

The Reason i had to change this permalink to one of best WordPress best Used and SEO Optimized Permalink, /%postname%/ is that, i was confuse and dumbfounded on my site best SEO Practices, so i started a rearch, reading articles on the web, on “Best WordPress Permalink Structure For Good SEO” and as i was searching, i came accross this post on Yoast I think that link will be also useful for you, so at the end of reading the article, i discovered the best post permalink was this: /%postname%/ , seeing this on the above link post, did not just made me change my mind from changing my permalink to it, i have to check top good WordPress sites, that are doing well, on SEO, they all, are using that permalink.

Changing WordPress permalink structure

There are two steps in changing your WordPress permalink structure. The first step is easy: go to Settings -> Permalinks and select Post name:



Changing Permalink Structure without 404 pages

At the end i changed my permalink to it, but i made some test of my old posts with their permalink, to see if i will get 404 error page, and i got it them, and you can see, if there is no solution to that, then the permalink that was changed, is not a success at all, so i had to figure out how to make sure i have no 404 error pages in my sites.

REMOVING EVERY 404 PAGES AFTER CHANGE OF PERMALINK

[sociallocker id=”3453″]

Yes this is a simple task to undertake, for those of you that know how to walk around with your sites server files. But to do this i’m about to mention, you must know or have the knowledge of .htaccess in site root directory, because we are going to paste a file to it.

Read More:
1 of 112
More Publications You Missed!
1 of 112

Steps to Take:



  1. After changing your formal or old permalink to a new one, you must see a lots of 404 pages, if you have been on that permalink for long, you have to create an Apache server redirect and paste it at your .htaccess file.
  2. Visit Yoast SEO Permalink Redirect Tool after generating the redirect, go to your cpanel, ftp, or yoast seo .htaccess editor to add the code generated.
  3. Make sure you add your code at the top, that is, let it be the first code in line 1, of your .htaccess, so that it will effective and work faster for you.

[/sociallocker]

You Might read a few Write-ups by Yoast Seo:

Please note that the tool currently only supports Apache-based servers and not Nginx.

After copying the redirect over to your .htaccess file, you should go out and test if everything is working properly. If the redirect doesn’t seem to be working, it could mean that you’re not allowed to use RedirectMatch on your Apache server.

If you don’t have proper rights to edit your .htaccess file or can’t use RedirectMatch, you can also consider using our Yoast SEO Premium plugin. The built-in Redirect Manager will automatically create a redirect for you whenever you alter the permalink of a post to reflect the newly chosen structure.

 

If this article has helped you, you can help us to share it on social media, with this link below:

https://www.ngmtechnology.com/changing-wordpress-permalink-structure-without-404-error-pages/
 
We Really Appreciate Your Effort in sharing our post to social media sites. and we say a Big Thank You!!!