Resource icon

WHMCS SITEMAP 2020-11-05

No permission to download
the Sitemap module is very much plug and play, all you need to do is add your links, save the settings and the sitemap will be displayed on your site.


The basic sitemap link provided is at /index.php?m=sitemap. This will function as a valid sitemap for all purposes, but you may wish to use a more friendly and expected url like sitemal.xml.


This can help with auto discovery by crawlers and negates the need to provide the sitemap link in your robots.txt file.


To do so can add the following rewrite to your sites .htaccess file.

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^sitemap.xml index.php?m=sitemap
</IfModule>
20201105015.jpg
  • 20201105016.jpg
    20201105016.jpg
    110.6 KB · Views: 0
  • Like
Reactions: intempo and Ajay
Author
neasel
Views
162
First release
Last update
Rating
0.00 star(s) 0 ratings