Quick Mod-rewrite & Php Fix

Please dont bid until we talk in PMB. Dont copy and paste your company sales letter to me.

The issue is that when I access my mod-rewritten URLs, they arent able to capture/echo the extra URL parameters that I use in the URL.

Here is the mod rewrite:

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^page/([^_]*)\.html$ page/index.php?a=$1 [L]

RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

The mod-rewrite works perfectly, but When I goto www.domain.com/page/something.html?word=duck&sound=quak

and use <?php echo($_GET[“word”])?> & <?php echo($_GET[“sound”])?> It doesnt echo it in the PHP page.

Leave a Reply

Your email address will not be published. Required fields are marked *