vBulletin SEO Forums

SEO

vBulletin Search Engine Optimization

Buy vBSEO Now! HACKER SAFE certified sites prevent over 99.9% of hacker crime.
ne nw
vBSEO Total Support Team Launches DeskPro New vBSEO Discount Level for Network Builders vBSEO 3.2.0 GOLD Has Landed Success with vBSEO = 600ore Web Visitors + $1400 in a Day! Crawlability Inc. Files for SEO Technology Patent
se sw

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 ...

Go Back   vBulletin SEO Forums > vBSEO SEO Plugin > Troubleshooting

Enhancing 80 million pages.

Register FAQ Members List Social Groups Calendar Search Today's Posts Mark Forums Read
  #1  
Old 09-27-2008, 04:24 PM
Junior Member
 
Real Name: Derek
Join Date: Jun 2008
Posts: 13
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #2  
Old 09-27-2008, 06:49 PM
briansol's Avatar
Senior Member
vBSEO Pre-Release TeamDesign for SEOBig Board Administrator
 
Real Name: Brian
Join Date: Apr 2006
Location: Central CT, USA
Posts: 5,780
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #3  
Old 09-27-2008, 07:15 PM
Junior Member
 
Real Name: Derek
Join Date: Jun 2008
Posts: 13
I did not setup a 301 in the forums dir. Thanks I will give it a try.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #4  
Old 09-27-2008, 07:16 PM
Junior Member
 
Real Name: Derek
Join Date: Jun 2008
Posts: 13
Also what do I replace in that code the 2 domains? with my website. Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #5  
Old 09-27-2008, 07:23 PM
Junior Member
 
Real Name: Derek
Join Date: Jun 2008
Posts: 13
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #6  
Old 09-27-2008, 07:58 PM
briansol's Avatar
Senior Member
vBSEO Pre-Release TeamDesign for SEOBig Board Administrator
 
Real Name: Brian
Join Date: Apr 2006
Location: Central CT, USA
Posts: 5,780
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #7  
Old 09-27-2008, 08:02 PM
Junior Member
 
Real Name: Derek
Join Date: Jun 2008
Posts: 13
I get an Internal Server Error now.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #8  
Old 09-27-2008, 08:23 PM
nfn nfn is offline
Senior Member
 
Real Name: Nuno
Join Date: Feb 2008
Posts: 125
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]
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #9  
Old 09-27-2008, 08:34 PM
briansol's Avatar
Senior Member
vBSEO Pre-Release TeamDesign for SEOBig Board Administrator
 
Real Name: Brian
Join Date: Apr 2006
Location: Central CT, USA
Posts: 5,780
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]
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #10  
Old 09-27-2008, 08:51 PM
Junior Member
 
Real Name: Derek
Join Date: Jun 2008
Posts: 13
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #11  
Old 09-28-2008, 03:12 PM
Junior Member
 
Real Name: Derek
Join Date: Jun 2008
Posts: 13
How long should it take until I see some of the errors leaving google webmaster?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
مشكلة مع Google Webmaster ROMANTIC العربية 7 09-23-2008 08:10 PM
Google Webmaster Tools reporting that 404 is a 200 Kanustep Troubleshooting 2 05-15-2008 11:38 PM
google webmaster error leanbulk URL Rewrite Settings 4 02-05-2008 12:40 PM
Google Webmaster Tools OnR Türkçe 2 07-12-2007 12:42 PM


All times are GMT -4. The time now is 03:46 AM.


Powered by vBulletin Version 3.8.0 Release Candidate 2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.5 ©2008, Crawlability, Inc.