By Chris Chase on Wednesday, 13 June 2018
Posted in General Issues
Replies 1
Likes 0
Views 601
Votes 0
Hey guys,

We've noticed that there exists multiple URLs for a single blog post on our site. For instance, for this blog post: https://www.directive.com/blog/entry/web-design-best-practices-for-content-presentation.html

When you search for it in google, you get the blog/entry/blog-title URL, however the only one that is visible or that you're able to get to from the site itself is the blog/blog-title URL.

I would assume that the site's blog URLs were set to the default setting at one time, however they've since been changed to the simple URL structure, and Google should have long ago indexed the new URL.

Mostly, we're just wondering if there should be some sort of automatic redirect to the new URL. We know that this is how it works on WordPress, and were wondering if the same was supposed to be the case here.

Let me know if you need more information on this issue!

Regards,
Hi Chris Chase,

I am sorry for the delay of this reply.

Regarding your issue when searching in Google and google returned you multiple links that points to same blog post, I believe the reason is because the old URL already been indexed in Google search engine. If you want to remove those outdated urls, you can do it via Google webmaster tool.

Mostly, we're just wondering if there should be some sort of automatic redirect to the new URL. We know that this is how it works on WordPress, and were wondering if the same was supposed to be the case here.


As for the above, maybe you can use .htaccess file and write a redirection rule to detect the url pattern '/blog/entry/title' and replace this segment in the url to just '/blog/title'.

You might want to check out this tutorial on how you can do redirection with .htaccess file.

Hope this help and have a nice day
Sam
·
Wednesday, 13 June 2018 10:28
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post