I'm having issues rewriting URLs to not display .php in the url.
I'm trying the following:
Change it to:
Here's my existing code in my .htaccess (I placed that redirect to check if the file was working and it is indeed)
redirect 301 /filename.html http://rooturaj.com
RewriteRule ^buy-([0-9]+)\.html$ buy.php?package_id=$1
The only thing I can think of is that these pages are running on SSL.. but not sure how to fix it if that's the case?
Hope someone can help,