Cannot change website adress / URL
-
Good day: I cannot change website address, and:
– It’s locked on my Admin General Setting from the dashboard (in grey / not changeable)
– I tried with wp-config.php:
replacing:
define( ‘WP_HOME’, ‘http://’ . $_SERVER[‘HTTP_HOST’] . ‘/’ );
define( ‘WP_SITEURL’, ‘http://’ . $_SERVER[‘HTTP_HOST’] . ‘/’ );with:
define( ‘WP_HOME’, ‘http://brut-url/’ );
define( ‘WP_SITEURL’, ‘http://brut-url/’ );– I tried with function.php from my active theme by adding
update_option( ‘siteurl’, ‘http://brut-url/’ );
update_option( ‘home’, ‘http://brut-url/’ );The issue is that it shows IP adress of my server and I added domain yesterday, but some link (auto generated by WP) still shows IP adress, so I tried as well in my wp-config file:
define( ‘SP_REQUEST_URL’, ($_SERVER[‘HTTPS’] ? ‘https://’ : ‘http://’) . $_SERVER[‘HTTP_HOST’] );
define( ‘WP_HOME’, SP_REQUEST_URL );
define( ‘WP_SITEURL’, SP_REQUEST_URL );But nothing works, anything else to try doing?
Je n’ai pas encore de site WordPress.com
-
No I removed all changes I made, it has been « automatically » updated on some links, but not all of them….
-
Bonjour,
Nous sommes sur le forum francophone de WordPress.com, vous pouvez nous écrire en français. Concernant votre demande, de il semblerait que votre site ne soit pas hébergé chez nous, bien qu’il s’agisse d’un site WordPress. Pouvez-vous me confirmer l’adresse du site SVP que je vérifie ?
- Le sujet ‘Cannot change website adress / URL’ est fermé aux nouvelles réponses.