Jump to content

starboy

New Members
  • Posts

    3
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

starboy's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. I want to achieve a link like so: events/title-of-event But not quiet sure how I do that without passing it the id in the mod rewrite.. (ie: events/20/title-of-event) anyone ever run into this problem?
  2. RewriteRule ^events/([0-9]+)/?$ detail.php?id=$1 [NC,L]
  3. So I have a bunch of unique pages I'm populating with _GET from the value in my url (noob stuff) But after doing numerous amounts of research I CAN NOT get it to rewrite the URL.. Example url localhost/detail.php?id=20 I want the above to be.. localhost/detail/20 this is what I have currently in my .htaccess RewriteEngine On RewriteRule ^details/([0-9]+)/?$ detail.php?id=$1 [NC,L] # Handle detail requests (ps. I thought maybe I didn't have Apache configured correctly by I can redirect index.php to anything)
  4. starboy

    Hello

    Deciding to broaden my horizons by stepping into the "back-end" community. I'm considered a web designer / front-end developer by trade, but am now looking to expand my knowledge on development. I have played with everything from ASP to Ruby but never really dedicated the time to really understanding whats happening. Glad to be here, and hope I can contribute to the community!
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.