|
I don't think this is possible, but we'll try it anyway.
I have several sites coming from one directory, but their content is unique due to database actions.
The hard part is making the sitemap.xml unique for each of them. There are a couple ways to do this, right now I am trying to avoid making XML read PHP, which I'm about to do in a second as a hopefully temporary solution.
What I want it to do is something like this:
RewriteRule ^sitemap.xml$ /domains/%%DOMAIN_NAME%%/sitemap.xml [L,R=301]
The problem is is how to get the %%DOMAIN_NAME%% (I just threw that in there to let it be known it's a variable, is that possible?
|