2 replies
  • SEO
  • |
Hi all,

Just wondered if anyone can shed any light on this.

I used seo site checkup to run a seo check on my site and one of the issues was the url canonicalization and ip address.
"Your site's IP 79.170.44.87 does not redirect to your site's domain name. This could cause duplicate content problems if a search engine indexes your site under both its IP and domain name."

The advice was to add some text in the htaccess file underneath the rewriteengine on line (RewriteCond %{HTTP_HOST} ^XXX\.XXX\.XXX\.XXX RewriteRule (.*) http://www.yourdomain.com/$1 [R=301,L])
xxxxx cganed for correct text

which I did but it's still telling me there is a problem.
Is there any other way of fixing this and does it really make a difference to the seo?

Thanks in advance
#canonicalization #url
  • Profile picture of the author sareepix
    Hi,

    Recently i also faced similar problem.

    I resolved it by following steps given in below link

    set up canonical URL on plesk-How to

    You don't need to write something into .htaccess file. Reply me, if you still have the problem.
    {{ DiscussionBoard.errors[9539182].message }}
  • Profile picture of the author LuckyIMer
    The redirect you used is correct and normally should work, you can test it by visiting the IP address, it should redirect to your website.

    If not, you can try:
    RewriteCond %{REMOTE_ADDR} ^xx\.xx\.xx\.xx$
    RewriteRule ^(.*)$ http://www.domainname.com/$1 [L,R=301]

    Or you can ask your host to help you.
    {{ DiscussionBoard.errors[9539792].message }}

Trending Topics