How To Exclude File from Wordpress Redirect
I have a file called hoplink.php and I need to pass a value vin=xxxxx but I want to include the url like domain.com/hoplink/xxxxx
I have tried the code below in the htaccess file but it seems to still be picked up by wordpress and treated as a 404.
Any Help would be appreaciated.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^hoplink/([A-Za-z0-9-]+)/?$ hoplink.php?vin=$1 [L]
</IfModule>
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
John Hocking
~ Ultra Fast Product Creation - Creating your own products is where the real money is... Let me show you how in this step by step guide.
~ Get Your Mind Right and Everything Else is Easy! Law of Attraction States...You Attract What You Think About.