I I have this website, with this structure:
RewriteRule ^/?-/([0-9]+)$ /index.php?id=$1
Error - 500
My question is not duplicated with any existed question ...
According to your request, this is your server structure:
|___ "-" (directory)
Before you make a
.htaccess file, please check your server configuration.
mod_rewrite is Off, please do as this task: How to enable mod_rewrite for Apache 2.2.
mod_rewrite is On, please put this content in your
RewriteRule ^([0-9]+)$ ?x=$1