![]() |
.htaccess redirect a folder within a folder
Hi All,
I have a folder within a folder that needs redirecting, for example: http://www.domain.com/directory/folder1 which needs re-directing to http://www.domain.com/directory/folder2 and have been using the following code: Code:
Options +FollowSymLinksAny ideas how to fix this? |
people love rewrite these days... ;)
if you want redirect http://example.com/testdir/dir1/ to http://example.com/testdir/dir2/ you put yhis in .htaccess : Code:
Redirect 301 /testdir/dir1/ /testdir/dir2/Redirect for redirecting |
Hi patryk
Thanks for that, much appreciated and I always get my rewrites and redirects confused ;) |
| All times are GMT +1. The time now is 04:05 AM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.