Submit Your Article Forum Rules

Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: What is correct string for a .htaccess to redirect a page in Serps to Home Page

  1. #1
    Member
    Join Date
    Jun 2007
    Posts
    43

    What is correct string for a .htaccess to redirect a page in Serps to Home Page

    Hello All,

    I am trying my hand at a simple .htaccess redirect. I put this.

    RewriteRule ^xxxxxxxxx [R=permanent,L] [couldn't put the actual string here, it just comes up with the meta tags of my site.]

    in the .htaccess file

    I want a page that shows up in the serps that is useless and it usually shows up with another more important page, to redirect to my home page. But It Didn't work. Can you tell me what the correct string would be. what is wrong here?

    Thank you,

  2. #2
    Senior Member
    Join Date
    Jul 2004
    Posts
    913

    Re: What is correct string for a .htaccess to redirect a page in Serps to Home Page

    If you want to redirect only one or just a few pages the simplest way of doing it in .htaccess is this:
    redirect 301 /dir/old.html http:// yoursite com/home.html
    If you want to redirect many pages in some other logical way (e.g all html requests should be php) you can use regex in RewriteRule expression:

    Options +FollowSymLinks
    RewriteEngine On
    RewriteRule ^(.+)\.html$ http:// yoursite com/$1.php [r=301]
    However, allow me to note that what you're trying to achieve will not work.
    Once a search engine realize your 'non-important' page is the same as your home page, one of them will be erased from the index, probably the bad one.
    So you will end up with not ranking at all and that's probably not what you wanted.
    Impossible? You just underestimate the time.

  3. #3
    Member
    Join Date
    Jun 2007
    Posts
    43

    Re: What is correct string for a .htaccess to redirect a page in Serps to Home Page

    So is it better to delete it altogether then? This page is not the same as the home page. It's a duplicate article, but it has pr2 and it's getting the traffic I want my homepage to get. But most important, it's duplicate content and totally unnecessary.

  4. #4
    Senior Member
    Join Date
    Jul 2004
    Posts
    913

    Re: What is correct string for a .htaccess to redirect a page in Serps to Home Page

    Then delete the other duplicate page (or even better disallow robots on it) and leave that one active.
    You can additionally channel the PR flow from that PR2 to your home page by e.g. utilizing 'rel="nofollow"' in all the links except towards the home page.
    Impossible? You just underestimate the time.

  5. #5
    Member
    Join Date
    Jun 2007
    Posts
    43

    Re: What is correct string for a .htaccess to redirect a page in Serps to Home Page

    I don't think you understand. In the SERPS, one of my MAIN navigation pages shows up underneath the page I want to redirect. I cannot get rid of one of my main navigation pages. This duplicate article page no one stays on for more than a second. I want to capture the traffic by routing it to another more interesting page. I cannot get rid of one of main navigation pages. This article page is a duplicate page, meaning this article is also in my php articles section as well as an independent html page.

    So i want to redirect this page to my home page or even this secondary page. Or perhaps entertain other ideas.

    Thanks for your input.

  6. #6
    Senior Member
    Join Date
    Jul 2004
    Posts
    913

    Re: What is correct string for a .htaccess to redirect a page in Serps to Home Page

    Do you realize that 301 redirection to any other page will dry out the traffic it gets now?
    Impossible? You just underestimate the time.

  7. #7
    Member
    Join Date
    Jun 2007
    Posts
    43

    Re: What is correct string for a .htaccess to redirect a page in Serps to Home Page

    No i didn't realize that. Dry out the traffic the page gets now or the traffic of the page it's redirecting to? Best advice then is to what, remove the page, leave it or what?

  8. #8
    Member
    Join Date
    Jun 2007
    Posts
    43

    Re: What is correct string for a .htaccess to redirect a page in Serps to Home Page

    Quote Originally Posted by activeco View Post
    You can additionally channel the PR flow from that PR2 to your home page by e.g. utilizing 'rel="nofollow"' in all the links except towards the home page.
    Also about this. Does this mean that when a person clicks on this page from the SE results that it will open as usual, but that PR can transfer to the Home Page by put rel="nofollow" in ALL THE LINKS??? You mean, manually put this next to every <a href on the site including all the regular navigation links. Forgive my lack of understanding here. I'm leanring.

    Thank you.

  9. #9
    Senior Member
    Join Date
    Jul 2004
    Posts
    913

    Re: What is correct string for a .htaccess to redirect a page in Serps to Home Page

    Look, once you do 301 the page it gets redirected to gets associated with the redirecting page. If the new page is different enough (simetimes even slightly) it will not rank for the same keywords as before.

    So you have a few options:

    - Cloaking;
    Not recommended, you can endanger the whole site

    - 301 to the similar page, having more content;
    Tricky, not worth a risk, besides not really a guaranty you will have visitors staying longer

    - 302?
    302 gets associated with redirected page too, with the old url, so new content, no real gain either.

    - On page meta refresh with, say three seconds delay, hoping te be spidered and not followed;
    Tricky.

    - Leave as it is and make the most out of it;
    IMO, the best valid solution is to use it's PR without braking anything.
    Impossible? You just underestimate the time.

  10. #10
    Senior Member
    Join Date
    Jul 2004
    Posts
    913

    Re: What is correct string for a .htaccess to redirect a page in Serps to Home Page

    Quote Originally Posted by chirosche View Post
    Also about this. Does this mean that when a person clicks on this page from the SE results that it will open as usual, but that PR can transfer to the Home Page by put rel="nofollow" in ALL THE LINKS???
    Yes, except in the links to the page you want the most of PR to be transfered.
    Impossible? You just underestimate the time.

Page 1 of 2 12 LastLast

Similar Threads

  1. Home Page Link On Page Rank 6 Real Estate Forum
    By kelouba in forum Ad Space Buy and Sell
    Replies: 3
    Last Post: 09-03-2009, 09:07 AM
  2. What effects on SEO if home page Redirect to other page
    By online_pakistan in forum Search Engine Optimization Forum
    Replies: 4
    Last Post: 06-17-2009, 03:35 PM
  3. 301 redirect for home/index page
    By Milo in forum Other Engines/Directories
    Replies: 12
    Last Post: 05-08-2007, 10:13 PM
  4. Changing Home page from HTML to PHP - Redirect question
    By getmea in forum Search Engine Optimization Forum
    Replies: 34
    Last Post: 09-11-2006, 06:10 PM
  5. 302 Redirect on home page
    By wmrobwl in forum Google Discussion Forum
    Replies: 4
    Last Post: 07-14-2006, 01:11 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •