Welcome to WebmasterWorld Guest from 54.167.83.224

Message Too Old, No Replies

Maps, www and non www

wil maps help?

     

seolutionboy

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

Inactive Member
Account Expired

 
 


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]

11:36 pm on June 21, 2005 (gmt 0)

Senior Member

WebmasterWorld Senior Member g1smd is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:July 3, 2002
posts:18903
votes: 0


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

Instructions posted in several threads within the last few days.

4:24 am on June 22, 2005 (gmt 0)

Junior Member

10+ Year Member

joined:May 16, 2005
posts:67
votes: 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...

12:45 pm on June 22, 2005 (gmt 0)

Full Member

joined:Jan 12, 2004
posts:334
votes: 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.

2:15 pm on June 22, 2005 (gmt 0)

Junior Member

10+ Year Member

joined:Apr 2, 2002
posts:54
votes: 0


How would you solve the 301 redirection with a windows server?
2:24 pm on June 22, 2005 (gmt 0)

Full Member

joined:Jan 12, 2004
posts:334
votes: 0


I don't know, many have asked that. Someone else will have to tell you that. ;)
6:06 pm on June 22, 2005 (gmt 0)

Junior Member

10+ Year Member

joined:Apr 2, 2002
posts:54
votes: 0


thanx anyway
6:37 pm on June 22, 2005 (gmt 0)

Senior Member

WebmasterWorld Senior Member g1smd is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:July 3, 2002
posts:18903
votes: 0


Google for: 301 redirect isapi windows

4:49 am on June 23, 2005 (gmt 0)

Junior Member

10+ Year Member

joined:May 16, 2005
posts:67
votes: 0


Can anyone tell the code for apache server
4:52 am on June 23, 2005 (gmt 0)

Senior Member

WebmasterWorld Senior Member marcia is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Sept 29, 2000
posts:12095
votes: 0


That mod_rewrite is the code for Apache.
1:24 pm on June 23, 2005 (gmt 0)

Full Member

joined:Jan 12, 2004
posts:334
votes: 0


Can anyone tell the code for apache server

What I posted above is for Apache.

1:34 pm on June 23, 2005 (gmt 0)

Junior Member

10+ Year Member

joined:Apr 6, 2002
posts:112
votes: 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...]

7:16 pm on June 23, 2005 (gmt 0)

Senior Member

WebmasterWorld Senior Member g1smd is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:July 3, 2002
posts:18903
votes: 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]