Home rewritting url for replicated sites using htaccess
 I'm having a problem rewriting the URL of a replicated site. a replicated site has this format: https://domainname/sitename so if you go into a subdirecotry in the system, url should look like this: https://domainname/sitename/sub1 What I've tried so far is doing this: RewriteCond %{REQUEST_URI} !^(.+)/index(.+)$RewriteRule ^(.+)/(.+)$ index.php?_route_=\$2 [PT,L] which solves this format: https://domainname/sitename/sub1. But after putting up that rule it no longer accepts this https://domainname/sitename any advice here?