Okay, so I have a file named tagging.php that links to itself. Sometimes, it needs to pass itself an ID.
I wanted a URL like:
website/tagging/8
instead of:
website/tagging.php?id=8
I'm not sure what's wrong with my rewrite rule:
RewriteRule ^tagging/([0-9]+)$ tagging.php?id=41 [NC, L]
Any ideas?
Hi,
i need a help.already we have mode rewrite rule RewriteRule ^(.*).html$ index.php?set=$1
this rule change html url to php now in this i need to add a condition https redirect how with this existing condition can i add new feature.
I tried to changed htaccess file but after my change my site not working properly.
My old htaccess working correctly new one not working.
my project is zend frame work plzz help
Old one
RewriteEngine On
RewriteRule ^(.*).html$ index.php?set=$1
New One
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
RewriteRule ^(.*).html$ index.php?set=$1
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.