I am in a situation where the first directory is sometimes erroneously repeated and I need to fix this in .htaccess but my rule, though it looks correct, does not seem to work.
domain.com/beijing/beijing/index.php?do=a
should be :
domain.com/beijing/index.php?do=a
RewriteRule ^beijing/beijing/index.php /beijing/index.php [R,L]
- tia