Page 2 of 2

Re: Help on 301 Redirect to Avoid Google Problems

Posted: Tue Nov 08, 2011 5:32 pm
by PinkPearl
uksitebuilder wrote:How are your config.php and admin/config.php files set-up ?
Thank you Simon. I just solved the problem. They must have been missing a couple of days and I hadn't noticed. I changed hosts a couple of days ago and some of the image files got corrupted in the move. I re-uploaded the files and now its fine.
Than you for your time.
Kind regards,
Chris.

Re: Help on 301 Redirect to Avoid Google Problems

Posted: Mon Jan 16, 2012 1:12 am
by peguere
I have a similar problem, but and want to accomplish this:

www.domain.com/link1
www.domain.com/link2

I tried the URL redirect on Godaddy, but do not work, help please...

Thanks

Re: Help on 301 Redirect to Avoid Google Problems

Posted: Tue Jan 17, 2012 1:44 am
by uksitebuilder
Please advise what your "similar" problem is exactly

Re: Help on 301 Redirect to Avoid Google Problems

Posted: Wed Mar 28, 2012 3:42 am
by stonehinged
Just to confirm:

RewriteRule ^store/(.*)$ /$1 [R=301,L]

rewrites everything under old directory to root. Correct?

Doesn't one lose "SEO juice" for all pages under "/store" that are indexed... essentially telling search engines to transfer all "juice" to the homepage?

If I have many pages indexed and want to transfer that "SEO juice" to it's equivalent new page under the root, shouldn't I do individual redirects?

Re: Help on 301 Redirect to Avoid Google Problems

Posted: Wed Mar 28, 2012 3:59 am
by uksitebuilder
That line in .htaccess will redirect requests for the /store sub-directory to the root directory by stripping “store/” out of the URL. For example, a visit to http://www.domain.com/store/banana will get redirected to http://www.domain.com/banana.

However, the movement will still likely to affect your site’s search engine rankings. The rewrite rule above makes sure of 301 permanent redirect to ensure that the PageRank or ranking will pass over to the new URLs for search engine optimization (SEO). Until the new site structures get fully reindexed, the organic traffic from search engines may be reduced temporarily.

Re: Help on 301 Redirect to Avoid Google Problems

Posted: Wed Mar 28, 2012 4:26 am
by stonehinged
Thanks Simon.

Does the regular expression (.*) grab anything after the "store/" (i.e. "store/bracelet123") in essence transfer any SEO from "www.mysite.com/store/bracelet123" to "www.mysite.com/"? Or am I misunderstanding what that (.*) does?

I was planning to include individual 301 rewrites for all my pages when I drop the "/store" as opposed to writing a global redirect.

Examples:

/store/bracelet123 http://www.mysite.com/bracelet123
/store/necklace456 http://www.mysite.com/necklace456
/store/earring789 http://www.mysite.com/earring789

To ensure all SEO transfers as soon as possible from old to new, wouldn't this be the best approach?

Thanks.

Re: Help on 301 Redirect to Avoid Google Problems

Posted: Wed Mar 28, 2012 4:59 am
by uksitebuilder
Yes it (.*) grabs everything and therefore doing it globally would be the better method of redirecting.

Regardless of which method you use (global/individual) there will be a small effect on ranking initially until the new URL is reindexed - it should only be a temporary knock though.

Re: Help on 301 Redirect to Avoid Google Problems

Posted: Wed Mar 28, 2012 5:13 am
by stonehinged
SEO is quite an education! Thanks for the lesson Simon.

But I'm still just a little confused. ???

Would the "/$1" in the statement: RewriteRule ^store/(.*)$ /$1 [R=301,L]

basically tell the search engine to transfer rankings from www.mysite.com/store/anything to www.mysite.com/anything or just to www.mysite.com/?

And if it does give that implicit instruction, then it would transfer anything after "store/" to the same under root?

Perhaps I'm worrying too much about this... this stuff can make you go crazy!

Re: Help on 301 Redirect to Avoid Google Problems

Posted: Wed Mar 28, 2012 2:48 pm
by uksitebuilder
whatever the (.*) captures will be put back in the $1

Re: Help on 301 Redirect to Avoid Google Problems

Posted: Wed Mar 28, 2012 8:48 pm
by stonehinged
NICE! If that's the case the global rewrite is much better and more efficient!

Thanks!

Re: Help on 301 Redirect to Avoid Google Problems

Posted: Fri Sep 07, 2012 8:08 pm
by aaron1988
Hi wondered if someone could help me i am having the same kind of problem but mines little different.

My site has always been on ROOT DIRECTORY i had my URL without SEO URL then i changed added my SEO Keywords to have .html at the end.

SO what 301 redirect could i use to fix this with google because i have been dropped from google since i have made this change

So now google webmaster shows the old urls in browser if i am searching for a certain product but if i search washing machine spares in google it wont display anymore since i did these changes? its like it stuck in cache.

Kind Regards,
Aaron