The Problem:
-
Set the home page of WordPress to a specific Paid Memberships Pro checkout page (I don't want this to be done via a custom page template). Example:
User visits: http://www.example.com/
They're redirected to: http://www.example.com/membership-account/membership-checkout/?level=1
-
HIDE the URL, so that it reads simply as:
http://www.example.com/ (the user never knows they've been redirected to a different page template)
What I've tried:
Set the home page to
/membership-account/membership-checkout/
via the admin (this url is missing the query string?level=1
). Doesn't work because I'm trying to target this specific membership level. Site redirects to/membership-account/membership-levels/
Modify .htaccess to
Redirect
the user to the desired page, and thenRewriteRule
back to the root domain...results in a redirect loop error.
Thoughts for how to approach this?