Having problems changing the default URL to root in wordpress
The standard process is to run the following command:
$ sudo /opt/bitnami/apps/wordpress/updateip --appurl /
This command changes the following options:
Check the /opt/bitnami/apps/wordpress/conf/wordpress.conf file. It should be similar to this:
# App url moved to rootDocumentRoot "/opt/bitnami/apps/wordpress/htdocs"#Alias /wordpress/ "/opt/bitnami/apps/wordpress/htdocs/"#Alias /wordpress "/opt/bitnami/apps/wordpress/htdocs"<Directory "/opt/bitnami/apps/wordpress/htdocs"> Options Indexes MultiViews +FollowSymLinks AllowOverride All Order allow,deny Allow from all RewriteEngine On #RewriteBase /wordpress/ RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . index.php [L]</Directory>
Then clear your browser cache and try to access again to your URL.
If you want to configure the gray out options in the WordPress admin panel, you can specify your domain name at /opt/bitnami/apps/wordpress/htdocs/wp-config.php. Replace $_SERVER['HTTP_HOST'] with your own domain name.
define('WP_SITEURL', 'http://' . $_SERVER['HTTP_HOST'] . '/');define('WP_HOME', 'http://' . $_SERVER['HTTP_HOST'] . '/');
I hope it helps.