Forum Moderators: Robert Charlton & goodroi
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]
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.
Can anyone tell the code for apache server
What I posted above is for Apache.
Other solutions on Windows can be scripted using asp or asp.net.
see [webmasterworld.com...]