hi friends, how to solved canonical issue for static website in Google webmaster? Google always say "You may need to verify ownership of both the www and non-www versions of your domain. Because setting a preferred domain impacts both crawling and indexing, we need to ensure that you own both versions." Bcoz i don't know how to verify ownership of www and non-www versions. Please help me? Thanks in adavance
Canonical issues are a major problem of websites as long as Search Engine Optimization is concerned. If you are still unclear about website
Canonical issues are a major problem of websites as long as Search Engine Optimization is concerned. If you are still unclear about website
way to solve this canonical issue.. 301 redirection with .htaccess file is the solution. Create a .htaccess file. Open Notepad. Name it as .htaccess. Paste the below code into the notepad. You have to customize the code by replacing your own domain name. And in place of index.html you have to replace it with your home page file name. Another thing is, you have to decide whether you want www version or non www version of your cannonical url. Both are fine. But the common trend is www version. If you want non www version of your domain name just remove the www. portion from the code.
Fixing canonical issues means that you do a canonical redirect so that if someone (search engine or human) tries to go to the wrong version of your URL, they will be redirected to the correct version.
We can solve this issue by redirecting all these URLs to a single URL permanently. By uploading a .htaccess file we can easily redirect all the URLs. 1: Following is the code to redirect non www domain (http://yoursite.com/) to www domain (http://www.yoursite.com/) permanently (301): Options +FollowSymLinks RewriteEngine on RewriteCond %{HTTP_HOST} ^yoursite\.com RewriteRule ^(.*)$ http://www.yoursite.com/$1 [R=permanent,L]
You can solve your canonical issues without even verifying the ownership at WMT. Follow this link where I have described how to solve it exactly.
Yes it is. Otherwise search engines will misunderstand your site regarding duplicate content. Even though your website doesn't have any duplicate content, if the canonical issues are not solved, search engines may consider your site having duplicate content. Know more about it here. Hope it clears your confusion.
You can add <link rel="canonical" href="here the home page url"/> on home page , I think this problem will be easily remove.
I think you have to follow canonical tag.. For ex - <link rel="canonical" href="http://www.example.com/product.php?item=swedish-fish"/>
Yes, <link rel="canonical" href="CURRENT URL"/> in blogger it's automatic for wordpress and other platforms you will need to include code.It will get you better seo ranking.
I want to redirect my domain non www to www I try everyting but it's not working Hosted on Apache Can you please help me to solve it