WordPress Preview issues

Previewing Wordpress projects no longer working

Ian avatar
Written by Ian
Updated over a week ago

Recent changes to preview to project dynamic ports may require existing wordpress projects to be updated

In the wp-config.php file where the definition of the box URLs are (lines 34>37) if you may have something like

define('WP_HOME','https://gossip-donor.codio.io:3000/wordpress');
change to
define('WP_HOME','https://gossip-donor.codio.io:3000/wordpress');

change to 

define('WP_HOME','https://gossip-donor-3000.codio.io:/wordpress');
change to
define('WP_HOME','https://gossip-donor-3000.codio.io:/wordpress');

And to your .codio file make similar changes, removing the :3000 and replacing {{domain}} with {{domain3000}}

Did this answer your question?