Results 1 to 4 of 4
Sep 22, 2013, 11:02 #1
- Join Date
- May 2011
- 0 Post(s)
- 0 Thread(s)
htaccess - silent redirection from one directory to another
I'm newbie with apache configuration. I try to achieve the functionality in which the user type in browser: mysite.com/projects and is silently redirected to the directory : mysite.com/projects/sub1/sub2/index.html.
My htaccess file residing within the root directory:
RewriteRule ^projekty/(.*)$ http://3d-webstudio.com/projects/sub1/sub2/index.html$1 [R=301,L]
Unfortunately with the above code the user sees the redirection. So what am I doing wrong?