Post by dpol215 » Mon May 13, 2013 3:49 am

I uploaded my own generated sitemap.xml file to my public..html root directory for my site and I cannot see the page when I visit http://www.mydomain.com/sitemap.xml .

I followed instructions from older thread topic to comment out the rewrite condition that points to the sitemap file that opencart comes with but I had no success and http://www.mydomain.com/sitemap.xml still shows a blank page:

RewriteRule ^googlebase.xml$ index.php?route=feed/google_base [L]


Please help :'(

New member

Posts

Joined
Fri Feb 01, 2013 4:15 pm

Post by victorj » Mon May 13, 2013 5:33 am

open your .htaccess

find:

Code: Select all

RewriteBase /
RewriteRule ^sitemap.xml$ index.php?route=feed/google_sitemap [L]
replace with:

Code: Select all

RewriteBase /
# RewriteRule ^sitemap.xml$ index.php?route=feed/google_sitemap [L]
now your uploaded sitemap should be accessible

Koeltechnische deurrubbers eenvoudig online op maat bestellen.
Alle niet stekplichtige onderdelen zoals scharnieren, sloten, randverwarming en verlichting voor alle typen koelingen en vriezers.
https://koelcel-onderdelen.com


User avatar
Expert Member

Posts

Joined
Sat Jun 25, 2011 4:09 am
Location - Alkmaar Holland

Post by dpol215 » Mon May 13, 2013 6:24 am

As I stated in my intro I already tried that.

I did this:

find:

Code: Select all

RewriteBase /
RewriteRule ^sitemap.xml$ index.php?route=feed/google_sitemap [L]
replaced with:

Code: Select all

###RewriteRule ^sitemap.xml$ index.php?route=feed/google_sitemap [L]
This did not work! How can I fix this?

New member

Posts

Joined
Fri Feb 01, 2013 4:15 pm

Post by dpol215 » Mon May 13, 2013 6:27 am

I'm sorry nevermind. I had the wrong line commented out. It works fine. Thank you.

New member

Posts

Joined
Fri Feb 01, 2013 4:15 pm

Post by shananpk » Wed Aug 14, 2019 5:35 pm

;D It works fine. Thank you.

Newbie

Posts

Joined
Wed Aug 14, 2019 5:30 pm

Post by ahimanshu » Fri Oct 09, 2020 2:29 am

victorj wrote:
Mon May 13, 2013 5:33 am
open your .htaccess

find:

Code: Select all

RewriteBase /
RewriteRule ^sitemap.xml$ index.php?route=feed/google_sitemap [L]
replace with:

Code: Select all

RewriteBase /
# RewriteRule ^sitemap.xml$ index.php?route=feed/google_sitemap [L]
now your uploaded sitemap should be accessible
Thanks work for me.

Regards
Himanshu


User avatar
New member

Posts

Joined
Mon Jul 10, 2017 10:55 am
Location - New Delhi
Who is online

Users browsing this forum: No registered users and 370 guests