Hi,
I have set the sitemap. But I get an error from google. They want to http://www.example.nl/......
But my sitemap generates http://example.nl/......
does any one know how to change this ?
many thanks
Rob
Hi,
I have set the sitemap. But I get an error from google. They want to http://www.example.nl/......
But my sitemap generates http://example.nl/......
does any one know how to change this ?
many thanks
Rob
hi... i get that problem too...
what i did. is to edit the sitemap file... and to put the www in the front... and the up again to the server...
greetings
Thanks,
but if you update website and I have a webshop than the sitemap get a update by the cron job.
So I add artikels to the webshop or the site so at a daylay base the sitemap get a update to.
Is it posible whit a setting ?
greetings
Rob
As a solution, go to Goole Webmaster, then remove your siteand add new asCode:www.your-site.com- without www.Code:your-site.com
Then in Sitemaps section add your sitemap.
P.S.: it works, but prefix www should be auto-generated in Contao. I don't know how to do this without coding. So, if someone knows how to, please, write the answer.Code:your-site.com/sitemap.xml
When you are loged in at your side with www. and you remake your xml, you will have www.bla.com in your xml-File ;-)
regards
Mediendepot Ruhr
For real-time chat the (inofficial) Chatroom in IRC:
-> irc.freenode.net #contao | irc.freenode.net #contao.de
:P
Tanks,
it's soo easy
You can also edit .htaccess file
by removing # from last tow line and replaceing domain.com with your own.Code:## # Uncomment the following lines and replace "domain.com" with your domain # name to redirect requests without "www" to the correct domain. ## #RewriteCond %{HTTP_HOST} ^domain\.com [NC] #RewriteRule (.*) http://www.domain.com/$1 [R=301,L]
It slove your problem forever in you want to have www in your website domain.
Hamid Abbaszadeh
https://respinar.com
Hello,
I am having similar problems and they are causing Webmaster tools to report that none of our URLs are in the index even though I can clearly see that we have 1,390 results in the index when I search google with the "site:" prefix.
Our .htaccess file is set up with the correct redirect rule so that visitors reach the www version of the site, and in the settings of the root page we have the "Add www. to domain name" option checked.
I have logged into the www version of the site and disabled and enabled the sitemap, and even purged data from the maintenance page, but none of that helped - my sitemap is still being generated with out the www part of the domain.
I have no problem editing a fie if that's necessary, but have no idea what file to edit, or even what part to edit.
Please help!
Greg
Okay, I finally figured out that if I leave the website blank in the DNS settings of the website root that the correct URLs get created in the sitemap.xml file.
Not very intuitive, but it works!
Bookmarks