SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast
    Join Date
    Aug 2006
    Posts
    37
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Use Hash (#) in URL

    Hello,

    Firstly, thank you for taking the time to read my question.

    I'm very new to asp and have had not much experience at all. I'm working on a domain that has an affiliation program, I'm wanting to make this as search engine friendly as possible by make the url http://www.mydomain.com/#affilid=32

    ATM it's using a code to turn the # into a ? via a redirect which isn't very search engine friendly (and we can't track it via analytics). My question is, can I make this read as a variable without the redirect?

    Thank you.

  2. #2
    SitePoint Wizard bronze trophy
    Join Date
    Oct 2001
    Location
    Vancouver BC Canada
    Posts
    2,037
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    I think what you are looking to do is rewrite the URL's correct? There is an ASP Classic method called a 404 rewrite that will do this. It's called a 404 rewrite because it takes advantage of the server's 404 error (page not found) routine to run custom code that redirects the web browser to the correct page.

    Here is a link to a tutorial that might help.

    There's also some more info in a recent posting here
    Andrew Wasson | www.lunadesign.org
    Principal / Internet Development


Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •