If you can help – trying migration. Executing index.php instead of logging in
-
I’m in the middle of the migration in preparation for running “Better Search Replace” and am hoping you can help me. I added the following lines to my wp-config.php file:
define(‘WP_HOME’,’https://www.example.com’);
define(‘WP_SITEURL’, ‘https://www.example.com’);where “https://www.example.com” is my site’s URL. When I go to https://www.example.com/wp-admin instead of the WordPress login it downloads a file named “download” with the contents of the wp-blog-header.php file in it.
Can you give me any tips on what might be wrong? Do I need to include these lines early on in the wp-config.php file? Is there a work-around where I can go into the mySQL database and update WP_HOME and WP_SITEURL instead just to be able to login to WordPress?
Any tips you have would be great.
Thanks!
- The topic ‘If you can help – trying migration. Executing index.php instead of logging in’ is closed to new replies.