How to correctly update a Wordpress URL?

by Ulises   Last Updated December 11, 2017 19:04 PM

I have a WordPress website which has a lot of very well position URL but unfortunately, they all have the id on the URL instead of a friendly URL.

I am working on a new website but I will like to know if somebody knows how to keep the traffic coming. For example, I have:

exampleurl.com/?page_id=23 that is very well positioned.

And I will update with a new design with exampleurl.com/placeName

Will Google know this update? Will I lose all the traffic that is coming to page_id=23? Do you know any technique or fix that I can make to keep my traffic?



Answers 2


Install the Redirection plugin for WordPress. (https://wordpress.org/plugins/redirection/) Then change the URL's in each individual page's settings. Redirection will automatically 301 redirect the old URL's. However, still take note and keep a file of the old URL's and their new versions, and go through what Redirection did to double check that everything looks right. (You can also manually write the redirects into your .htaccess file, or enter them into Redirection.)

Then make sure you've updated your XML Sitemap, or that it automatically updated. (You may need to regenerate it.) And make sure that your canonical meta tags have been updated too. Then, resubmit the sitemap in Google Search Console. (And Bing Webmaster Tools, if you have that set up.) You should then be good to go.

Henry Visotski
Henry Visotski
December 11, 2017 19:30 PM

Wordpress has already built in features that will assist you changing the website to friendly URL. I suppose that you are not only concern with the way to create friendly URL but also with the SEO impact in rankings or traffic that this might have. Read this answer here about 301s.

1) create a database backup. In case you make a mistake you will be able to rollback your changes. There are many plugins available to help you with this task if you don’t know how to do it yourself via cPanel.

2) You can start by changing the way your CMS shows the URLs. Go to settings menu, select permalinks and choose “Post name”. This will automatically change the urls to the main title of your page/posts and create the 301s for you. You can always comeback here to change the URLs to a more advance structure.

changing permalinks

3) If you would like to change the URL structure, assign new categories, etc export your Urls following this instructions here. Then, apply this procedure to make life easier for you.

4) make sure your new urls follows a comprehensive website structure, using categories and subfolders correctly, and reflecting that in all your navigation menus.

5) update all text based internal links within the content of your pages to point to the new URLs

6) update your sitemap, for this use a plugin like Yoast SEO. Make sure to re-generate your sitemap and re-submit to google and bing search Console.

titico
titico
December 11, 2017 22:25 PM

Related Questions



Unknow urls are creating in wordpress blog

Updated April 29, 2017 12:04 PM


htaccess rewrite incoming links to new one

Updated February 29, 2016 03:01 AM