Results 1 to 11 of 11

Google WebMaster

This is a discussion on Google WebMaster within the Troubleshooting forums, part of the vBSEO SEO Plugin category; Recently changed my forum from www.example.com/forums to www.example.com but now in the google webmaster tools I have 3000+ urls not ...

  1. #1
    Junior Member
    Real Name
    Derek
    Join Date
    Jun 2008
    Posts
    15
    Liked
    0 times

    Google WebMaster

    Recently changed my forum from www.example.com/forums to www.example.com but now in the google webmaster tools I have 3000+ urls not found as they are all urls not found from /forums dir as now we use the / dir. How do I get rid of all the urls not found? Thanks

  2. #2
    Senior Member briansol's Avatar
    Real Name
    Brian
    Join Date
    Apr 2006
    Location
    Central CT, USA
    Posts
    6,981
    Liked
    8 times
    did you set up a 301 in the forums dir?


    simply place this in /forums/.htaccess

    Code:
    RewriteCond %{HTTP_HOST} ^!www\.domain\.com 
    RewriteRule (.*) http://www.domain.com/$1 [R=301,L]

    this will take
    domain.com/forums/t123
    and send it to
    domain.com/t123

  3. #3
    Junior Member
    Real Name
    Derek
    Join Date
    Jun 2008
    Posts
    15
    Liked
    0 times
    I did not setup a 301 in the forums dir. Thanks I will give it a try.

  4. #4
    Junior Member
    Real Name
    Derek
    Join Date
    Jun 2008
    Posts
    15
    Liked
    0 times
    Also what do I replace in that code the 2 domains? with my website. Thanks

  5. #5
    Junior Member
    Real Name
    Derek
    Join Date
    Jun 2008
    Posts
    15
    Liked
    0 times
    I get a 403 forbidden error when I try to set this up and access to make sure it works.

    You don't have permission to access /forums/ on this server.

  6. #6
    Senior Member briansol's Avatar
    Real Name
    Brian
    Join Date
    Apr 2006
    Location
    Central CT, USA
    Posts
    6,981
    Liked
    8 times
    you will need rewriteengine on as well. sorry.

    Code:
    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^!www\.domain\.com 
    RewriteRule (.*) http://www.domain.com/$1 [R=301,L]
    and replace "domain".com with "yoursite".com

  7. #7
    Junior Member
    Real Name
    Derek
    Join Date
    Jun 2008
    Posts
    15
    Liked
    0 times
    I get an Internal Server Error now.

  8. #8
    nfn
    nfn is offline
    Senior Member
    Real Name
    Nuno
    Join Date
    Feb 2008
    Location
    Portugal
    Posts
    276
    Liked
    1 times
    Hi,

    I didn't test it...

    Code:
    RewriteEngine On
    RewriteCond %{HTTP_HOST} !^www\.domain\.com/forums/
    RewriteRule (.*) http://www.domain.com/$1 [R=301,L]

  9. #9
    Senior Member briansol's Avatar
    Real Name
    Brian
    Join Date
    Apr 2006
    Location
    Central CT, USA
    Posts
    6,981
    Liked
    8 times
    that won't work...

    that says

    "if its not domain.com/forums ...."

    but it is.

    try getting rid of the condition altogether.... jsut send it

    Code:
    RewriteEngine On
    RewriteRule (.*) http://www.domain.com/$1 [R=301,L]

  10. #10
    Junior Member
    Real Name
    Derek
    Join Date
    Jun 2008
    Posts
    15
    Liked
    0 times
    Options +FollowSymlinks
    RewriteEngine on
    rewritecond %{http_host} ^domain.com [nc]
    rewriterule ^(.*)$ http://www.domain.com/$1 [r=301,nc]

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

    This seems to work good.

  11. #11
    Junior Member
    Real Name
    Derek
    Join Date
    Jun 2008
    Posts
    15
    Liked
    0 times
    How long should it take until I see some of the errors leaving google webmaster?

Similar Threads

  1. مشكلة مع Google Webmaster
    By ROMANTIC in forum العربية
    Replies: 8
    Last Post: 04-13-2009, 08:14 PM
  2. Google Webmaster Tools reporting that 404 is a 200
    By Kanustep in forum Troubleshooting
    Replies: 2
    Last Post: 05-15-2008, 11:38 PM
  3. google webmaster error
    By leanbulk in forum URL Rewrite Settings
    Replies: 4
    Last Post: 02-05-2008, 12:40 PM
  4. Google Webmaster Tools
    By OnR in forum Türkçe
    Replies: 2
    Last Post: 07-12-2007, 12:42 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
  •