1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Dynamic ASP pages - Mod-Rewrite?

Discussion in 'Search Engine Optimization' started by Dirkjan, Jun 23, 2005.

  1. #1
    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?
     
    Dirkjan, Jun 23, 2005 IP
  2. iShopHQ

    iShopHQ Peon

    Messages:
    644
    Likes Received:
    33
    Best Answers:
    0
    Trophy Points:
    0
    #2
    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.
     
    iShopHQ, Jun 23, 2005 IP
    Dirkjan likes this.
  3. LinkSeller

    LinkSeller Peon

    Messages:
    78
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Sorry to drag up an old thread, but May I just point out that that is totally and utterly NOT true.
     
    LinkSeller, Feb 7, 2007 IP
  4. udelojf

    udelojf Peon

    Messages:
    35
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #4
    OK so WHAT is the truth? how about some useful information?
     
    udelojf, Mar 3, 2007 IP
  5. LinkSeller

    LinkSeller Peon

    Messages:
    78
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #5
    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.
     
    LinkSeller, Mar 4, 2007 IP
  6. udelojf

    udelojf Peon

    Messages:
    35
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Thank you, do you think I can find some sample code for that?
     
    udelojf, Mar 4, 2007 IP
  7. LinkSeller

    LinkSeller Peon

    Messages:
    78
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #7
    only in my head....

    It can be done
     
    LinkSeller, Mar 4, 2007 IP
  8. iShopHQ

    iShopHQ Peon

    Messages:
    644
    Likes Received:
    33
    Best Answers:
    0
    Trophy Points:
    0
    #8
    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....
     
    iShopHQ, Jun 22, 2007 IP
  9. Dal

    Dal Peon

    Messages:
    87
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Good call, helpful.
     
    Dal, Jun 22, 2007 IP
  10. HighRankingSEO

    HighRankingSEO Active Member

    Messages:
    423
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    50
    #10
    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.
     
    HighRankingSEO, Sep 10, 2009 IP
  11. Canonical

    Canonical Well-Known Member

    Messages:
    2,223
    Likes Received:
    141
    Best Answers:
    0
    Trophy Points:
    110
    #11
    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
     
    Canonical, Sep 10, 2009 IP