WordPress is new for me. I want to fix a bug in a WordPress site for a client. Tries to setup a test environment using Scotch Box, but the website keeps redirecting to the live environment. I have tried the following
Tried the same with DEFINE in wp-config:
define('WP_HOME','http://192.168.33.10');
define('WP_SITEURL','http://192.168.33.10');
I even put a die();
in the index.php
file, which it apparently doesn't even reach as it is still redirecting.
.htaccess
file, there is none.I do not really understand how this is possible. Is there anything else I should try? Btw, the website is using the 'Maxima Theme'.
Solved it, chrome was redirecting the ip.. Worked with another browser and now works with Chrome after clearing the browser data.