Unfortunately, I have no experience with wordpress, so I don't know what the settings to set within wordpress to get the full path with the index.php on the end to be written to the site code. You will most likely be able to get this information by asking wordpress support.