SOLVED!!!! WordPress Rewrite Rule
Example.com/hot-presidents.php?celeb=obama&val=big-fan
into
example.com/obama-hot-presidents/
I am trying to do this in WordPress with the following code.
#WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
RewriteRule ^([A-Za-z0-9]+)-hot-presidents/$ hot-presidents.php?celeb=$1&val=big-fan [L]
</IfModule>
What am I doing wrong?
Web Design & SEO Agency | Serving World Wide from New Delhi, India
The 2nd Amendment, 1789 - The Original Homeland Security.
Gun control means never having to say, "I missed you."
Web Design & SEO Agency | Serving World Wide from New Delhi, India
Web Design & SEO Agency | Serving World Wide from New Delhi, India
:)