Forum Moderators: Robert Charlton & goodroi
The particulars: site is 5 years old (so no sandbox issue), lots of relevant incoming links (many more than most of the sites ahead of mine in the listings), very optimized (natural web copy with lots of keywords), no copies of my site between pages or elsewhere (I caught a couple of thieves and one removed material, I reported the other, and I changed my web text so there would be no copy issue), a G-friendly site map, all coding errors corrected.
I have also asked G about this (specifically if two dots in my site URL causes issues, if a few pages having spaces in the URL--%20 in code--causes issues, and etc.), but I get no answer. So I am stumped. The site ranked really well literally for years, and now this.
So, what have I missed that might cause such a quick and extraordinary drop? Or what is the next step in figuring out how to "fix" my site?
Pro Editor you are in fact presenting a classic split site canonical problem.
You need to fully escape all periods in that conditional line in order for your rewrite to get a match. In addition there must be a space between the %{HTTP_HOST} and the!^ .
I have no idea how you are setup on the hosting system but it appears that you have two valid addressable server aliases. I'll do some poking around in a bit and get back to you. I need a break from the chair and monitor.
It is possible to have multiple ip addresses and multiple subdomains with each one having multiple valid server aliases. If there is one thing about the internet it is extremely flexible and that is what causes all of the grief.
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST}!^example\.com
RewriteRule (.*) http://example.com/$1 [R=301,L]
Now, I am going the other way, but the syntax should be the same.
So, you should have:
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST}!^www\.a-1writingandediting\.writernetwork\.com
RewriteRule (.*) http://www.a-1writingandediting.writernetwork.com/$1 [R=301,L]
Note: (you aren't doing it, but I had to learn the hard way, so - share the wealth :)) *no* spaces in the wrong place anywhere!, including inside the square brackets :)
{carefully checks preview}
The above is being edited by the system. There should be a space between the %{HTTP_HOST} and the!^www\.a-1writingand...
Interesting - if I put 2 spaces there, they come through as 1.
HIH!
Lea
phish:
302 is a temporary redirect. Only by using 301 you are able to move from domain.tld to www.domain.tld. Check out G's help center [google.com].
thrasher, This was a free site when I first put it up (while building it 4 years ago), but it is a paid-for site since (although the outfit is called Freeservers, I am charged monthly). But my site still looks like a subdomain (my mistake but I really had no idea what I was doing, and the whole canonical thing came later anyway I think), and I am presently at a loss what to do about it or the htaccess issue. The tech folks at the host have not been much help so far.
It is my understanding that Google started penalizing sites for using a refresh because spammers use this. Anyone know for sure?
A very fast meta-refresh used as a redirect can definitely get you into trouble with Google - although this does not seem to be automatic trouble, it is frequent. Google wants the link you click in their search results to be the page you see. So removing a fast meta-refresh redirect would be one good step to take if the rankings suddenly fell for the page.
I rarely use meta-refresh at all these days, and where I do I go for 10 seconds.