[Resolved] Change URL, Main Site Functional, Subfolders Not
Recently I installed wordpress on a ubuntu server and my url was “http://test.example.com/wordpress”. I could access it, even got SSL up and running with it. So before the URL change, everything was working fine.
My goal was to change it so the url was “http://test.example.com/” and have everything working from there. So I edit my apache files and redirect the root directory to /var/www/wordpress and a2ensite the apache files. Then I added to my wp-config.php file the following:
I change my SQL database url value and home value to reflect the changes. I restart apache and mysql and I can get to my site at “http://test.example.com”. Once I try to log in, it says the page cannot be found (404). Just to make sure my folders are right…I added a simple index.html file in the wp-admin folder and navigated to it at “http://test.example.com/wp-admin/” and it display the index.html file fine. So I believe there is a setting in WP that I am overlooking. I went through the instructions on the site and some various other sites with no avail. All links on the site work except the Login link. Any suggestions?
For example: https://test.example.com/wp-login.php
The requested URL /wp-login.php was not found on this server.
I appreciate your help!
- The topic ‘[Resolved] Change URL, Main Site Functional, Subfolders Not’ is closed to new replies.