The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other HTACCESS configure Reply To: HTACCESS configure


what do you want to happen

What i want to do is change my URL’s from TO

what you did

I added the following code to my .htaccess file.
RewriteEngine On
RewriteRule ^page/([^-]*)$ /page/index.php?id=$1 [L]

what happened instead

Instead i got this error on the error log
[Tue Sep 16 03:27:17 2014] [alert] [client XX.XXX.XXX.XXX]/home/domain/public_html/ RewriteCond: bad argument line '^page/([^-]*)$', referer:

and the 500 error page on the actual site.