vBulletin Search Engine Optimization
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 ...
| |||||||
Enhancing 80 million pages. | Register | FAQ | Members List | Social Groups | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| 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
| ||||
| ||||
|
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
| |||
| |||
|
I did not setup a 301 in the forums dir. Thanks I will give it a try.
|
|
#4
| |||
| |||
|
Also what do I replace in that code the 2 domains? with my website. Thanks
|
|
#5
| |||
| |||
|
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
| ||||
| ||||
|
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]
|
|
#7
| |||
| |||
|
I get an Internal Server Error now.
|
|
#8
| |||
| |||
|
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
| ||||
| ||||
|
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
| |||
| |||
|
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
| |||
| |||
|
How long should it take until I see some of the errors leaving google webmaster?
|
| Thread Tools | |
| |
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 |