views:

35

answers:

0

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 don’t 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