Help :(

martian2k4martian2k4 Llama HunterModerator
I am mod rewritting a site and there is a page that is listarticles.php?category=category. I need to turn that into category-category.html and i can't use ID's any 1 got any ideas?
Free MySpace Layouts- Coming soon
Photoshop Tutorials- Coming soon
Premium PHP Scripts- Coming soon

Haha i should really do some work so i can remove all the coming soon's

Comments

  • PythonPython Forum Leader The Royal RAM
    You need to put something like this into a .htaccess file:
    RewriteEngine On
    RewriteRule ^category-(.*).html/$ /listarticles.php?category=$1 [L]
    

    Try that :)

    The Royal Ram

  • martian2k4martian2k4 Llama Hunter Moderator
    Thanks m8, Great help!

    Martian2k4 virtually b!t** slaps Python with a wet fish to say thanks :D
    Free MySpace Layouts- Coming soon
    Photoshop Tutorials- Coming soon
    Premium PHP Scripts- Coming soon

    Haha i should really do some work so i can remove all the coming soon's
  • PythonPython Forum Leader The Royal RAM
    no prob :)

    The Royal Ram

Sign In or Register to comment.