Answer the question
In order to leave comments, you need to log in
Should I add a redirect 301?
I have a wordpress blog, wordpress is installed on ukraine.com hosting. When I enter www.site.com into the address bar, I am redirected to site.com when checking the server response in Yandex. Webmaster - writes "code - 301 Moved Permanently", but the hosting does not enable automatic redirection (writes "Attention! It is not recommended to use this function for sites on Wordpress, since this system uses an internal redirect.").
The .htaccess file also does not specify anything about the 301 redirect, but everything works. In Google, when you enter site:www.site.com - 0 pages, when you enter site:site.com - all. What does it mean: Wordpress redirects itself (where can I see it)? Should I add a 301 redirect to the .htaccess file?
Answer the question
In order to leave comments, you need to log in
Yes, it’s worth it, especially if you don’t know where it came from, and it can probably disappear in the same way. Therefore:
1) write a redirect from the www version to the non-www version in htaccess
2) Specify the Host directive in robots.txt for yandex: to the non-www version of the site.
3) Set the GSC (WMT) version of the non-www version of the site as a priority
4) Generate a sitemap.xml version for the non-www version of the site
5) Try to get rid of 301 redirects within the site (links that point to the www version of pictures, pages, etc. )
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question