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


This isn’t working. I tried this code but it didnt work either.

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^([a-zA-Z0-9_-]+)$ index.php?id=$1
RewriteRule ^([a-zA-Z0-9_-]+)/$ index.php?id=$1

I have my htaccess file in the plublic_html directory, and my parked domain filesystem, where i want to change the url. Done i try linking the index.php file to its actual location?
like so.

&lt;IfModule mod_rewrite.c&gt;
RewriteEngine On
RewriteRule ^([a-zA-Z0-9_-]+)$$1
RewriteRule ^([a-zA-Z0-9_-]+)/$$1

That also didn’t work. I don’t understand what htaccess is meant for.