So I want to have clean URLs for my hand coded site. Insted of
myshittysite.com/category.php?category=something
something like
myshittysite.com/category/something.html
I created .htaccess file in the root of add-on domain
Inside I wrote something like that (that is ALL my htaccess file contains):
RewriteEngine On
RewriteRule ^category/([^/]*)\.html$ /category.php?category=$1 [L]
It doesn't work. If the problem is with my code inside htaccess I would be happy to work on it.
But if it something with hosting setting (possible?) or add-on domain (does it make any difference for htaccess?) than.. I don;t know.
Any help much appreciated, thanks.
myshittysite.com/category.php?category=something
something like
myshittysite.com/category/something.html
I created .htaccess file in the root of add-on domain
Inside I wrote something like that (that is ALL my htaccess file contains):
RewriteEngine On
RewriteRule ^category/([^/]*)\.html$ /category.php?category=$1 [L]
It doesn't work. If the problem is with my code inside htaccess I would be happy to work on it.
But if it something with hosting setting (possible?) or add-on domain (does it make any difference for htaccess?) than.. I don;t know.
Any help much appreciated, thanks.