Unlimited $1.99 domain names - We use goDaddy غير محدود 1،99 دولار أسماء النطاقات -- نحن نستخدم godaddy
Powered by MaxBlogPress تصميم maxblogpress

المدونات خطأ : لا تستخدم يعيد توجيه 301 | jtpratt للاخطاء المدونات
Jtpratt للاخطاء المدونات


Home المنزل » Blogging Mistake: Not Using 301 Redirects »المدونات خطأ : لا تستخدم يعيد توجيه 301



Posted in: نشر في :

المدونات الفئة صورة- فئة المدونات اخطاء صورةالفئة صورة WordPress- وحدات الفئة WordPress صورةWordPress سيو - فئة الصورة
1,481 views 1.481 آراء


Please note: This page was originally written in English. يرجى ملاحظه : هذه الصفحه مكتوب اصلا باللغه الانكليزيه.

The original post can be viewed الاصلي ويمكن النظر الى ما بعد here هنا .

Please note: This page was originally written in English.

The text has been translated using an online service such as Google or Babelfish.

The original post can be viewed here.


If you are not using 301 Redirects you are making a blogging mistake. واذا كنت لا تستخدم يعيد توجيه 301 أنت جعل المدونات على خطأ. 301 Redirects are easy to setup, save your google pagerank and link love, and save your visitors from a nasty “Error 404 - Not Found” page. 301 يعيد توجيه سهلة الاعداد ، احفظ الصفحه صور الحب والارتباط ، وانقاذ للزائرين من مقرف "خطا 404 -- لم يتم العثور على الصفحه". What is a 301 redirect? ما هو اعادة توجيه 301؟ It’sa single line you add to you “.htaccess” file (more on this later) that says ‘anyone that visits that URL - send them to that URL instead’. It'sa تقوم باضافه خط واحد لكم ". Htaccess" الملف (اكثر على ذلك لاحقا) ويقول ان 'أي شخص آخر ان الزيارات التي يمكن ان موقع -- ارسالها الى العنوان بدلا من ان'. The redirect can happen witin your site, you can redirect to an external site - it’s basically from any URL to any URL. اعادة التوجيه يمكن ان يحدث witin موقعك ، يمكنك اعادة توجيه الى موقع خارجي -- انه اساسا من أي موقع الى أي موقع.

Here are some scenarios where you would use a 301 redirect: وهنا بعض السيناريوهات حيث كنت اعادة توجيه استخدام 301 :

  1. You’ve changed your permalink structure لقد قمت بتغيير الهيكل الخاص بك الدائم
  2. You’ve accidentally deleted a post and need to recreate it كنت قد حذف بطريق الخطأ بعد وانها بحاجة الى اعادة
  3. You wish to change the post slug (url) to make it more seo friendly اردت ان تغير ما بعد الدوده البزاقه (موقع) لجعلها اكثر ملاءمة للسيو
  4. You have a bunch of 404’s for pages that don’t (and maybe never) existed لديك مجموعة من 404 لللصفحات التي لا (وربما ابدا) موجودة
  5. You recently moved from one blogging platform to another (drupal, blogger, movable type, etc., to wordpress) كنت انتقل مؤخرا من المدونات منهاج واحد الى آخر (دروبال ، المدون ، منقوله نوع ، وما الى ذلك ، WordPress)
  6. You changed, recreated, or renamed your categories لكم تغيرت ، وصوغه ، او اعادة تسمية فئات الخاصة بك

If you’re using Wordpress, you can try and install a module to add redirects directly from your admin panel. اذا كنت تستخدم الكلمات يمكنك ان تحاول وتركيب وحدة لاضافة مرات إعادة التوجيه الخاص بك مباشرة من ادارة الفريق. I personally have not had luck with this plugin, but some have - you’re welcome to try the وأنا شخصيا لم ألحظ مع هذا البرنامج المساعد ، ولكن البعض -- فنحن نرحب بك لمحاكمة Objection Redirection Wordpress 301 Redirect Plugin اعتراض اعادة توجيه اعادة توجيه البرنامج المساعد WordPress 301 and see if it works for you. وترى اذا ما كانت تعمل من اجلك.

If it doesn’t (or if you’re not using Wordpress), you’ll need to edit your .htaccess file yourself. اذا لم يكن (أو اذا كنت لا تستخدم WordPress) ، ستحتاج لتحرير الخاص بك. Htaccess الملف نفسك. If using Wordpress, you should already have a file called “.htaccess” in the root of your web site. اذا كنت تستخدم الكلمات يجب ان يكون لها بالفعل ملف يسمى ". Htaccess" في الجذر من موقعك على الانترنت. If not, you’ll need to create it. اذا كان الجواب بالنفي ، ستحتاج إلى إنشائه. Open up any text editor (notepad) on your PC. فتح اي محرر نصوص (المفكره) على حاسبك الشخصي. You’ll need an FTP account and FTP access to your web site to do this. أنت بحاجة الى وجود حساب بروتوكول نقل الملفات بروتوكول نقل الملفات والوصول الى موقع الويب الخاص بك لذلك. If using Wordpress, download your .htaccess file. اذا كنت تستخدم الكلمات تنزيل. Htaccess الملف. It should already look something like this: وينبغي أن ننظر فعلا شيء مثل هذا :

 <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . <ifmoduleMod_rewrite.c> rewriteengine على rewritebase / rewritecond ٪ () request_filename! Rewritecond ٪ - و) (request_filename!] [روريترول] - د. /index.php [L] </IfModule> / index.php [ل] </ ifmodule> 

If you’re not using Wordpress, download your .htaccess file and open it (or create a new one if you don’t have one already). اذا كنت لا تستخدم الكلمات تنزيل. Htaccess الملف وفتحه (أو أصنع واحدا جديدا اذا لم يكن لديك بالفعل واحدة). Basically - you’re going to add one line for each redirect. اساسا -- انت الذهاب الى اضافة سطر واحد عن كل اعادة توجيه. It’s very simple: انه بسيط جدا :

Redirect 301 “/blog” http://www.yourwebsite.com إعادة توجيه 301 "/ بلوق" http://www.yourwebsite.com
Redirect 301 “/page.html” http://www.yourwebsite.com/page.html إعادة توجيه 301 "/ page.html" http://www.yourwebsite.com/page.html
Redirect 301 “/subdir/oldpage.html” http://www.yourwebsite.com/subdir إعادة توجيه 301 "/ subdir / oldpage.html" http://www.yourwebsite.com/subdir
Redirect 301 “/blog” http://www.anotherwebsite.com إعادة توجيه 301 "/ بلوق" http://www.anotherwebsite.com

I tried several ways to do this, and this is the one that works for me every time. حاولت عدة طرق للقيام بذلك ، وهذا هو انه يعمل للي في كل مرة. I’m hosted on a Linux server running Apache. انا على استضافتها لينكس تشغيل خادم اباتشي. Every line starts with “Redirect 301 “. كل خط يبدأ "اعادة توجيه 301". Then (always in quotes) is the path on your server to redirect. ثم (دائما بين مزدوجين) هو الطريق على الخادم الخاص بك لاعادة توجيه. I always start it with a slash (that means from the root of your site). لي دائما انه مع بدء القطع (وهذا يعني من الجذر لموقعك). There is no need to write out your full domain name in the first part. ليس هناك حاجة لكتابة اسمك الكامل اسم النطاق في الجزء الاول. You can redirect a directory, a page, a page in a sub-directory, etc. Then just write the full URL to the page you are redirecting to. يمكنك اعادة توجيه دليل ، صفحة ، صفحة موجودة في دليل الفرعية ، الخ ، ثم اكتبوا العنوان الكامل على الصفحه انت الى اعادة توجيه. You can redirect to a page in your site, a sub-directory, or a page in a sub-directory. يمكنك اعادة توجيه ألى صفحة في موقعك ، دون دليل ، او صفحة في دليل فرعي. You can even redirect from your site to another (external) web site. حتى انك تستطيع ان تعيد توجيه من موقعك الى اخرى (خارجي) موقع على شبكة الانترنت.

That’s it! كل هذا و زيادة! Save you file and FTP back to the root of your web site and you’re done! انقاذ لكم وبروتوكول نقل الملفات ملف العودة الى جذور موقع الويب الخاص بك وانت القيام به!

The reason I had to setup some 301 Redirects is because I migrated one of my web sites from Drupal to Wordpress. والسبب واضطررت الى 301 يعيد توجيه بعض الاعداد لأنني هاجرت من بلدي واحد من المواقع على شبكة الانترنت لدروبال WordPress. With the date based permalink structure in Wordpress, the URL’s of all of my important pages with pagerank was screwed up. مع هيكل الدائم القائم حتى الآن في الكلمات عنوان الموقع للجميع من بلدي الصفحات المهمة مع تصنيف الصفحه كان screwed. They say if you redirect a page that had google page rank (to a new page) the (old) page rank will be passed on to the new page. يقولون اذا كنت اعادة توجيه صفحة صفحة رتبة قد صور) إلى صفحة جديدة ((قديمة) تصنيف الصفحه ستنتقل الى صفحة جديدة. I can’t verify this myself, because my redirects haven’t been in place long enough to tell. لا استطيع ان التحقق من هذا بنفسي ، لأن بلدي لم مرات إعادة التوجيه في مكان طويلة بما يكفى ان اقول. I will update after they’ve been online awhile. انا بعد استكمال كنت على الانترنت awhile.


2 Responses to “Blogging Mistake: Not Using 301 Redirects” 2 الردود على "المدونات خطأ : لم يتم استخدام 301 يعيد توجيه"

  1. How to Setup 301 Redirects at search-optimization-school.com كيفية الاعداد 301 يعيد توجيه البحث في التحسين - school.com Has the following to say... وقد ما يلي...

    [...] On my personal blogging site JTPRATT’s Blogging Mistakes, I just wrote a post about setting up 301 redirects. (...)تقديري الشخصي على موقع المدونات jtpratt المدونات للاخطاء ، انا فقط كتبت عن مرحلة ما بعد انشاء 301 يعيد توجيه. If you don’t already know how to setup 301 directs, what they are, or how to use them - you [...] اذا لم تكن بالفعل ان نعرف كيف يوجه الاعداد 301 ، ما هي عليه ، او كيفية استخدامها -- انت [...]

  2. JP ج ب Has the following to say... وقد ما يلي...

    Hello, I found your site while trying to find some advice on how to do 301 redirects. مرحبا ، لقد وجدت موقعك وبينما نحاول أن نجد بعض المشوره بشأن كيفية القيام 301 يعيد توجيه. I just moved my blog from Blogger to Wordpress and need to forward the PR and links to the new blog. انا فقط انتقلت من بلدي بلوق WordPress والمدون على الحاجة الى المستفيد الرئيسي الى الامام وصلات إلى بلوق الجديد.

    I tried your redirects but it actually works without the quotes. حاولت مرات إعادة التوجيه الخاص بك ولكنها في الواقع تعمل بدون علامتي الاقتباس.

    ie .

    Redirect 301 /webpage.html إعادة توجيه 301 / webpage.html http://www.yourwebsite.com/anotherpage.html

    Maybe it’sa different version of Apache or something? ربما it'sa اصدار مختلف من اباتشي او شيء؟

    Anyway thanks a bunch! على أي حال شكرا بانش!
    JP ج ب = ؛ ؛
    JPs last blog post.. داءره المشتريات المشتركة الماضي بعد بلوق.. Wordpress move almost complete! WordPress التحرك كامل تقريبا!

Question or Comment?? السؤال او التعليق؟؟ Spill it Now... انسكاب الآن...

القفز للفرح أكثر من التعليقات!

We Reward Comments! ونحن مكافاه تعليقات!


We dofollow links, and get your latest blog post as a byline under every new comment from the "CommentLuv" plugin! ونحن وصلات dofollow ، وأحصل على آخر بلوق ما بعد بوصفها الخط الثانوي في اطار كل من تعليق جديد "commentluv" البرنامج المساعد! Top commenters for every month are listed on every page of this site in a sidebar widget linked back to your URL! أعلى commenters كل شهر لترد على كل صفحة من هذا الموقع في الشريط الجانبي القطعه ربط عودة الى عنوان موقعك! We would like to reward you for becoming part of our community! ونود ان مكافاه لكم لتصبح جزءا من مجتمعنا! Your comment is valuable not only to us, but also all the other readers of this blog! تعليقك على قيمة ليس فقط بالنسبة لنا فحسب ، بل ايضا سائر قراء هذا بلوق!


Click to add smilies to your post! انقر لاضافة الابتسامات على رسالتك! == []^ =)= ()= (|=) ص= | 8= 0=) ~= 00=)= ؛ ؛=)]= ؛ ؛ ؛