We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Sitemap problem | Forum

Elvis
Elvis Apr 13 '16
Hello,

i'm trying to submit the sitemap to my Google Webmaster tools but i recived the folowing message from my hoster,can i have any help here?


I have accessed your Google Webmaster tools account -> clicked on the "ehotc.com" domain name -> Crawl -> Sitemaps and submitted the sitemap. However the Google have returned an error because the sitemap is not processed as .xml file but as .html. I have noticed that when I access your website:

• http://ehotc.com/

I am being redirected to:

• http://ehotc.com/?wl=1

Respectively the Google crawler is accessing the sitemap at:

• http://ehotc.com/sitemap.xml?wl=1

and the same is unable to process the sitemap. Notice that the issue is caused due to the coding of the application and not due to the hosting environment. In order to remove the "?wl=1" from the request I could recommend you to contact a local certified web developer.

Hàn Thiện Hậu
Hàn Thiện Hậu Apr 13 '16
elvis. your web very beautiful. how u can do that. u sure great
ross Team
ross Apr 13 '16
Elvis, this ?wl=1 is added in the url via the plugin. I believe it is some addthis plugin or share plugin, disable plugins one by one and see if the issue persists. 
Elvis
Elvis Apr 14 '16
Hello Ross,

i've got addthis on my website but is only a script, i'm not using any sharing plugin,you think that a script can cause that? At the begining i tought that was someting related with the languages (website translation).

ross Team
ross Apr 14 '16
No it's not related to the languages. Remove all 3rd party plugins and code you have on your website and see if this removes ?wl=1 from the url
Elvis
Elvis Apr 15 '16
I just solved the problem, looks like the platform have some problems to handle "sitemap.xml" files, so i created another sitemap but in .html that was accepted by google.

Thank you for the support Ross.

The Forum post is edited by Elvis Apr 15 '16
Elvis
Elvis Apr 15 '16
Thank you Han, we appreciate that.
ross Team
ross Apr 17 '16

Ok, Just in case, if you add new file to the server and you want it to be visible via url, you should add a condition in the root .htaccess file. Like this : Paste RewriteCond %{REQUEST_URI} !^/sitemap\.xml under RewriteCond %{REQUEST_URI} !^/index\.php and above RewriteCond %{REQUEST_URI} !/ow_updates/index\.php

Elvis
Elvis Apr 18 '16
Thank you for the info, i will take a look at that and make some testes.
The Forum post is edited by Elvis Apr 18 '16