Do not view my site's domain

1

I installed a home server (debian Linux + no-ip + apache + mysql + wordpress + clud dns).

My problem is that:

It accesses www.prensanuble.cl BUT when I try to access any link of the site it stops showing the domain ie:

link (should show so in the browser) link (this is showing like this, it does not show the domain but the NO-IP)

Can you give me some help, please? I have access to the full server. Thanks!

    
asked by anonymous 11.03.2017 / 15:03

1 answer

1

As clarified in the comments, you have maintained the WP_SITEURL setting with the NO-IP domain:

define('WP_HOME', 'prensanuble.ddns.net'); 
define('WP_SITEURL', 'prensanuble.ddns.net/html');

The WP_SITEURL setting is used internally by WordPress to generate the URLs in the body of the page so, regardless of which domain you are using to access it, URLs will be generated under the specified domain.

Just change to:

define('WP_SITEURL', 'www.prensanuble.cl');

That should work as expected.

    
11.03.2017 / 15:33