How to Redirect My Visitors?

by JerryA
4 replies
  • WEB DESIGN
  • |
Hi

I have a page on my domain that is indexed and ranking in Google for my key phrase but it has no content and people are bouncing off it.

How do I redirect them to the homepage without losing my Ranking until I get the content finished for the page?

I was reading about 302 and 307 redirects but am still not sure if that is what I want to do.

Thanks
#redirect #visitors
  • Profile picture of the author espe
    create a new .txt file add this redirect 301 /old/old.htm http://www.you.com/new.html

    where /old/old.html is the location of your page that you want to redirect and http://www.you.com/new.html where you redirect them then upload that file next to the file that you want to redirect and change the name of the something.txt file to .htaccess without .txt and starting with that . and thats it
    {{ DiscussionBoard.errors[4379027].message }}
    • Profile picture of the author JerryA
      Thanks for the quick reply espe,

      Are you sure I want to do a 301 redirect?

      The page that I'm redirecting is under maintenance and will have content in the future. I thought 301s were for permanent redirects only.

      If 301 is not good for this problem is their an alternative?
      {{ DiscussionBoard.errors[4379183].message }}
  • Profile picture of the author Abhishek Kundu
    hi JerryA,

    you need to do a 301 redirect of your web page. the 301 is the code for permanent redirect.

    you can do this by setting up the new page where you want to redirect the visitors and after that edit the .htaccess file or you can also create it from CPanel if you have it with your hosting provider.

    if you have to manually edit the .htacces file then i am giving you the code below.

    Create a .htaccess file with the below code, it will ensure that all requests coming in to domain.com will get redirected to www.domain.com
    The .htaccess file needs to be placed in the root directory of your old website (i.e the same directory where your index file is placed)

    Options +FollowSymlinks
    RewriteEngine on
    rewritecond %{http_host} ^domain.com [nc]
    rewriterule ^(.*)$ http://www.domain.com/$1 [r=301,nc]

    Please REPLACE domain.com and www.newdomain.com with your actual domain name.

    Note* This .htaccess method of redirection works ONLY on Linux servers having the Apache Mod-Rewrite moduled enabled.
    if you have any confusion do feel free to PM me.


    kindest,
    abhishek kundu
    Signature
    CLICK HERE>>> FOLLOW ME ON TWITTER <<
    {{ DiscussionBoard.errors[4379776].message }}
    • Profile picture of the author JerryA
      Thanks for replying to my thread! (no PM yet sorry)

      I don't think 301 is the correct thing do to because it is telling Google bots that the url is permanently moved.

      Here is my situation:

      I have a page on my domain (page x) that has no content yet. Page X is indexed and ranking in google but it has no content. So when people reach that page through google and see no content they immediately bounce back to the serps.

      I want the people who enter my site landing on page X to be redirected to my homepage but do not want page X's rank in google to be affected.

      I hope that is clear to you....

      Again through my research Ive read that 301 is not what i want to do.

      Maybe Im wrong, if so can you post a source of why you think a 301 is correct.

      Thanks you so much.

      Jerry
      {{ DiscussionBoard.errors[4379850].message }}

Trending Topics