<div dir="ltr"><div class="gmail_default" style="font-family:georgia,serif">What should I add to this directive to target also the home page (root of the website, e.g. <a href="http://website.com">website.com</a>)?<br></div>
<div class="gmail_default" style="font-family:georgia,serif">I already have 'index.php' in the directive but what if I visit <a href="http://website.com">website.com</a> (without /index.php)?<br><br>if ($request_uri ~* "(/wp-admin/|/xmlrpc.php|/wp-(app|cron|login|register|mail).php|wp-.*.php|/feed/|index.php|wp-comments-popup.php|wp-links-opml.php|wp-locations.php|sitemap(_index)?.xml|[a-z0-9_-]+-sitemap([0-9]+)?.xml)")<br>
<br></div><div class="gmail_default" style="font-family:georgia,serif">I think I need to add another if, this time not with ~* though but with =<br>Something like<br><br>if ($request_uri = "(/)")<br><br>..?<br>
<br>
</div><div class="gmail_default" style="font-family:georgia,serif">Thanks in advance!<br></div></div>