SEO Help on Google indexed URL

Permalink
Hello All,

I am not sure whether this is the correct place to ask this doubt or not. But I am just posting this. I have finished new version of a website based on Concret 5 cms. It was using some other CMS before. Now the c5 cms is implemented and whole website has moved into new folder. But some search terms in that website, still google indexed to old site URL. How can I redirect such results into my new folder.

To make it more clear, a sample google search index for a term 'foo' is like this .

http://websitename/old/foo

the URL of that foo in new website/cms folder is

http://websitename/new/products/foo...

Now I need to redirect the google search index into the new URL.

Any help would be greatly appreciated . thank you

jeevanism
 
MysteriousCleon replied on at Permalink Best Answer Reply
MysteriousCleon
Good idea is to put 301 redirect to .htaccess:
http://www.tamingthebeast.net/articles3/spiders-301-redirect.htm...

but c5 has an option to add additional url's to every one page - go to page Properties / Page Paths and location / More URL's. When you add some url, this will lead directly to your new page.
jeevanism replied on at Permalink Reply
jeevanism
@Mysterious

thank you for the info. I will try the second one because, I have more than 5 or more URL like this, so putting all those into .htaccess doesnt look nice. I hope the second method will work. I will update after I try this

thanx again
jeevanism replied on at Permalink Reply
jeevanism
I tried the second method. but it has a limitation. It will work only inside the C5 folder.

my new url for prodcut foo is

http://www.websitename.com/c5/products/foo...

my old URL which index by google is

http://www.websitename.com/old/foo...

Since this, eve if I add more URL as /old/foo

it will redirect tohttp://www.websitename.com/c5/old/foo...

only..So I think I can do some little hacking like..

1. Change my new c5 foldername into the old websitefoldername
(http://www.websitename.com/c5 tohttp://www.websitename.com/old)...

2. then add one more URL into the product page foo that resembles with the index URL

(/old/foo will redirect tohttp://www.websitename.com/old/product/foo)...

Am I right on this or not?? please comment if my logic is wrong..
MysteriousCleon replied on at Permalink Reply
MysteriousCleon
It should work, if your path will be the same as it was in old site. But don't forget to change path in config/site.php file... :)
jeevanism replied on at Permalink Reply
jeevanism
@MC,

happy news, I have tried this. It worked :-). I did not need to change in config/site file since I am using this latest version of C5, it automatically picks up the folder name. these are the changes I have done

1. Renamed the c5 folder to the old website folder name

2. Edited .htaccess in the c5 (renamed) folder match with renamed folder name.

In the more URL option, added the indexed URL to that field. I goggled again, then clicked the result, it redirected to new website URL..:-)

Happy, no need to code extra on 301. Any issue on performance for this approach??
MysteriousCleon replied on at Permalink Reply
MysteriousCleon
"I did not need to change in config/site file since I am using this latest version of C5, it automatically picks up the folder name."

Oh, I didn't know that! It's nice! :)

I'm happy that it worked for you.