Code: Select all
RewriteEngine on
RewriteRule ^sitemap$ index.php?route=information/sitemap [R=301,L]
Code: Select all
RewriteEngine on
RewriteRule ^sitemap$ index.php?route=information/sitemap [R=301,L]
Thanks & Regards
Diwakar
SEO Freelancer Delhi - India
diwakar007 wrote:I also tried this one
but it doesn't work.Code: Select all
RewriteEngine on RewriteRule ^sitemap$ index.php?route=information/sitemap [R=301,L]
cue4cheap not cheap quality
Cue4cheap wrote:diwakar007 wrote:I also tried this one
but it doesn't work.Code: Select all
RewriteEngine on RewriteRule ^sitemap$ index.php?route=information/sitemap [R=301,L]
How about trying:
RewriteRule ^sitemap.xml$ /index.php?route=feed/google_sitemap
Mike
Thanks & Regards
Diwakar
SEO Freelancer Delhi - India
Our new Opencart Extension:
AI Assistant - automatic product and category text generator
frank79 Just did it and it works just fine! thanks!frank79 wrote: ↑Sun Dec 11, 2016 11:20 pmFor the ones that have troubles with redirecting SEO urls, I have read about the question mark (?) trick, but the way to go is to work with the query variable _route_ :
In your htaccess, find the line:
RewriteBase /
And just after that copy and paste this rule, replacing old-seo-url and new-seo-url with your urls:
RewriteCond %{QUERY_STRING} _route_=OLD-SEO-URL
RewriteRule ^index\.php$ /NEW-SEO-URL? [R=301,L]
Users browsing this forum: Amazon [Bot] and 141 guests