0

I have my Wordpress installation located in "webroot/example.com/WP" folder.

Currently, http://example.com shows a 404 page not found error.

However, http://example.com/WP loads the Wordpress site. In the

Settings->General area, I have both Wordpress URL and Site URL set to http://example.com/WP

Now, I would like to change only the Site URL to http://example.com so that that is the URL that people enter to visit the site.

I tried logging into phpMyAdmin and editing the 'home' field to http://example.com

However, the result is the same.

I followed the instructions given in the Wordpress Codex but to no avail.

0

Now move your files and folders outside of the WP folder.

It's possible to use .htaccess rewrite rules "trick" the browsers though, but if your not familiar with how to do that, I recommend not doing so.

| improve this answer | |
  • I'm on Windows hosting. Some solutions I have read suggest that I place the index.html file in the example.com folder and modify it. Would I still need .htaccess? – Joebevo Aug 24 '18 at 10:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.