Frequently Asked Question

Getting a Shorter URL for Feeds
Last Updated 3 months ago

Our extensions generates a longish URL for each feed that is generated for our sitemaps extension.

You can convert this long URL into a shorter URL by using .htaccess

By default, OpenCart comes with a .htaccess.txt file in it's root directory.  This file should be renamed to .htaccess by removing it's .txt extension.

You may already have renamed this file if you are using SEO URLs in your store.

To get shorter URLs for our feed, edit .htaccess in a text editor of your choosing.

You should see that there is already a RewriteRule in the file for Google Sitemaps, so you can easily edit that rule to use our feed link instead, or you can create your own rule

For Example

Default line for sitemap.xml using the default OpenCart extension

RewriteRule ^sitemap.xml$ index.php?route=extension/feed/google_sitemaps [L]

Can be changed to:

RewriteRule ^sitemap.xml$ index.php?route=extension/feed/uksb_sitemaps&store=0 [L]


Once done, visiting yourdomain.com/sitemap.xml will render our sitemap feed

Please Wait!

Please wait... it will take a second!