SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Thread: link question

  1. #1
    SitePoint Addict
    Join Date
    Sep 2008
    Posts
    235
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    link question

    dear everyone, i know that this post is not php but i dont know where to put it..

    all that i need is to know how to change the link from
    http://www.example.com?category1=aut...egory3=elkersh
    to
    www.example.com/automotives/cardeelers/elkersh

    using htacess file

  2. #2
    Certified Ethical Hacker silver trophybronze trophy dklynn's Avatar
    Join Date
    Feb 2002
    Location
    Auckland
    Posts
    14,672
    Mentioned
    19 Post(s)
    Tagged
    3 Thread(s)
    jz,

    You could do that but you'd only get 404 replies from your server (it can't serve automotives/cardeelers/elkersh can it?).

    You might benefit from reading the mod_rewrite tutorial linked in my signature as it contains explanations and sample code. It's helped may members and should help you, too.

    Regards,

    DK
    David K. Lynn - Data Koncepts is a long-time WebHostingBuzz (US/UK)
    Client and (unpaid) WHB Ambassador
    mod_rewrite Tutorial Article (setup, config, test & write
    mod_rewrite regex w/sample code) and Code Generator


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •