NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page mod_rewrite question

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search


Closed Thread
 
LinkBack Thread Tools
Old 07-06-2006, 02:01 PM THREAD STARTER               #1 (permalink)
NamePros Member
 
dcgamers's Avatar
Join Date: Feb 2006
Location: NY, USA, Earth
Posts: 85
dcgamers is an unknown quantity at this point
 



Smile mod_rewrite question


don't know where else to put this. Im using mod_rewrite to make my urls like example.com/articles/this&20is%20a%20page. I seen urls like example.com/articles/this-is-a-page. How can I make the urls like that? Im a noob when it comes to mod_rewrite.
dcgamers is offline  
Old 07-06-2006, 02:11 PM   #2 (permalink)
Dan
Buy my domains.
 
Dan's Avatar
Join Date: Feb 2006
Posts: 2,796
Dan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant future
 


Autism Autism Autism Autism Autism Autism Autism
%20 is a space.. You just have to make the links to those with dashes..
Dan is offline  
Old 07-07-2006, 11:57 AM THREAD STARTER               #3 (permalink)
NamePros Member
 
dcgamers's Avatar
Join Date: Feb 2006
Location: NY, USA, Earth
Posts: 85
dcgamers is an unknown quantity at this point
 



that won't work because Im using mysql for it and if you do that, it can't find the page.
dcgamers is offline  
Old 07-07-2006, 12:01 PM   #4 (permalink)
Dan
Buy my domains.
 
Dan's Avatar
Join Date: Feb 2006
Posts: 2,796
Dan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant future
 


Autism Autism Autism Autism Autism Autism Autism
Use the ID so it can find the right thing.
www.example.com/articles/428-The-article-name
Like how NP does it.

Also, for a script I made before, I put 'archive_title' in the database. So that I could format the URL's how I wanted and strip out characters like spaces.
Dan is offline  
Old 07-07-2006, 12:02 PM THREAD STARTER               #5 (permalink)
NamePros Member
 
dcgamers's Avatar
Join Date: Feb 2006
Location: NY, USA, Earth
Posts: 85
dcgamers is an unknown quantity at this point
 



well Im doing this for SEO friendly urls. I found out how to do this thanks.
dcgamers is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Liquid Web Smart Servers  
All times are GMT -7. The time now is 07:49 PM.

Managed Web Hosting by Liquid Web
Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger