Good afternoon! The online store was transferred to the main domain trudovik.com.ua and opened for indexing https://trudovik.com.ua/robots.txt [file]7232[/file]
But the crm system on the box.trudovik.com.ua/robots.txt subdomain is also open for indexing [file]7233[/file]
How can this be fixed?
Good afternoon! The online store was transferred to the main domain trudovik.com.ua and opened for indexing https://trudovik.com.ua/robots.txt But the crm system on the box.trudovik.com.ua/robots.txt subdomain is also open for indexing How can this be fixed?
Evgeny Kruglov wrote: Good afternoon! The online store was transferred to the main domain trudovik.com.ua and opened for indexing https://trudovik.com.ua/robots.txt But the crm system on the box.trudovik.com.ua/robots.txt subdomain is also open for indexing How can this be fixed?
for each host put separate robots.txt files in the root of the project for example like this: robots_trudovik.com.ua.txt robots_box.trudovik.com.ua.txt depending on the host from which you are accessing, the system will pull up one or another robots.txt file and issue it when accessing /robots.txt
[quote]
Evgeny Kruglov wrote:
Good afternoon! The online store was transferred to the main domain trudovik.com.ua and opened for indexing https://trudovik.com.ua/robots.txt [file]7232[/file]
But the crm system on the box.trudovik.com.ua/robots.txt subdomain is also open for indexing [file]7233[/file]
How can this be fixed?
[/quote]
for each host put separate robots.txt files in the root of the project
for example like this:
robots_trudovik.com.ua.txt
robots_box.trudovik.com.ua.txt
depending on the host from which you are accessing, the system will pull up one or another robots.txt file and issue it when accessing /robots.txt
Created two files robots_trudovik.com.ua.txt and robots_box.trudovik.com.ua.txt along the path /var/www/boxtrudovikcomu/web1/web I wrote down the rules for one open to indexing, for the other closed. But if you go to the addresses box.trudovik.com.ua/robots.txt and trudovik.com.ua/robots.txt, the same rule for closing from indexing is displayed.
Created two files robots_trudovik.com.ua.txt and robots_box.trudovik.com.ua.txt along the path /var/www/boxtrudovikcomu/web1/web
I wrote down the rules for one open to indexing, for the other closed. But if you go to the addresses box.trudovik.com.ua/robots.txt and trudovik.com.ua/robots.txt, the same rule for closing from indexing is displayed.
Good afternoon! Created files at /var/www/boxtrudovikcomu/web1/web In both, I set the opening for indexing, since it is impossible to close one domain from indexing
Good afternoon! Created files at /var/www/boxtrudovikcomu/web1/web
In both, I set the opening for indexing, since it is impossible to close one domain from indexing
Evgeny Kruglov wrote: Good afternoon! Created files at /var/www/boxtrudovikcomu/web1/web In both, I set the opening for indexing, since it is impossible to close one domain from indexing
1. you can not make files from under root 2. now you need to register on the server the change of the project host depending on the URL if you want i can set it up in 1h everything
[quote]
Evgeny Kruglov wrote:
Good afternoon! Created files at /var/www/boxtrudovikcomu/web1/web
In both, I set the opening for indexing, since it is impossible to close one domain from indexing
[/quote]
1. you can not make files from under root
2. now you need to register on the server the change of the project host depending on the URL
if you want i can set it up in 1h everything
Please join the conversation. If you have something to say - please write a comment. You will need a mobile phone and an SMS code for identification to enter.
Log in and comment
Donate
You don't have enough funds in your account Top up