.htaccess mod_rewrite Question

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Publisher Bucks
    Confirmed User
    • Oct 2018
    • 1330

    #1

    .htaccess mod_rewrite Question

    Is it possible to use mod_rewrite to change the url from something like this...

    domain.com/blah.php?id=45

    To the following:

    domain.com/blah/keyword/

    If the data that I want to have in the new URL is only included in the page using calls to an SQL database and each page is dynamic?
    Extreme Link List - v1.0
  • Colmike9
    (>^_^)b
    • Dec 2011
    • 7230

    #2
    Yeah it's possible.
    Here's some good info to learn:
    https://www.smashingmagazine.com/201...url-rewriting/
    Join the BEST cam affiliate program on the internet!
    I've referred over $1.7mil in spending this past year, you should join in.
    I make a lot more money in the medical field in a lab now, fuck you guys. Don't ask me to come back, but do join Chaturbate in my sig, it still makes bank without me touching shit for years..

    Comment

    • ZTT
      Confirmed User
      • Apr 2019
      • 659

      #3
      Short answer is yes.

      domain.com/blah/keyword/ is just a nicer looking alias for something like domain.com/?dir=blah&id=keyword

      Search pretty urls.
      __________________

      Comment

      • Publisher Bucks
        Confirmed User
        • Oct 2018
        • 1330

        #4
        Thanks guys
        Extreme Link List - v1.0

        Comment

        Working...