I’ve got a site I’m working on in WPEngine. The site is WordPress but I have a subdirectory with a landing page. The URL is set up like this:

http://www.example.com/landing/

In the landing folder there is a file called index.php which should be the file that my browser is going to but when I edit that file, it doesn’t update the content on the page. I can go to:

http://www.example.com/landing/index.php

And see the changes reflected so it makes me think the file is being drawn from somewhere else. There aren’t any other files in the folder that would make sense for this though. I’ve even tried editing other old copies of the index file that are in this directory but none of the changes are reflected.

I suspected that it was perhaps the .htaccess file messing with the URL since it is on a WPEngine server but that wasn’t the case. I went into the .htaccess file and deleted all the rewrite info and tried again and it didn’t work.

Is there a way to plug a URL into something and have it show you the file name that’s being drawn. I know there’s a way to do it with PHP $_SERVER variables but obviously I can’t get on the page to find this out so I’m stuck.

Any help would be greatly appreciated. Thanks!

Read more here: What Is the Index File of my URL’s subdirectory


Solution:

If you know the solution of this issue, please leave us a reply in Comment section, to update the question.


Wordpress related questions and answers: