|
-
August 18th, 2009, 02:54 PM
#1
.htaccess redirection
What am I doing wrong? I cannot figure out when this is throwing a server error. It should redirect anyone going to to www.example.com/folder to www.example.com/folder.php.
Code:
RewriteCond %{REQUEST_URI} ^/folder [NC]
RewriteRule ^(.*)$ http://www.example.com/folder.php [L,R=301]
If the post was helpful...Rate it! Remember to use [code] or [php] tags.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|