Blogger to Hosted Wordpress المدون لاستضافة WordPress
February 2nd, 2007 · by David Bradley شباط / فبراير 2nd ، 2007 من قبل ديفيد برادلي
As readers will hopefully have realised by now, Significant Figures was formerly a Blogspot blog and is now part of the new ScienceText.com site. كما نأمل ان القراء قد أدرك الآن ، كبيرة كانت في السابق احد الارقام Blogspot بلوق وهي الآن جزء من الموقع الجديد sciencetext.com. We’ve had a few teething troubles with redirects and missing themes, and broken links and the like that I’ve mashed out in these pages over the last couple of days in the form of hopefully generally useful Tips&Tricks for others in a similar predicament. كما اننا تلقينا بعض المتاعب مع التسنين يعيد توجيه المواضيع والمفقودين ، وصلات مقطوعه ، ومثل هرس التي قمت بها في هذه الصفحات على مدى اليومين الماضيين في شكل نصائح مفيدة عموما نأمل & الخدع للآخرين في مأزق مماثل. Well, the latest, and hopefully last thing to iron out was the old references in the search engines and elsewhere to specific posts from the archives. وأيضا ، وآخرها ، ونأمل ان آخر شيء كان لتسوية القديمة والمراجع في محركات البحث والى وظائف محددة في اماكن اخرى من الارشيف.
As the new blog architecture renders URLs with the postname.html in the root of the domain eg www.sciencetext.com/this-post-here.html there were numerous links from the old Blogger archives that were trying to open www.sciencetext.com/2006/11/this-post-here.html. كما بلوق الهيكل الجديد يجعل عناوين المواقع مع postname.html في الاسباب الجذريه للwww.sciencetext.com المجال على سبيل المثال / - هذا ما بعد here.html فان هناك العديد من الروابط القديمة المدون المحفوظات التي كانت تحاول فتح www.sciencetext. com/2006/11/this-post-here.html. This was producing a preponderance of 404 missing page error messages. وكان هذا وضع رجحان الصفحه 404 في عداد المفقودين رسائل خطأ.
The fix involves opening the root .htaccess file and adding the following code. تصحيحات ينطوي على فتح الجذر. Htaccess الملف واضافة الشفره التالية. This does a rewrite on the incoming URL and strips out any sub-folder structures (with numbers), adds the .html to the end and then opens the page as if it were in the root folder as it should هل هذا اعادة كتابة المقبل على موقع ويجرد أي مجلد الهياكل الفرعية (مع الارقام) ، وتضيف. لغة تأشير النص الفائق الى نهاية وبعد ذلك يفتح صفحة كما لو كان في مجلد الجذر على ما يرام
<IfModule mod_rewrite.c> <ifmoduleMod_rewrite.c>
RewriteEngine On على rewriteengine
RewriteBase / Rewritebase /
RewriteRule ^([0-9]{4})/([0-9]{1,2})/([^/]+).html$ $3\.html [QSA,R,L] ^] [روريترول] ([0-9] (4})/([ 0-9] (1،2})/([^/]+). لغة تأشير النص الفائق $ $ 3 \. لغة تأشير النص الفائق [qsa ، ص ، ل]
</IfModule> </ Ifmodule>
I figured this out with the help of the انني ظهرت مع ذلك للمساعدة Wordpress forum منتدى WordPress , but it required some tweaking of Otto42’s solution on that page to get it work just right. ، ولكنها تحتاج الى بعض اللف otto42 الحل الذي من على هذه الصفحه للحصول على انها مجرد الحق في العمل.
If you have a similar problem moving an old blog to new hosting with posts in a different folder then you should be able to adapt this piece of code to work for you. اذا كانت لديك مشكلة مماثلة بلوق قديم الانتقال الى استضافة جديدة مع وظيفة في مجلد آخر ثم يجب أن تكون قادرة على التكيف مع هذه القطعه من قانون العمل بالنسبة لك. If there are letters in the folder names as well as numbers, then you need to add [AZ][az] to encompass those in the script. واذا كانت هناك رسائل في مجلد وكذلك أسماء الأعداد ، ومن ثم تحتاج الى اضافة [اتصال] [من الالف الى الياء الاقامة] ليشمل في هذه المخطوطه.






















1 response so far ↓ 1 رد حتى الان ↓
David Bradley ديفيد برادلي // / / Sep 27, 2007 at 1:01 pm 27 ايلول ، 2007 في الساعة 1:01
Amit Agarwal on Amit على اغاروال Digital Inspiration الإلهام الرقمي gives us yet another reason to switch from Blogger Blogspot to another system, especially if you’re using Feedburner for your feeds - Sitemap Warnings! يعطينا سببا آخر للتحول من المدون Blogspot الى نظام آخر ، لا سيما اذا كنت تستخدم لfeedburner الخاص بك الفيد -- خريطه الموقع التحذيرات!
Leave a Comment ترك التعليق