Closed Thread
Results 1 to 2 of 2

Thread: Redirect Problem

  1. #1
    tenx23 is offline x10Hosting Member tenx23 is an unknown quantity at this point
    Join Date
    Mar 2011
    Posts
    25

    Exclamation Redirect Problem

    When I try to make a Redirect (302) (the cPanel way) it shows this error message:
    Apache detected an error in the Rewrite config. Syntax error on line 3 of /home/********/public_html/.htaccess.nvHf1T9Hzop1pUW6rIGSt3eFJwxvPhgv:
    ErrorDocument takes two arguments, Change responses for HTTP errors
    Please try again.
    (I blocked out ******** - it's my hosting username)

    Please help!

    Here's my htaccess file: (1 line)


    ErrorDocument 404 /404.html


    (also Im new)
    Last edited by tenx23; 03-25-2011 at 01:43 PM.

  2. #2
    descalzo's Avatar
    descalzo is online now Grim Squeaker descalzo has a brilliant futuredescalzo has a brilliant futuredescalzo has a brilliant future
    Join Date
    Jul 2009
    Location
    Ankh-Morpork
    Posts
    7,635

    Re: Redirect Problem

    Try adding

    RewriteBase /
    RewriteCondition %{REQUEST_FILENAME} fileyouwantmoved
    RewriteRule ^(.*)$ http://targetdomain.com/ [R=301,L,QSA]
    Nothing is always absolutely so.

Closed Thread

Similar Threads

  1. Domain redirect problem
    By pyewhacker90 in forum Free Hosting
    Replies: 1
    Last Post: 12-07-2010, 07:19 AM
  2. Redirect Problem
    By sumans in forum Free Hosting
    Replies: 0
    Last Post: 11-08-2010, 02:34 AM
  3. Problem with redirect
    By jul33 in forum Free Hosting
    Replies: 3
    Last Post: 03-31-2010, 12:20 PM
  4. Redirect problem
    By Toffmonster in forum Free Hosting
    Replies: 4
    Last Post: 12-14-2009, 09:38 PM
  5. Subdomain redirect problem
    By tcrow777 in forum Free Hosting
    Replies: 0
    Last Post: 12-12-2007, 09:29 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers