I've recently started implementing url rewriting in my site and I have ran into a problem:
First of all, I'm trying to rewrite http(s)://podaci.selfip.net/hr/moj_račun to http(s)://podaci.selfip.net/hr/[user_name]/moj_račun but it looks for all the linked files under the username's folder. I don't want to write exact urls because I don't want to force the use (or lack of use) of ssl.
What I have in .htaccess is:
Code:order allow,deny Allow from all Options -Indexes DirectoryIndex naslovnica RewriteEngine on RewriteRule ^naslovnica$ naslovnica.php RewriteRule ^moj_račun user_personal.php RewriteRule ^([^/\.]+)/moj_račun$ ../hr/moj_račun?name=$1


LinkBack URL
About LinkBacks

Reply With Quote
icon below! (this is even better than "liking" a post)
