Hi,
I'm trying to do a bit of a weird thing here Originally when the site was setup - it was set as "english" for the homepage, and then /french/index.html was a sub-page. However, we now want to "reverse" that (but we need to keep the other URL's the same!)
Now, these 2 works fine when used just have either the first 2, or the last 2 uncommented
It seems like whats happening, is its running the 1st rule - and then after doing that re-direct, its running the next one...
Is there a way to stop this? I've been plugging away at this for ages now, and still no closer to finding a solution
Any advice/suggestions would be much appreciated!
TIA
Andy
I'm trying to do a bit of a weird thing here Originally when the site was setup - it was set as "english" for the homepage, and then /french/index.html was a sub-page. However, we now want to "reverse" that (but we need to keep the other URL's the same!)
Now, these 2 works fine when used just have either the first 2, or the last 2 uncommented
Code:
RewriteRule ^/?$ /home/chambr22/public_html/french/index.html [L]
RewriteRule ^index\.html$ /home/chambr22/public_html/french/index.html [L]
RewriteRule ^English/$ /home/chambr22/public_html/index.html [L]
RewriteRule ^English/index\.html$ /home/chambr22/public_html/index.html [L]
It seems like whats happening, is its running the 1st rule - and then after doing that re-direct, its running the next one...
Is there a way to stop this? I've been plugging away at this for ages now, and still no closer to finding a solution
Any advice/suggestions would be much appreciated!
TIA
Andy