#1
  1. Contributing User
    SEO Chat Discoverer (100 - 499 posts)

    Join Date
    Mar 2003
    Posts
    168
    Rep Power
    17

    Am I doing this redirect right?


    Hi

    I am installing a bunch of new pages on my site, and a abandoning the old page names. I have deleted the old files, and I'm building up the .htaccess to do a permanent redirect.

    My question is: Am I doing this right???

    My .htaccess looks like this, and I am going to add about 10 more lines of redirect:

    Code:
    ErrorDocument 404 /404.php
    redirect 301 /connect.php http://www.revmedia.com/contact.php
    Do I need the full path for the target page? They are on the same domain!!

    Any advice appreciated!
    thanks, Dave
  2. #2
  3. Moderator
    SEO Chat Good Citizen (1000 - 1499 posts)

    Join Date
    Jan 2003
    Location
    Madrid, Spain
    Posts
    1,382
    Rep Power
    18
    Yep, the full URL is always required for the second target page.

    Gringo.
  4. #3
  5. Contributing User
    SEO Chat Discoverer (100 - 499 posts)

    Join Date
    Mar 2003
    Posts
    168
    Rep Power
    17
    Ok, I put a redirect for each (relevant) page which points to the new corresponding page. Works fine!

    Also, I put a nice 40 page with a 'file not found' type of error, but also the full navbar and linkset so it will easily lead to the regular page.

    Anything else I can do to make the transition smooth for Google? Should I allow put a 'nocache' meta tag in my 404 so that spiders follow it, but not index it?

    thanks again for all your help, everyone
    d
  6. #4
  7. Moderator
    SEO Chat Good Citizen (1000 - 1499 posts)

    Join Date
    Jan 2003
    Location
    Madrid, Spain
    Posts
    1,382
    Rep Power
    18
    If you've got a 301 redirect, you won't need anything else, at least not for Google. If you like you could exclude all the old pages from being spidered with robots.txt, but I honestly believe that if a search engine doesn't follow a 301 properly, its robot will be unlikely to obey a robots.txt either.

    Gringo.
  8. #5
  9. Contributing User
    SEO Chat Discoverer (100 - 499 posts)

    Join Date
    Mar 2003
    Posts
    168
    Rep Power
    17
    What about the 404? I know that when I see custom 404's in the Google results, it seems unprofessional to me.

Similar Threads

  1. 301 redirect not working
    By key2003 in forum Web Design, Coding and Programming
    Replies: 4
    Last Post: Jul 17th, 2003, 04:58 PM
  2. Banned domain - new - redirect old
    By fraggle in forum Google Optimization
    Replies: 16
    Last Post: Jun 17th, 2003, 12:58 PM
  3. The correct redirect
    By bbratu in forum Google Optimization
    Replies: 4
    Last Post: Jun 5th, 2003, 10:05 PM
  4. local domain and redirect
    By viggen in forum Google Optimization
    Replies: 1
    Last Post: Apr 29th, 2003, 11:24 AM

IMN logo majestic logo threadwatch logo seochat tools logo