I have a bit of a complicated situation. I'm working on a landing page with an enter link (index.php). The landing page is index.html, however, I am using wordpress rewrite rules to load the entire site as if it were in the index directory.
The wordpress files are in /wordpress/, whereas the site when loaded from mydomain.com loads each page without /wordpress/.
The problem is, when the mydomain.com is loaded, by default index.html is loaded. The link contains an index.php href, but when clicked it brings me back to index.html. I know why it does this, but not sure how to, or if it's even possible to make a rewrite rule to aid this situation.
Here's my htaccess:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /wordpress/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /wordpress/index.php [L]
</IfModule>
# END WordPress
Any help or guidance is appreciated. Thank you!