I have a problem with a Wordpress site that when it was built the person used the wrong permalink structure and included the date/post-title. I've been told having the date in the blog post URL hinders SEO performance. Although the posts are all indexed, the site has received zero organic traffic on over a year. Can anyone here confirm this could be an issue? Question #2: If I change the permalink structure to only have the post title in the URL, I know I will get 404 errors if someone happens to go to that page. If I use the following code in the sites .htaccess file, which basically redirects all of the old links with the date in the URL to the new links that do not have the date in the URL but only the post name...
Changing Permalink structure in Wordpress
9
I have a problem with a Wordpress site that when it was built the person used the wrong permalink structure and included the date/post-title. I've been told having the date in the blog post URL hinders SEO performance. Although the posts are all indexed, the site has received zero organic traffic on over a year. Can anyone here confirm this could be an issue?
Question #2: If I change the permalink structure to only have the post title in the URL, I know I will get 404 errors if someone happens to go to that page. If I use the following code in the sites .htaccess file, which basically redirects all of the old links with the date in the URL to the new links that do not have the date in the URL but only the post name...
Will that cause issues with my SEO.. here's the code I generated from Yoast:
RedirectMatch 301 ^/([0-9]{4})/([0-9]{2})/(?!page/)(.+)$
https://yourwebsite.com/$3
I realize this is an off the wall questions but want to hear from someone with experience with these types of issues before I make the change. I've tested the code on a test side and it seems to work perfectly. I just don't want to give Google any excuse to slap a penalty on the domain.
Thanks in Advance for any help you can offer.
Question #2: If I change the permalink structure to only have the post title in the URL, I know I will get 404 errors if someone happens to go to that page. If I use the following code in the sites .htaccess file, which basically redirects all of the old links with the date in the URL to the new links that do not have the date in the URL but only the post name...
Will that cause issues with my SEO.. here's the code I generated from Yoast:
RedirectMatch 301 ^/([0-9]{4})/([0-9]{2})/(?!page/)(.+)$
https://yourwebsite.com/$3
I realize this is an off the wall questions but want to hear from someone with experience with these types of issues before I make the change. I've tested the code on a test side and it seems to work perfectly. I just don't want to give Google any excuse to slap a penalty on the domain.
Thanks in Advance for any help you can offer.
- savidge4
- [1] reply
- smoundzou
- [1] reply
- xtrapunch
- cmsminds
- aarticod Banned
- [ 1 ] Thanks
Next Topics on Trending Feed
-
9