SitePoint Sponsor |
|
User Tag List
Results 1 to 2 of 2
Thread: Use Hash (#) in URL
-
Nov 1, 2010, 01:36 #1
- 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.
-
Nov 1, 2010, 09:18 #2
- 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 hereAndrew Wasson | www.lunadesign.org
Principal / Internet Development
Bookmarks