Forum Moderators: phranque

Message Too Old, No Replies

RewriteRule

         

Mister_L

12:14 pm on Mar 9, 2009 (gmt 0)

10+ Year Member



Hi,

In my root directory there is a folder called 'brands'.
In my index page I've got a link to a brand in that folder with href="brands/brand1.html".The brands folder contains an htaccess file with the following rewrite rule:

RewriteRule ^(.*)\.html$ ../category.php?link_from=$1 [L]

What is supposed to be the exact value of $_GET['link_from'] when the link above is clicked?

Thanks.

jdMorgan

5:44 pm on Mar 9, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



link_from' == "brand1"

Jim