Welcome to WebmasterWorld Guest from 107.20.20.39

Message Too Old, No Replies

Maps, www and non www

wil maps help?

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

10+ Year Member



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 Jun 21, 2005 (gmt 0)

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



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

Instructions posted in several threads within the last few days.

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

10+ Year Member



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

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

10+ Year Member



How would you solve the 301 redirection with a windows server?
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. ;)
6:06 pm on Jun 22, 2005 (gmt 0)

10+ Year Member



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

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



Google for: 301 redirect isapi windows

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

10+ Year Member



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

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



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



Can anyone tell the code for apache server

What I posted above is for Apache.

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

10+ Year Member



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 Jun 23, 2005 (gmt 0)

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



For apache I use this:

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