2 replies
Hello,

I have a custom script that uses .htaccess for redirection

The redirection code is

RewriteRule ^link/([/_0-9a-zA-Z-]+)$ link.php?id=$1

The code was working fine in Hosgator, but it is not working
in GoDaddy.

Does GoDaddy support such redirections?

Regards,
Anup
#htaccess #issue
  • Profile picture of the author Bruce Hearder
    Originally Posted by anup.mahajan View Post

    Hello,

    I have a custom script that uses .htaccess for redirection

    The redirection code is

    RewriteRule ^link/([/_0-9a-zA-Z-]+)$ link.php?id=$1

    The code was working fine in Hosgator, but it is not working
    in GoDaddy.

    Does GoDaddy support such redirections?

    Regards,
    Anup
    I've played a bit with .htaccess, and think it might work if you dropped the ^ symbol.

    So try it with a line that is as follows :
    RewriteRule link/([/_0-9a-zA-Z-]+)$ link.php?id=$1


    Hope this helps

    Bruce
    {{ DiscussionBoard.errors[436721].message }}
    • Profile picture of the author Anup Mahajan
      Thanks Bruce..

      I'll try and let you know


      Regards,
      Anup
      Signature

      {{ DiscussionBoard.errors[436751].message }}

Trending Topics