Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IP Canonicalization #32

Open
daryakuritsyna opened this issue Jul 29, 2015 · 0 comments
Open

IP Canonicalization #32

daryakuritsyna opened this issue Jul 29, 2015 · 0 comments

Comments

@daryakuritsyna
Copy link
Member

Your site's IP 23.21.223.98 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.

In order to pass this test you must consider using a 301 re-write rule in your .htaccess file so that your site's IP points to your domain name.
If your site is running on apache server, you could put these lines in your .htaccess after RewriteEngine on line:
RewriteCond %{HTTP_HOST} ^XXX.XXX.XXX.XXX
RewriteRule (.*) http://www.yourdomain.com/$1 [R=301,L]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant