• 0

.htaccess help


Question

Hey all, i'm wanting some help on a rewrite.

Basically, i want to design a rewrite in 1 line that will be generic that will follow the follow syntax:

/section/page/action/id/ => section-page.php?theaction=action&theid=id

while at the same time working for all sub parts of this, so:

/section/page/action/ =>section-page.php?theaction=action

/section/page/action/id/ => section-page.php

/section/ => section.php

My one downfall is regular expressions, just can't seem to grasp them.

Any help would be very welcome!

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.