Skip to content

Magento 2 – Change Base URL Solved If Links Won’t Change

Just coming back round to coding in Magento again and found an odd issue where the base URL wouldn’t update on the links within the web page / navigation.

With a base URL issue that seemed to last for days on moving base magento 2 install from one server to another. I was missing (web/secure/base_link_url) from all the checks i found online.

So here is my solution:

Disable Cache completely, clean and flush using SSH

Table: core_config_data

pathConfig Path
web/unsecure/base_url = https://etailthis.com/

web/unsecure/base_link_url = https://etailthis.com/

web/secure/base_url = https://etailthis.com/

web/secure/base_link_url = https://etailthis.com/

Reindex for good measure

Enable Cache

Job’s a goodun 😉

Best,
Joe