Skip to content
This repository has been archived by the owner on Oct 9, 2020. It is now read-only.

Exclusion List shows root server directory #144

Open
Roadsider opened this issue Jun 25, 2013 · 1 comment
Open

Exclusion List shows root server directory #144

Roadsider opened this issue Jun 25, 2013 · 1 comment

Comments

@Roadsider
Copy link

This cannot be right. Why is this showing up? I can't get to the website directory to exclude anything within that.

screenshot_6_21_13_3_18_pm

@michaeldewildt
Copy link
Collaborator

If you have your WordPress installation setup to run in a different directory the plugin will show files from the WordPress Address (URL) and the Site Address (URL).

It will then backup the WP_CONTENT_DIR followed by what is returned by get_home_path() => https://github.com/WordPress/WordPress/blob/master/wp-admin/includes/file.php#L81

In your case it looks like this function is returning '/' for some reason. Is this what your document_root is set to in Apache?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants