Need help with domain redirect and masking

by msdobe
6 replies
I really need some help with redirect and masking (never done it before). I found a great site Free Web Start Help and Advice that explains how to do it, but the part where it says

Go to cPanel, go to File Manager.
Go to the folder for your domain name.
Edit the old file which will contain the redirect. which file???
Copy and paste this code into the top of the file:

I'm using hostgator and the page I want to redirect and mask is
xxxx.com/report (it's a Wordpress site)

Also, in the masking section it says
'To do this, you will need to create a new home page, index.html'
but I don't want to mask the home page, just the report page.

If anyone can help or has another way to do it, I'd really appreciate it! I'm totally stumped. :confused:
Thanks,
Jenny
#domain #masking #redirect
  • Profile picture of the author TheProgrammer
    Here's the simple steps.
    1. Open notepad and copy the below code into it.
    2. Replace www.google.com with your site.com/report.
    3. Save As the code with filename index.html or index.htm
    4. Upload it to your domain hosting "public_html or www" folder.

    HTML Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 TRANSITIONAL//EN">
    <HTML>
    <HEAD>
    <TITLE>Please wait while we redirect you ...</TITLE>
    <META HTTP-EQUIV="REFRESH" CONTENT="0;URL=http://www.google.com"></HEAD>
    <BODY>
    Please wait while we redirect you ... 
    <BR><BR>
    Click <A HREF="http://www.google.com">here</A> if your browser does not automatically redict you in a second ...
    </BODY>
    </HTML>
    {{ DiscussionBoard.errors[7370551].message }}
    • Profile picture of the author msdobe
      What about the page where I redirect to?
      Signature

      If you can read this.... thank a teacher.
      If you can read this in English... thank a vet!
      {{ DiscussionBoard.errors[7370576].message }}

Trending Topics