Hi all not sure why this is not working URL: http://www.domain.com/hello-word-1.html htaccess: RewriteRule ^([-A-Za-z0-9-]+)-([0-9]+).html?$ /browse.php?c=$1 [L] RewriteRule ^([-A-Za-z0-9-]+)-([0-9]+).html([0-9]+)\.html$ /browse.php?c=$1&page=$3 [L] Code (markup): any help are very appreciate
Hello, you want it to be working http://www.domain.com/hello-word-1.html and passing to script arguments to browse.php?c=hello-word-1 so rewrite may be RewriteRule ^/([A-Za-z0-9\-]+)\.html$ /browse.php?c=$1 [L] Code (markup): but keep in mind that command will redirect everything at root of your domain to that script.