Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
1.2k views
in Plugins by

Hello

I have a problem with my sitemap. When i submit it to Google Webmaster Tools i receive this error:

 
image
Errors
Invalid URL
This is not a valid URL. Please correct it and resubmit.

It seems to be a problem with site_url . In my sitemap file it looks like this:

<url>

<loc>/1/this-is-my-first-question</loc>

<priority>0.999610340365</priority>

</url>

and it should look like this:

 

<url>

<loc>http://www.techwarn.com/help/1/this-is-my-first-question</loc>

<priority>0.999610340365</priority>

</url>

 

My sitemap is here: techwarn.com/help/sitemap.xml . Please take a look.

Please help me. Thank you

1 Answer

+2 votes
by

Check in the Admin--->General section the value of the "Preferred site URL" field.

it should be equal to : http://www.techwarn.com

 
by
Thank you. But i generated a sitemap online. Is this a problem? Or should i use sitemap generated by sitemap plugin.
by
Ok. I don't know with which tool you've generated it, but the sitemap plugin generates the sitemap dinamically for you at every invocation. So it's always up to date (and not static)
...