Hi guys, I know the mod-rewrites for Mambo, Wordpress etc. But I am only mostly experienced with Apache Linux servers. a (possible) client of my, has a very big expensive brutal CMS that they can't really change, and its .ASP. It has the usual not optimized dynamic URLs. Since I might do a promotion campaign for them it would be a superb start if I had an easy way to rewrite all pages and get them ranked in search engines. Can anybody give me URLs to articles about it, or help me with possible advice?
You can't do mod rewrite in ASP without a server side component. I use Linkfreeze: http://www.helicontech.com/linkfreeze/ There's a free one out there too, ISAPI_Rewrite Lite, but it's much more complicated to set up: http://www.helicontech.com/download/#isapi_rewrite Another free one - I tried this one and stopped using it. I liked Linkfreeze better: http://www.motobit.com/help/url-replacer-rewriter/iis-mod-rewrite.asp If you are ASP.NET, you CAN write your own without a component: http://www.codeproject.com/aspnet/urlrewriter.asp You can see Linkfreeze in action at any of the sites in my sig.
on IIS, you CAN set 404 error documents... Just set a 404 error handler to an .asp file (404handler.asp)... Within that file you can get to the requested url:- url = replace(replace(request.querystring,"404;",""),":80","") By the splitting the url down further into key parts, you can work out the resource requested and handle it accordingly. http://www.movinghomes.net is such an example of this in practice. All areas, and property url's are rewritten and handled in the exact way as described here.
So what you propose is putting dead links up which will generate a 404 error, then specify a custom 404 error handler page that will then server side redirect to the right page. Wow, sound search engine friendly to me....
Hate to beat a dead horse, but this thread is ANTI-SEO...lol...I don't know ASP/Windows jumpoff very well, but I am 100% sure there is a mod_rewite equivalent. All you would have to do is rewrite the URL's and then do a simple 301 from the old urls to the new. Simple as pie.
Yep... Helicontech.com sells ISAPI Rewrite for IIS. Reasonably priced... It's about 98% compatible w/ Mod_Rewrite... I'm using it on about 35 webservers ATM. Of course, this post is "hella old" so they prolly could care less! lol