Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Website and Server Administration Forum


You are currently viewing our Website and Server Administration Forum as a guest. Please register to participate.
Login



Reply
Weird htaccess problem with 301 redirect
Old 11-08-2010, 10:23 PM Weird htaccess problem with 301 redirect
Junior Talker

Posts: 1
Name: Lucky
Trades: 0
I want to redirect a certain foler back to root folder.

For example:
http://www.domain.com/folder/file.php?arguments=etc
redirects (301) to
http://www.domain.com/file.php?arguments=etc

I tried

Rewriterule ^/folder/(.*)$ $1 [R=301,L]

but when I try http://www.domain.com/folder/file.php?arguments=etc
it becomes
http://www.domain.com/home/username/...?arguments=etc
which is really WEIRD!

How do I fix this?
Also, I have multiple domain names, so it must work with multiple domain names.

I tried lots of combinations, and they do not work, sometimes I get 500 error.
Help.. thanks
fbauto1 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Reply     « Reply to Weird htaccess problem with 301 redirect
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.07774 seconds with 12 queries