העבר את הבלוג של וורדפרס לדומיין חדש
המעבר לדומיין חדש באמצעות הבלוג שלך בוורדפרס יכול להיות מעצבן בדיוק כמו לעבור לחיים האמיתיים. יש לנו כמה טיפים עבורך כדי שתוכל לעבור את הבלוג שלך בצורה חלקה ככל האפשר.
ייצוא נתוני וורדפרס
כבר בתחילת שינוי הדומיין שלך, עליך לייצא ולשמור את הנתונים שלך. בראיית הנולד החכמה, מפתחי וורדפרס סיפקו לכם כלי לכך.
- כדי לייצא את הנתונים, עבור תחילה ללוח המחוונים שלך.
- לאחר מכן תוכלו למצוא את "כלים" בצד שמאל ולבחור "ייצא נתונים". אתה יכול לבחור אילו נתונים יש לייצא, אם אתה מעביר את הבלוג כנראה שתבחר את כולם.
- לאחר שבחרת, לחץ על "הורד קובץ ייצוא" ואז הנתונים יישמרו במחשב שלך.
- בקובץ "wp-config.php" תוכלו למצוא את נתוני הגישה הקודמים שלך, כגון "DB_Name", "DB_Password", "Db_Host" ו- "DB_User". אתה מחליף את נתוני התחום "הישן" שלך בנתוני הגישה החדשים.
- כדי לייבא את נתוני וורדפרס לתחום החדש שלך, עקוב אחר אותו מסלול שתואר לעיל, אך במקרה זה אתה בוחר באפשרות "ייבא נתונים".
קבצי מסד הנתונים של הבלוג שלך
- אתה יכול לייצא את קבצי מסד הנתונים שגיבוי באמצעות MySQL, למשל, ולשמור אותם במחשב שלך.
- כמובן שעליך גם לעדכן את הרשומות עבור מסד הנתונים של הדומיין החדש שלך בנתוני בסיס הנתונים. שני הטבלאות "wp_options" ו- "wp_posts" מכריעים.
- כמובן שתוכלו לבצע גם את השינויים באופן ידני. עם זאת, תוכנית phpMyAdmin תהפוך את המשימה לנוחה יותר, ובעיקר, מהירה יותר באופן משמעותי.
- על מנת לשנות את הערכים בטבלאות "wp_options" ו- "wp_posts", לחץ על הכרטיסייה SQL ב- phpMyAdmin ואז הזן את שתי הפקודות הבאות - לפיהן תחליף כמובן את "myOldDomainAddress" ו- "myNewDomainAddress" בכתובות האתר התואמות שלך:
- לשינויים בטבלה "wp_options": UPDATE wp_options SET option_value = להחליף (option_value, '//www.meineAlteDomainAdresse.de', '//www.meineNeueDomainAdresse.de') WHERE option_name = 'home' או option_name = 'siteurl ";
- לשינויים בטבלה "wp_posts": UPDATE wp_posts SET guid = להחליף (guid, '//www.meineAlteDomain.de', '//www.meineNeueDomain.de');
- לאחר שתעשה זאת, ייבא את בסיס הנתונים לתחום החדש שלך.
הפנה מנועי חיפוש לתחום החדש שלך
לבסוף, אתה משתמש ב" 301 להפניה מחדש "כדי ליידע את מנועי החיפוש שהעברת את הבלוג שלך ב- WordPress. בנוסף, אתה מעביר את המבקרים שהגיעו לדומיין הישן באמצעות מנוע חיפוש לתחום הוורדפרס החדש שלך.
- בספריית השורש של השרת של הדומיין "הישן", צור קובץ ".htaccess". אנא אל תשכח את התקופה שלפני ה- htaccess ואז הזן את הדברים הבאים בקובץ:
- כתוב מחדש המנוע ב-
- RewriteCond% {HTTP_HOST}! ^ Www \ .meineNeueDomain \ .de $
- RewriteRule ^ (. *) $ //Www.meineNeueDomain.de/$1 [L, R = 301]
אם אתה רוצה לדעת כמה מבקרים מוצאים את דרכם לדומיין החדש שלך, נספר לך כיצד להכניס בקלות דלפק מבקרים בוורדפרס.