English (United Kingdom)
Jms Multi Site, formerly joomla multisite.
Create, share multiple joomla sites in few clicks !
Message
  • EU e-Privacy Directive

    This website uses cookies to manage authentication, navigation, and other functions. By using our website, you agree that we can place these types of cookies on your device.

    View e-Privacy Directive Documents

Welcome, Guest
Please Login or Register.    Lost Password?
Go to bottomPage: 1
TOPIC: Sitemap for each site
#2978
Sitemap for each site 14 Years, 11 Months ago Karma: 0
Hi,

How do I do if I would like to have a sitemap (sitemap.xml) for each of my sites, as the site map is required to be in the root directory I can only have one..

Thanks for a great extension!
chrisrex
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#2979
Re: Sitemap for each site 14 Years, 11 Months ago Karma: 54
1) Solution when sharing the same root directory.

NO it is possible to have several sitemap for the different websites event when you share the same root directory.

See the www.jms2win.com/sitemap.xml and www.faq2win.com sitemap.
They are two slaves sites with different sites map.

In our case, we are using XMap to produce the site map.

In the .htaccess, we have added a rule to redirect the sitemap.xml withthe appropriate xmap processing.

RewriteCond %{REQUEST_URI} ^/sitemap.xml
RewriteRule (.*) index.php?option=com_xmap&sitemap=1&view=xml&no_html=1#

2) Solution when deploying a slave site into a specific (root) directory

If you want to create your own XML file, I remember you that you can deploy slave site into a specific directory.
In this case, this mean that you have as many root directory as you have website.
edwin2win
Moderator
Posts: 5370
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1
get the latest posts directly to your desktop
2Win, Multisite(s) are trademarks of Edwin2Win.
Joomla