Jewbilee Posted December 1, 2006 Share Posted December 1, 2006 Hey guys, I need a little help with this.. everyone knows when you create a myspace, its makes your url something like this:www.myspace.com/usernameherewhat I want to know is how to do the /usernamehere part...Is it just creating a seperate folder and adding files or what? Quote Link to comment Share on other sites More sharing options...
corbin Posted December 1, 2006 Share Posted December 1, 2006 Hmm lemme find an article that helped me a ton with that...edit: Found it!http://www.sitepoint.com/article/search-engine-friendly-urls/2 Quote Link to comment Share on other sites More sharing options...
projectshifter Posted December 1, 2006 Share Posted December 1, 2006 [quote author=corbin link=topic=116926.msg476691#msg476691 date=1164942299]Hmm lemme find an article that helped me a ton with that...edit: Found it!http://www.sitepoint.com/article/search-engine-friendly-urls/2[/quote]Sitepoint is crap.An easy way to do it would be to use mod_rewrite. Something along the lines of if the file isn't /images/ or /anyOtherFolderYouHave/ and doesn't have an extension, pass it to like view_profile.php and search the database for a user with that username. Quote Link to comment Share on other sites More sharing options...
Jewbilee Posted December 1, 2006 Author Share Posted December 1, 2006 projectshifter thats exactly what I want.. how do i use mod_rewrtie? Quote Link to comment Share on other sites More sharing options...
Jewbilee Posted December 1, 2006 Author Share Posted December 1, 2006 is this what you mean?http://forums.searchenginewatch.com/showthread.php?t=3925 Quote Link to comment Share on other sites More sharing options...
Jewbilee Posted December 2, 2006 Author Share Posted December 2, 2006 i still need help with mod_rewrite.. ive found tutorials online but im not getting it.. Quote Link to comment Share on other sites More sharing options...
trq Posted December 2, 2006 Share Posted December 2, 2006 [quote]i still need help with mod_rewrite.. ive found tutorials online but im not getting it..[/quote]So what do you want us to do? Write another tutorial especially for you?Why dont you post what you have, and tell us whats not working? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.