General Settings vs database settings
-
Hi,
Could someone explain how the WordPress General settings for
Wordpress Address (URL) and
Site Adress (URL)
and the database wp-options
siteurl and
home
is connected to each other. I am trying to give WordPress it’s own directory, and I want to change the value in the database with phpmyadmin.Is it:
1.)
Wordpress Address (URL) = home
Site Adress (URL) = siteurl
or
2.)
Wordpress Address (URL) = siteurl
Site Adress (URL) = homeThe 1. seems more likely? But then what were they thinking when they named the WordPress Address (URL) db field to “home”? It could also easily connotate home as in the sense “the home url of the website”.
And more:
I guess that the define(‘WP_SITEURL’, ‘https://example.com/wordpress’); writes to the siteurl database field, and define(‘WP_HOME’, ‘https://example.com/wordpress’) writes to the database field home.
- The topic ‘General Settings vs database settings’ is closed to new replies.