WordPress 'No page found' errors after changing Domain in YunoHost

I guess it is a bug and I have also the work-a-round for it.

My YunoHost server

Hardware: VirtualBox on Windows 10 Computer, onw DynDNS address
YunoHost version:
I have access to my server : through the webadmin | direct access via keyboard / screen
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : yes
Changing Domain/URL (from https: // old to https: // new)

WordPress gets a wrong update for URL in the database

The Scenario

After changing the Domain in YunoHost, WordPress shows ‘No page found’ errors and the dashboard was ‘broken’ (only text mode).
Going back to the old URL does not fix the issue.

The Problem

After some research about changing URL for WordPress in general, I found out, that in the table wp_options, the entrance for siteurl and home where without the postfix https://

The Work-A-Round

I installed the YunoHost App PhpMyAdmin and change the two entrance siteurl and home in wp_options from example.com to https: // example.com. After restart everything works again.

Hope, that that will save time for other users.



Hi @Snarfbur thanks for taking the time to report back this bug to the forum.

It seems that this has just been fixed (21 hours ago) in the wordpress ynh package see https://github.com/YunoHost-Apps/wordpress_ynh/issues/73 and associated merge request https://github.com/YunoHost-Apps/wordpress_ynh/pull/71

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.