.htaccess rule not working

I’m running a wordpress site. For marketing, I was asked to make a shorter URL (must keep old one too from past marketing). So I thought I would create a rewrite rule.

I would like this url: www.a3performance.com/fastestsuit
point to this url: www.a3performance.com/legend-fastest-racing-suit/

So far I tried this, however, it doesn’t seem to work:
RewriteRule ^fastestsuit/(.*)$ /legend-fastest-racing-suit/$1 [R=301,NC,L]

Have you turned on the Rewrite engine?

Try this:

<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteRule ^fastestsuit$ legend-fastest-racing-suit [R=301,NC,L]

Or you can use Redirection plugin for this.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.