I'm using the Rewrite Plugin
from the Wordpress plugin site here: Wordpress Plugin Page
I'm trying to get the following URL homes-for-sale-details/4420/217007490/177/Fb-landing-page
to pull up a custom PHP page in the subdirectory propertylisting1
. So this is my rule:
^homes-for-sale-details/4420/217007490/177/Fb-landing-page(.*)$
And I have it redirecting to propertylisting1/index.php
It seems to work because when I go to that URL it actually detects it, but it doesn't display the page I want it to display, it redirects me to the home page, completely redirects me.
I have the rule at the top also.
index.php
file with the necessary query vars to load a WordPress object. Those are parsed in php, not by apache.