«« Next » « Previous
«« Next » « Previous

Link Details

We're glad you're here, but we'd be thrilled if you voted! Login and vote now.
Link 9982 thumbnail

By ipearx
via bla.st
Published: Dec 29 2006 / 10:47

Every cool web 2.0 application these days features nice URLs, learn how to do it with mod_rewrite and PHP.
  • 11
  • 0
  • 1588
  • 366

Comments

Add your comment
User 205047 avatar

Lowell Heddings replied ago:

1 votes Vote down Vote up Reply

Great article. I've been wondering how to do that... was too lazy to look it up myself, and here it is.

A tip... you might want to change your blog to put the title of the article in the title attribute. When I went to bookmark it on del.icio.us, it doesn't automatically put the title in.... I'm also betting you'd get better search engine traffic.

User 208476 avatar

ipearx replied ago:

1 votes Vote down Vote up Reply

Oh thanks for reminding me. All fixed now.

User 209881 avatar

pcx99 replied ago:

1 votes Vote down Vote up Reply

Hi. I liked the artice, it was well written and easy to read and understand. However you don't need to use the rewrite engine or have access to httpd.conf to get "dzone" style urls. For instance http://url.com/blogs/some_document -- just create a file called "blogs" and insert your php to process the url. Now in .htaccess you just need 3 lines (no rewrite engine required).

<FilesMatch "^blogs$">
ForceType application/x-httpd-php
</FilesMatch>

User 208476 avatar

ipearx replied ago:

0 votes Vote down Vote up Reply

Hi, that is a great tip, thanks!

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (11)



Voters Against This Link (0)