Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Long URL redirects

Discussion in 'General Discussion' started by timman, May 3, 2005.

  1. timman

    timman Registered

    Joined:
    Jan 26, 2005
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    151
    I am trying to redirect a domain to a particularly long URL address such as http://c.fsx.com/c?z=494,105767,40,viv_ppj,http://ppj.vivid.com
    but cpanel cuts off the last 1/3rd of the address and puts it in parenthesis which renders the redirect dead.

    Does anyone know how to use a long redirect URL???

    Any help would be greatly appreciated!!! Thanks.

    Big Dog

    :confused:
     
  2. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,777
    Likes Received:
    93
    Trophy Points:
    353
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    if you edit the .htaccess file manually it should work for you
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. nitin bansal

    nitin bansal Member

    Joined:
    Apr 27, 2005
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    151
    And here are the entries:::::

    RewriteCond %{HTTP_HOST} ^Source URL$ [OR]
    RewriteCond %{HTTP_HOST} ^www.source URL$
    RewriteRule ^(.*)$ Destination URL [R=301,L]
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice