Keyword search in url RRS feed

  • Question

  • Hello Friends,

    I'm developing a new website for keyword search


    its a c# website with one page default.aspx and one keywords.xml

    keywords.xml contains code like below


    <keyword id="amazon"> </keyword>

    <keyword id="am"> </keyword>



    our url looks like below


    If internal user from his/her browser types  or

    I have to find the keyword and redirect to specific site.

    Code every thing is ready and working but when a user types<keyword>

    c# code is not hitting its throwing 404 directory not found error.

    Appreciate any help.





    • Moved by Kristin Xie Wednesday, March 11, 2015 9:02 AM
    Tuesday, March 10, 2015 6:24 PM

All replies

  • I liked "Code every thing is ready and working" :) so why you asking?

    The error is because under IIS directories there is no /amazon dir, so your code must redirect the user out of your site to amazon website. Please share you code and you must use the response.redirect method.

    Fouad Roumieh

    Tuesday, March 10, 2015 6:31 PM
  • Please post questions related to ASP.NET in the ASP.NET forums ( ).
    Tuesday, March 10, 2015 10:05 PM