- Summary
-
The Sitemap module is a user-friendly tool that allows users to easily create and display sitemaps on their website, with an option to use a more accessible URL like "sitemal.xml" instead of the default "/index.php?m=sitemap", which helps search engines discover site content automatically.
The WHMCS SITEMAP module is very much plug and play: add your links, save the settings and the sitemap displays on your site. The basic sitemap link lives at /index.php?m=sitemap — this works as a valid sitemap for all purposes, but a friendlier, more expected URL like sitemap.xml helps with auto-discovery by crawlers and negates the need to provide the sitemap link in your robots.txt. Add this rewrite to your site's .htaccess:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^sitemap.xml index.php?m=sitemap
</IfModule>
-
20201105016.webp
23.7 KB
· Ansichten: 0