homepage Welcome to WebmasterWorld Guest from 54.161.236.229
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Visit PubCon.com
Home / Forums Index / Google / Google SEO News and Discussion
Forum Library, Charter, Moderators: Robert Charlton & aakk9999 & brotherhood of lan & goodroi

Google SEO News and Discussion Forum

    
Maps, www and non www
wil maps help?
seolutionboy




msg:755807
 4:06 pm on Jun 21, 2005 (gmt 0)

When searching for site:example.com Google displays 52.600 results, whereas site:www.example.com only 2.

Most inbound links point to www.example.com

Well, since last week algo changes, our traffic dropped by more than 50%.

Do you think that submitting a google mapa with the www urls will solve the problem?
Any other ideas to solve the problem are welcome.

thanks

[edited by: ciml at 11:04 pm (utc) on June 21, 2005]
[edit reason] Examplified [/edit]

 

g1smd




msg:755808
 11:36 pm on Jun 21, 2005 (gmt 0)

Use a 301 redirect from non-www to www URLs.

Instructions posted in several threads within the last few days.

Adversity Sure Fire




msg:755809
 4:24 am on Jun 22, 2005 (gmt 0)

I know to set 301 redirect from A site to B but not No www to www...

Would it be possible to guide me...

Clint




msg:755810
 12:45 pm on Jun 22, 2005 (gmt 0)

This is what worked for me to direct NON-www to www. Non bold is just notes for you to clarify this post.

RewriteEngine on
RewriteCond %{HTTP_HOST}!^www\.YourDomain\.com [NC]
RewriteCond %{HTTP_HOST}!^$
RewriteRule ^(.*) [YourDomain.com...] [L,R=301]

<skip a line>
Other commands if any here

You paste that in your htaccess file (and of course change it to your domain name), and if there's anything else in the htaccess file, be sure you have a space after this above <skip a line>. You only need the "RewriteEngine on" line if it's not already in your htaccess file. This is on Apache and cPanel. I already had in mine "Hot Link Protection", so all I needed to add was the lines below "RewriteEngine on", then there's a space, then the HL Protection lines below it.

samba




msg:755811
 2:15 pm on Jun 22, 2005 (gmt 0)

How would you solve the 301 redirection with a windows server?

Clint




msg:755812
 2:24 pm on Jun 22, 2005 (gmt 0)

I don't know, many have asked that. Someone else will have to tell you that. ;)

samba




msg:755813
 6:06 pm on Jun 22, 2005 (gmt 0)

thanx anyway

g1smd




msg:755814
 6:37 pm on Jun 22, 2005 (gmt 0)

Google for: 301 redirect isapi windows

Adversity Sure Fire




msg:755815
 4:49 am on Jun 23, 2005 (gmt 0)

Can anyone tell the code for apache server

Marcia




msg:755816
 4:52 am on Jun 23, 2005 (gmt 0)

That mod_rewrite is the code for Apache.

Clint




msg:755817
 1:24 pm on Jun 23, 2005 (gmt 0)

Can anyone tell the code for apache server

What I posted above is for Apache.

chinook




msg:755818
 1:34 pm on Jun 23, 2005 (gmt 0)

One of the choices you have on a windows box is to create two sites in IIS. One site with the host header www.somedomain. com and the second side with the host header somedomain. com . The second site gets redirected to the www site using a built-in redirection that is access from the main IIS adminstration snap in (MMC). Of course this assumes you have access to the server.

Other solutions on Windows can be scripted using asp or asp.net.
see [webmasterworld.com...]

g1smd




msg:755819
 7:16 pm on Jun 23, 2005 (gmt 0)

For apache I use this:

Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^yourdomain.com [NC]
RewriteRule ^(.*)$
http://www.yourdomain.com/$1 [L,R=301]

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Google / Google SEO News and Discussion
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved