We’ve been trying to figure out why after installing wordpress within the var/www/html directory on LAMP running ubuntu 14.04 (which is said to be the standard location for the uploaded files), that the SSL enabled site is not registering as one address, but as multiple addresses,(such that after WordPress installation completed from the browser on the https:// address, we’d check the http:// location and it would appear as an "Index of/ page just showing a folder directory icon titled “html”, while the other https address correctly shows the page for a newly installed wp site. ) When WordPress was uninstalled, and then reinstalled from within the browser at the http:// location, the install program appeared within a subdirectory http://domain.com/html/wp-admin/install.php. After completion of the install, the site is shows up only from within the html/ subdirectory location, so if www.domain.com/wp-admin is typed, a “Not found” page shows. Any information would be greatly appreciated.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
I enabled HTTP2 after struggling a lot and now internal pages (wordpress) are not working. 404 error.
Hi,
I have Ubuntu 14.04 and using WordPress multi-site with sub-directory installation. I have installed SSL certificate following the below tutorial.
Problem is, if I check the home page it is working fine with https:// but if I check any page of the site, it is showing the below 404 error with https://
"Not Found
The requested URL /login/ was not found on this server.
Apache/2.4.7 (Ubuntu) Server at {mysiteurl} Port 443
I even added define(FORCE_SSL_ADMIN, true); in my wp-config,php but of no use. It is showing 404
Please confirm whether any special settings are to be done in WordPress for SSL certificate.
If I am replacing http:// with https:// in my database it is showing “Error establishing database connection” or 404 to every page except home page.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.