|
|
#1 |
|
In Runtime
|
How do you make search Engine optimized usl's? I have tried before with little success.
I have a video hosting site and I want it so users can type in site.com/username and it will go to the members profile, but the best I can do is where users have to enter site.com/username.html for some reason with out the .html it will not work Any suggestions?
__________________
Abit IP35-E Motherboard, 3Gig- corsair RAM PNY 9800GTX+ 256MB DDR3 Video Card, Core 2 Duo E4300 overclocked 2.2Ghz SATA Western Digital 160Gig HD, Windows 7, Dual 19" 1440x900 Monitors |
|
|
|
|
|
#2 |
|
Site Team
Join Date: Mar 2004
Posts: 6,945
|
use a script in the page.
/site.com/index.php?user=123654 /site.com/?user=123654 or you can use redirects that look at the URI string and redirect to a page as appropriate.
__________________
I didn’t fight my way to the top of the food chain to be a vegetarian… Im sick of people saying 'dont waste paper'. If trees wanted to live, they'd all carry guns. "The inherent vice of capitalism is the unequal sharing of blessings; The inherent vice of socialism is the equal sharing of miseries." |
|
|
|
|
|
#3 |
|
Cheesoid
|
Look into Mod_Rewrite..
|
|
|
|
|
|
#4 |
|
In Runtime
Join Date: Jan 2007
Posts: 334
|
Actually, it's not that hard. Just put the HTML file in it's own directory and rename it as index.html. Whenever someone types site.com/your_directory and it will show the index.html file in the directory.
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|