Music discussion board - forum about music, lyrics, tabs, songs, bands and artists: Clean URLs - Music discussion board - forum about music, lyrics, tabs, songs, bands and artists

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Clean URLs

#1 User is offline   Qwizie Icon

  • Newbie
  • Pip
  • Group: Members
  • Posts: 2
  • Joined: 20-December 09

Posted 19 February 2010 - 09:28 AM

What about clean URLs for the site, using mod_rewrite.


http://www.topinweb....ash_test_(demo)

and make it http://topinweb.com/...ash_test_(demo)

Rewrite:
url.rewrite-once = (
"^/download.php?x=(.*)&y=(.*)&z=(.*)&q=(.*)" => "/download/$1/$2/$3/$4",
)


http://www.topinweb....&q=test&x=0&y=0

and make it http://topinweb.com/search/test/1/0/0

url.rewrite-once = (
"^/search.php?p=(.*)&q=(.*)&x=(.*)&y=(.*)" => "/search/$2/$1/$3/$4",
)

and urlencode() the links on /top-100-mp3.php
Posted Image
1

#2 User is offline   Dreamdemon Icon

  • Administrator
  • Icon
  • Group: Administrators
  • Posts: 54
  • Joined: 05-October 09

Posted 27 February 2010 - 04:51 PM

Thanks a lot. We'll surely use that.
The elevator to success is out of service, but the stairs are always open.
0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users