Canonicalization Issue?
-
Good day! I am not sure if my company has a Canonicalization issue?
When typing in www.cushingco.com the site redirects to http://www.cushingco.com/index.shtml
A visitor can also type in http://cushingco.com/index.shtml into a web browser and land on our homepage (and the url will be http://www.cushingco.com/index.shtml)
A majority of websites that link to our company point to:
http://www.cushingco.com/index.shtml
We are in the process of cleaning up citations and pulling together a content marketing strategy/editorial calendar.
I want to be sure folks interested in linking to us have the right url.
Please ask me any questions to help narrow down what we might be doing incorrectly.
Thanks in advance!!
Jon
-
Hi Jon,
It looks like you have most of the canonicalization bases covered. However, you still need to add a 301 HTTP redirect for cushingco.com that points to www.cushingco.com.
Right now, the site is serving duplicate content for most www/non-www requests. A request for cushingco.com will redirect correctly to www.cushingco.com/index.shtml; however, a request for cushingco.com/index.shtml will not (and the same result occurs for the other pages on the site).
You'll want something like this:
RewriteCond %{HTTP_HOST} ^cushingco.com$ [NC]
RewriteRule ^(.*)$ http://www.cushingco.com/$1 [R=301]
-
Hi Steve,
Thanks for the response! I am going to share that info with our IT department.
Have a great day!
Jon
-
You're very welcome... I'm glad I could help
