Rewrite rule not redirecting correctly

The answer is to not use plugins, just use Apache’s built in HTAccess. The trick with HTAccess and WordPress so as not to break wordpress rewrite features, is to place the new rule before the RewriteCond statement of wordpress. So the final looks like this:

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]

RewriteRule ^homes-for-sale-details/4420/217007490/177/Fb-landing-page(.*)$ propertylisting1/index.php?success=$1

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

# END WordPress

As you’ll notice, I had to place it in-between the conditions for not found, and the base rewrite rule.

This way works perfectly fine and doesn’t break any of WordPress’ own rules in the process.