Do I Lose Link Pop to Old URLs After Rewrite? [Archive] - Search Engine Roundtable Forums

PDA

View Full Version : Do I Lose Link Pop to Old URLs After Rewrite?


everett sizemor
07-25-2006, 12:30 PM
Hello,

I have been working for service-related sites for my entire SEO career and the most I’ve had to do with rewrites is to fix canonical URL issues using a simple mod fix in the .htaccess file. Now I’m moving in-house with a company that sells products online and they have some MAJOR dynamic URL issues that need to be taken care of.

However, my problem is that there are many thousands of links pointing into these product pages with dynamic URLs and if I rewrite them the links will still be pointing into the old versions. Will the link popularity transfer over, or do I lose the juice from those links?

Also, any and all resources pertaining to SEO and SEM for e-commerce sites will be most appreciated.

It’s nice to be switching gears and learning a new side of the business, but I am beginning to realize just how different service SEO is to product SEO.

Thanks for the help!

gabs
07-25-2006, 12:37 PM
You just need to use the good old 301 redirect..

Simple as that..

dazzlindonna
07-25-2006, 12:49 PM
Link pop is supposed to transfer over with a 301. Just don't expect miracles right away.

everett sizemor
07-25-2006, 12:54 PM
I thought I would get an infinite loop if I rewrote the dynamic URL, THEN redirected the old version to the new version.

:juggle:

gabs
07-25-2006, 12:58 PM
oky... first is first... What are you using php asp.. ?

everett sizemor
07-25-2006, 01:13 PM
ASP

Here is an example of the tail end of a product page URL:

.../foldername/category.asp?catalog%5Fname=gai&category%5Fname=YogaFitness&Page=1

gabs
07-25-2006, 01:23 PM
ASP

Here is an example of the tail end of a product page URL:

.../foldername/category.asp?catalog%5Fname=gai&category%5Fname=YogaFitness&Page=1

I don't know what iis set up your using ? Or you running asp apache ?

Anyway and simple asp script to formatt the url's would go something like

page=Request.ServerVariables("QUERY_STRING")
page=replace(page,"=","_")
page=replace(page,"&","_")
page="category_nn_"&page&".html"



Then to redirect from .asp to say .html


_url = Request.ServerVariables("URL")
if instr(wrong_url, ".asp") then
'bloody wrong

page=Request.ServerVariables("QUERY_STRING")
page=replace(page,"=","_")
page=replace(page,"&","_")
page="category_nn_"&page&".html"

Response.Status="301 Moved Permanently"
Response.AddHeader "Location", "http://www.google.com/"&LCase(page)

end if





The above is a start away ;)