mod rewrite and automatic redirection
- by Klemen
Hello!
I have this rule written in my .htaccess
RewriteRule ^blog/([0-9]+)/? /obdelaj.php?ime=$1
which works but it redirects me to example.com/obdelaj.php?ime=# and i want the user to stay on example.com/blog/#
I have a hostgator account and i dont have access to the httpd file , and i presume that a some configuration in httpd file is causing this, because on my localhost machine this work just fine.
So what would i have to add to the .htaccess to overwrite this automatic redirection?
Thank you