|
| |
Automatically create subdomain or directory that redirects
View related threads:
(in this forum
| in all forums)
|
Logged in as: Guest
|
|
|
jonance
Posts: 296 From: Louisville KY USA Status: offline
|
Automatically create subdomain or directory that redirects - 4/24/2008 22:28:01
This is probably a tough one but i'm not sure where else to turn... I have a business directory i have programmed in asp using Frontpage and my own code. Currently a user can search for a business in town by keyword or category and it brings up a list of businesses that match....featured businesses get listed at the top with a click through to their own page where i allow them to edit their description, coupons, etc. PROBLEM: This page is just pulling from a database, so no matter which business it is the url is something like www.myguide.com/businesspage?ID=8377 Obviously the ID is that businesses ID to pull from the database...problem is that these businesses would like to have a URL like www.myguide.com/tonyspizza to send customers to. SO....is there any way i can pull this off where I can automate a way for this to work, without having to create a directory each time a business signs up (i would have 100's of directory folders all mixed in with my others)...I hope someone has a suggestion, even if it's outside of the box, to clean up the url and have the company name in it for both the search engines and for their promotional purposes....Thanks in advance if you read this far
|
|
|
|
rdouglass
Posts: 9137 From: Biddeford, ME USA Status: offline
|
RE: Automatically create subdomain or directory that re... - 4/25/2008 0:35:38
If you're using a Win server, look into something called ISAPI_Rewrite. With that you can use a URL something like: www.myguide.com/tonyspizza-8337 for that. You're not going to get away without that '8337' in there somewhere. But with it, I create URLs like this: /details-Classic_Air's_One_Hour_Heating_&_Air_Conditioning-261-Camden_County-629-Heating_Service_&_Install-56.aspx That's what I'd suggest. Hope it helps.
_____________________________
Don't take you're eye off your final destination. ASP Checkbox Function Tutorial.
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|