Move Wordpress to racine domain

My YunoHost server

Hardware: Raspberry Pi.
YunoHost version: 4.3.3 (stable)
I have access to my server : All the way.
Are you in a special context ? : no

Description of my issue

I have WordPress install on domain.tld / site. I was on the application to click on: " Set as default "via the webadmin. But when I go to the domain.tld link I get an error message Redirection error: invalid URL and the SSO login / password request.

I tried in command line by passing it on a domain test.domain.tld then move it back to domain.tld without putting a path but I have the same error.

My conf.json.persistent file is populated as follows:

{
    "permissions": {},
    "redirected_urls": {        
        "domain.tld/": "domain.tld/site"
    },
    "theme": "version01"
}

I’m running out of idea, I made a backup with a WordPress plugin with the view that the only solution would be to uninstall the software.

Thanks for your feedback: slight_smile:
Guillaume


Mon serveur YunoHost

Matériel: Raspberry Pi.
Version de YunoHost: 4.3.3 (stable)
J’ai accès à mon serveur : De toute les manières.
Êtes-vous dans un contexte particulier ? : non.

Description du problème.

J’ai WordPress d’installer sur domaine.tld/site. J’ai été sur l’application pour cliquer sur : “Définir par défaut” via la webadmin. Mais lorsque je vais sur le lien domaine.tld j’ai un message d’erreur Erreur de redirection : URL invalide et la demande de login/mot de passe du SSO.

J’ai tenter en ligne de commande en le passant sur un domain test.domain.tld puis le redéplacer sur domain.tld sans mettre de path mais j’ai la même erreur.

Mon fichier conf.json.persistent est rempli comme suit :

{
    "permissions": {},
    "redirected_urls": {        
        "domain.tld/": "domain.tld/site"
    },
    "theme": "version01"
}

Je suis à court d’idée, j’ai fait une sauvegarde avec un plugin WordPress dans l’optique ou la seule solution serait la désinstallation du logiciel.

Merci pour vos avis :slight_smile:
Guillaume

This morning i try something different and i have this log


domain: null
ended_at: 2021-11-18 07:59:07.585065
error: 'Fichier JSON corrompu en lecture depuis /etc/ssowat/conf.json.persistent (raison
  : Expecting property name enclosed in double quotes: line 5 column 5 (char 102))'
interface: api
operation: app_makedefault
parent: null
related_to:
- - app
  - my_webapp
- - domain
  - maindomain.tld
started_at: 2021-11-18 07:59:07.564532
success: false
yunohost_version: 4.3.3

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