Results 1 to 3 of 3

Thread: [How To] redirect a file to another url

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Scott's Avatar
    Scott is offline Certified Glow Sage
    Join Date
    Oct 2006
    Posts
    27

    Default

    This seems simple enough however, when I apply the redirect and then test it, I keep getting a 404.

    Here is a list of the current redirect:
    /pubs/newsletters/newsletter-sign-up-allmar-technologies.php >> http://www.allmartech.com/lists/index.php?p%3Dsubscribe

    Any suggestions would be helpful.
    Thanks
    Last edited by Scott; 06-04-2007 at 11:43 PM.

  2. #2
    Scott's Avatar
    Scott is offline Certified Glow Sage
    Join Date
    Oct 2006
    Posts
    27

    Default

    It appears I found the trouble. cPanel mod'd the htaccess file with a RedirectMatch, I went and manually changed the htaccess file to a RedirectPermanent and everything appears to be working.

    Im sure the RedirectMatch would work under normal circumstances, however, I was redirecting to an URL where I was passing args and I suspect this was messing with the preg. I also converted chars to their ebcdic values and that did not work either.

    This might save someone else some time later.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14