about 10 years ago
Hello reader!
In this Blog I will cover the topic, Canonical Issue, There Consequences and how to Resolve and get rid from such issues.
So lets first start with,
When the same content is displayed by the one website in different url then there is a canonical issue. For example- your website is abc.com and while entering the url in browser by www.abc.com and abc.com (without www) it show same content without redirecting it to abc.com or www.abc.com means that one should be the preferred url either www Or without www.
In such case Search Engine (Google, Yahoo, Bing etc) index both the pages one which includes www and other one without www (www.abc.ocm and abc.com) separately which will lead to content duplicacy and will penalize the webpage.
To resolve such issue you have to make one preferred url either www or without www.
For example if you take a preferred url www.abc.com and user enter directly abc.com in browser it will be redirected to www.abc.com.
Now the question comes how to make one preferred URL
To make one preferred url web developer have to implement (301 redirect code) URL Redirection via code htaccess redirect in at backend of the website and set the status as "moved permanently".
With the below code you can create a .htaccess file, which will ensure that all requests coming to i.e abc.com will get redirected to www.abc.com. The .htaccess file needs to be placed in the root directory of your old website (i.e the same directory where your index file is placed)
Please use or take abc.com and www.abc.com with your actual domain/url name.
For more help please visit the web link below
http://www.webconfs.com/how-to-redirect-a-webpage.php
Can you help out the community by solving one of the following Digital Marketing problems?
Do activity (Answer, Blog) > Earn Rep Points > Improve Rank > Get more opportunities to work and get paid!
For more topics, questions and answers, please visit the Tech Q&A page.
0 Comment(s)