I would like to find a RewriteRule that does this :
mysite.net/jqMAS/ or mysite.net/jqMAS => mysite.net/index.php?id=jqMAS
I used such a .htaccess file :
RewriteEngine On RewriteRule ^(.*) index.php?id=$1 But unfortunately, it doesn't work (maybe mysite.net/index.php is itself redirected to mysite.net/index.php?index.php, etc. ?) : calling mysite.net/jqMAS produces a 500 Internal Server Error.
What RewriteRule should we use to do such URL shortening ?
Here is what the index.php page (I didn't mention the headers) looks like :
<body> Bonjour <?php echo $_GET['id']; ?> </body>
it doesn't workwhat doesn't work?error.log. I have a shared 1&1 hosting. The only logs I have are :access.log.38.7andmail.log.38.7(38 is for the week number)