stemwinder
asked on
Need to add query string to end of URL via Mod Rewrite
I need to setup my .htaccess file with a rule that rewrites all visits to www.site.com/feedĀ (with or without trailing slash) to www.site.com/feed?w=1
I've attached my current .htaccess contents below.
I've attached my current .htaccess contents below.
php_value memory_limit 128M
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
AddHandler php5-script .php
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.