How do I move WordPress from a subfolder to my domain's main address?

Ce contenu n'est disponible qu'en roumain et en anglais ; le texte anglais est affiché ci-dessous.

How do I move WordPress from a subfolder to my domain's main address?

Before moving anything, save a copy of your files and database, and check whether the main directory already contains a website you could overwrite. Record the current URLs and decide whether you want to move the entire installation or simply display the site at the main address: these require different approaches.

For a complete move, follow the WordPress relocation documentation, update the site URLs and check the permalink rules. If you replace URLs in the database, use a tool that handles serialised data rather than a simple replacement in an SQL file. Test login, images, forms and internal pages, then configure redirects from the old URLs to the new ones.

QUESTIONS SIMILAIRES

Voici quelques questions dont les réponses pourraient vous intéresser. Nous répondons aux questions importantes et pratiques de nos clients.

ABONNEZ-VOUS À LA NEWSLETTER

Abonnez-vous à notre newsletter. Nous l’utilisons uniquement pour les informations importantes.

Illustration abonnement à la newsletter