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

هذا المحتوى متوفر باللغتين الرومانية والإنجليزية فقط؛ يظهر النص الإنجليزي أدناه.

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.

أسئلة ذات صلة

إليك بعض الأسئلة التي قد تهمك إجاباتها. نجيب عن الأسئلة المهمة والعملية لعملائنا.

اشترك في النشرة الإخبارية

اشترك في النشرة الإخبارية. لا نستخدمها إلا للمعلومات المهمة.

رسم توضيحي للاشتراك في النشرة الإخبارية