I have a Microsoft-based hosting account with GoDaddy currently
and to facilitate redirection I have errors redirected to an ASP script which then rewrites the
URL to point to another host and creates a frame. I need to consolidate this account with
a Linux account and this is the last thing that needs to be changed before I can transfer.
I have another Linux-based account and have tried to no avail to get an htaccess solution functional,
and am hoping someone here has some experience with GoDaddy's restrictions and implementations.
I don't redirect the entire domain, but I need to redirect (preferably in a frame) URLs as shown:
RewriteRule ^/e/([0-9]+) /e/rd2.php?rtype=e&article
RewriteRule ^/t/([0-9]+) /t/rd2.php?rtype=t&article
I think the problem lies in my PHP code for "rd2.php", which I basically pieced together ... So please take
a look at the attached and make / suggest corrections (or rewrite completely).
Note that GoDaddy's mod_rewrite appears to restrict the redirection/rewrite to reference only
files hosted on GoDaddy.
If you have access to a GoDaddy Linux host please test it out to see if it is working prior to
response. Let me know if I've omitted anything important and I'll try to respond as soon as possible...
P.S. When attempting to do this, I used the following as points of reference: