Page 1 of 1

No Sitemap.xml or Robots.txt

Posted: Thu Sep 17, 2015 12:49 am
by litecoinstore
Please help, I have already wasted 5 hours trying to solve this.

I try to submit a sitemap to Google Search Console, but nothing seems to work.
I tried the default sitemap URL, sitemap.xml, I tried several plugins, but nothing seems to work.
I get different errors; no sitemap found, sitemap is HTML - submit a different format, connection/network timeout, etc.

I did everything suggested in similar question threads, but nothing worked.

I have already enabled Google Sitemap in Product Feeds and updated the the .htaccess file.

I have NO sitemap.xml or robots.txt file in my root directory.

Someone please help..

Re: No Sitemap.xml or Robots.txt

Posted: Thu Sep 17, 2015 8:40 pm
by deepvision
You should go to
Extensions -> Product Feeds
Enable Google sitemaps and use the URL provided there.
Also you should make sure there is the following code in your .htaccess file:

Code: Select all

# SEO URL Settings
RewriteEngine On
# If your opencart installation does not run on the main web folder make sure you folder it does run in ie. / becomes /shop/ 

RewriteBase /
RewriteRule ^sitemap.xml$ index.php?route=feed/google_sitemap [L]
RewriteRule ^googlebase.xml$ index.php?route=feed/google_base [L]
RewriteRule ^download/(.*) /index.php?route=error/not_found [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !.*\.(ico|gif|jpg|jpeg|png|js|css)
RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA]


Re: No Sitemap.xml or Robots.txt

Posted: Sun Apr 10, 2016 9:34 am
by guessme
HI,

Even I also getting same problem. And tried a lot to solve it but still there is a problem in sitemap.

When I'm checking my sitemap then product information is coming...in text format.
And in robots file there is no any coding. In my robots file I got this below

#Begin Attracta SEO Tools Sitemap. Do not remove
sitemap: http://cdn.attracta.com/sitemap/4577365.xml.gz
#End Attracta SEO Tools Sitemap. Do not remove

Re: No Sitemap.xml or Robots.txt

Posted: Mon Apr 11, 2016 3:39 pm
by xproecommerce
Hi,

If you still have the same problem, kindly provide your portal URL.
I ll check and update you.

Thanks
mahe
Xproecommerce

Re: No Sitemap.xml or Robots.txt

Posted: Wed Apr 13, 2016 2:47 am
by guessme
Hi,

Thanks.
Www.ladycart.in is my url