i'm looking for a htaccess rule that can do this:
Original URL: ?til=main Replace to: /main
and if this is the scenario:
Original URL: /index.php?til=main or ?til=main Redirect to: /main
Till now i only have this code:
RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php?til=$1 [L,QSA] It loads /main but behind it loads /index.php?til=main