Blog, Website & Page Publishing

ekpierce
Contributor | Elite Partner
Contributor | Elite Partner

Sitemap.xml not indicated in robots.txt

SOLVE

This is an error from SEMrush. How do I fix this on a HubSpot site?

1 Accepted solution
MiaSrebrnjak
Solution
Community Manager
Community Manager

Sitemap.xml not indicated in robots.txt

SOLVE

Hi @ekpierce,

 

I did a bit of research and found a similar case in our tickets, this was the solution: 

In a robots.txt file, you should include a full path to your sitemap file (which is also located at the root level). To avoid getting an error for this line in your robots.txt file in SEMrush, please add this exact path to your robots.txt file (including the "Sitemap:"):  

 

Sitemap: https://www.YOUR_DOMAIN_HERE.com/sitemap.xml 

 

 

I hope this helps!

 

Cheers
Mia, Community Team


Wusstest du, dass es auch eine DACH-Community gibt?
Nimm an regionalen Unterhaltungen teil, indem du deine Spracheinstellungen änderst


Did you know that the Community is available in other languages?
Join regional conversations by
changing your language settings

View solution in original post

0 Upvotes
3 Replies 3
MiaSrebrnjak
Solution
Community Manager
Community Manager

Sitemap.xml not indicated in robots.txt

SOLVE

Hi @ekpierce,

 

I did a bit of research and found a similar case in our tickets, this was the solution: 

In a robots.txt file, you should include a full path to your sitemap file (which is also located at the root level). To avoid getting an error for this line in your robots.txt file in SEMrush, please add this exact path to your robots.txt file (including the "Sitemap:"):  

 

Sitemap: https://www.YOUR_DOMAIN_HERE.com/sitemap.xml 

 

 

I hope this helps!

 

Cheers
Mia, Community Team


Wusstest du, dass es auch eine DACH-Community gibt?
Nimm an regionalen Unterhaltungen teil, indem du deine Spracheinstellungen änderst


Did you know that the Community is available in other languages?
Join regional conversations by
changing your language settings

0 Upvotes
ekpierce
Contributor | Elite Partner
Contributor | Elite Partner

Sitemap.xml not indicated in robots.txt

SOLVE

Thank you Mia! Just tried it and going to rerun the campaign. Will let you know if it worked!

0 Upvotes
Jani_Aaltonen
Participant | Diamond Partner
Participant | Diamond Partner

Sitemap.xml not indicated in robots.txt

SOLVE

Did you got this working? 

0 Upvotes