Current location: Hot Scripts Forums » General Web Coding » HTML/XHTML/XML » Permanent 301 Redirect to new Domain's URL giving me problems in .htaccess

Permanent 301 Redirect to new Domain's URL giving me problems in .htaccess

Reply
  #1 (permalink)  
Old 03-10-06, 11:58 AM
cebuy cebuy is offline
Newbie Coder
 
Join Date: Jun 2003
Posts: 78
Thanks: 0
Thanked 0 Times in 0 Posts
Permanent 301 Redirect to new Domain's URL giving me problems in .htaccess

I want to permanently redirect an html page to a dynamic url residing on another server. Problem is that it changed the "?" in the url to %3f

here was my code in htaccess...

RedirectMatch permanent ^/Medishare.html$
http://www.mydomain.com/landing/?ref=eld0007-em0001

when redirected it goes to this url...
http://www.mydomain.com/landing/%3fref=eld0007-em0001

For some reason it is changing ? to %3f. What do I do to change this to make it resolve correctly?

Thanks!
__________________
Thanks!
Chris Chandler
WebMaster of:
Loan Quote, Christian eBuy, & North Alabama,
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #2 (permalink)  
Old 03-10-06, 10:34 PM
YourPHPPro's Avatar
YourPHPPro YourPHPPro is offline
Community VIP
 
Join Date: Aug 2003
Posts: 430
Thanks: 0
Thanked 0 Times in 0 Posts
Not a php issue so I'll move to appropriate forum...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump


All times are GMT -5. The time now is 06:16 AM.
vBulletin® Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.