افحص مسارات إعادة التوجيه

سبعة أمثلة HTTP محلية مختبرة، وليست فحصًا لموقعك. يُعرض رابط المصدر والردود منفصلين. لا يُستعلم من محرك بحث أو فهرس روابط.

تغطي العدادات طلبات GET المعروضة بعد صفحة المصدر. حد الطلبات الستة يخص عميل التدريب المحلي، لا Googlebot. قد تكون الاستجابة النهائية خطأ؛ ولا يثبت 200 ملاءمة المحتوى.

R01 · صفحة منقولة بلا خريطة

النتيجة المقصودة
للدليل القديم بديل مناسب في /guide لكن العنوان يعيد 404.
الإجراء المقترح
أضف تحويلًا دائمًا واحدًا إلى البديل المحدد.
معيار القبول
يرد العنوان القديم نفسه بـ301 ثم /guide بـ200 مع الدليل المتوقع.

رابط صفحة المصدر · لم يتغير

GET /publisher/r1
HTTP 200
Content-Type: text/html; charset=utf-8
Cache-Control: no-store

<!doctype html><html lang="en"><head><title>Local source</title></head><body><h1>Source page</h1><a href="/r1/old-guide">Reference</a></body></html>

قبل

الطلبات بعد صفحة المصدر: 1 · استجابات إعادة التوجيه: 0

GET /r1/old-guide
HTTP 404
Content-Type: text/html; charset=utf-8
Cache-Control: no-store

<!doctype html><html lang="en"><head><title>Unavailable</title></head><body><h1>Not available</h1></body></html>

تم الوصول إلى استجابة نهائية

بعد

الطلبات بعد صفحة المصدر: 2 · استجابات إعادة التوجيه: 1

GET /r1/old-guide
HTTP 301
Location: /guide
Cache-Control: no-store

GET /guide
HTTP 200
Content-Type: text/html; charset=utf-8
Cache-Control: no-store

<!doctype html><html lang="en"><head><title>Replacement guide</title></head><body><h1>Replacement guide</h1><p>Equivalent guide content for the declared mapping.</p></body></html>

تم الوصول إلى استجابة نهائية

R02 · سلسلة تعمل لكنها تمر بخطوة زائدة

النتيجة المقصودة
يصل الدليل عبر /middle؛ الخطوة الإضافية قابلة للتجنب.
الإجراء المقترح
وجّه مباشرة إلى /guide مع الاحتفاظ بالقواعد الوسيطة التي لا تزال مطلوبة.
معيار القبول
تصبح الطلبات ثلاثة ثم اثنين مع بقاء المحتوى ورابط المصدر كما هما.

رابط صفحة المصدر · لم يتغير

GET /publisher/r2
HTTP 200
Content-Type: text/html; charset=utf-8
Cache-Control: no-store

<!doctype html><html lang="en"><head><title>Local source</title></head><body><h1>Source page</h1><a href="/r2/old-guide">Reference</a></body></html>

قبل

الطلبات بعد صفحة المصدر: 3 · استجابات إعادة التوجيه: 2

GET /r2/old-guide
HTTP 301
Location: /middle
Cache-Control: no-store

GET /middle
HTTP 301
Location: /guide
Cache-Control: no-store

GET /guide
HTTP 200
Content-Type: text/html; charset=utf-8
Cache-Control: no-store

<!doctype html><html lang="en"><head><title>Replacement guide</title></head><body><h1>Replacement guide</h1><p>Equivalent guide content for the declared mapping.</p></body></html>

تم الوصول إلى استجابة نهائية

بعد

الطلبات بعد صفحة المصدر: 2 · استجابات إعادة التوجيه: 1

GET /r2/old-guide
HTTP 301
Location: /guide
Cache-Control: no-store

GET /guide
HTTP 200
Content-Type: text/html; charset=utf-8
Cache-Control: no-store

<!doctype html><html lang="en"><head><title>Replacement guide</title></head><body><h1>Replacement guide</h1><p>Equivalent guide content for the declared mapping.</p></body></html>

تم الوصول إلى استجابة نهائية

R03 · عنوانان يشكلان حلقة

النتيجة المقصودة
يعيد العنوان القديم و/r3/loop الطلب إلى بعضهما دون محتوى نهائي.
الإجراء المقترح
استبدل القاعدة الأولى بتوجيه مباشر إلى /guide.
معيار القبول
يزول التوقف بسبب التكرار وتُرصد استجابتان 301 ثم200.

رابط صفحة المصدر · لم يتغير

GET /publisher/r3
HTTP 200
Content-Type: text/html; charset=utf-8
Cache-Control: no-store

<!doctype html><html lang="en"><head><title>Local source</title></head><body><h1>Source page</h1><a href="/r3/old-guide">Reference</a></body></html>

قبل

الطلبات بعد صفحة المصدر: 2 · استجابات إعادة التوجيه: 2

GET /r3/old-guide
HTTP 301
Location: /r3/loop
Cache-Control: no-store

GET /r3/loop
HTTP 301
Location: /r3/old-guide
Cache-Control: no-store

تكرر العنوان: توقف قبل طلب جديد · /r3/old-guide

بعد

الطلبات بعد صفحة المصدر: 2 · استجابات إعادة التوجيه: 1

GET /r3/old-guide
HTTP 301
Location: /guide
Cache-Control: no-store

GET /guide
HTTP 200
Content-Type: text/html; charset=utf-8
Cache-Control: no-store

<!doctype html><html lang="en"><head><title>Replacement guide</title></head><body><h1>Replacement guide</h1><p>Equivalent guide content for the declared mapping.</p></body></html>

تم الوصول إلى استجابة نهائية

R04 · رئيسية ناجحة لكنها وجهة غير مناسبة

النتيجة المقصودة
ينتظر القارئ دليلًا، بينما تعرض /home تنقلًا عامًا. تنتهي المرحلتان بـ200.
الإجراء المقترح
اربط بالدليل المناسب /guide لا بأي صفحة ناجحة.
معيار القبول
افحص المسار والمحتوى. ليست هذه نتيجة soft 404 مرصودة لدى Google.

رابط صفحة المصدر · لم يتغير

GET /publisher/r4
HTTP 200
Content-Type: text/html; charset=utf-8
Cache-Control: no-store

<!doctype html><html lang="en"><head><title>Local source</title></head><body><h1>Source page</h1><a href="/r4/old-guide">Reference</a></body></html>

قبل

الطلبات بعد صفحة المصدر: 2 · استجابات إعادة التوجيه: 1

GET /r4/old-guide
HTTP 301
Location: /home
Cache-Control: no-store

GET /home
HTTP 200
Content-Type: text/html; charset=utf-8
Cache-Control: no-store

<!doctype html><html lang="en"><head><title>Home</title></head><body><h1>Home</h1><p>General navigation, no replacement guide.</p></body></html>

تم الوصول إلى استجابة نهائية

بعد

الطلبات بعد صفحة المصدر: 2 · استجابات إعادة التوجيه: 1

GET /r4/old-guide
HTTP 301
Location: /guide
Cache-Control: no-store

GET /guide
HTTP 200
Content-Type: text/html; charset=utf-8
Cache-Control: no-store

<!doctype html><html lang="en"><head><title>Replacement guide</title></head><body><h1>Replacement guide</h1><p>Equivalent guide content for the declared mapping.</p></body></html>

تم الوصول إلى استجابة نهائية

R05 · محتوى محذوف بلا بديل

النتيجة المقصودة
حُذف المحتوى نهائيًا ولا تحقق /home غرضه.
الإجراء المقترح
أعد 410 لهذه الحالة وأزل المراجع الداخلية القديمة.
معيار القبول
يعيد العنوان 410؛ لا يُختلق بديل أو تحسن في الترتيب.

رابط صفحة المصدر · لم يتغير

GET /publisher/r5
HTTP 200
Content-Type: text/html; charset=utf-8
Cache-Control: no-store

<!doctype html><html lang="en"><head><title>Local source</title></head><body><h1>Source page</h1><a href="/r5/old-guide">Reference</a></body></html>

قبل

الطلبات بعد صفحة المصدر: 2 · استجابات إعادة التوجيه: 1

GET /r5/old-guide
HTTP 301
Location: /home
Cache-Control: no-store

GET /home
HTTP 200
Content-Type: text/html; charset=utf-8
Cache-Control: no-store

<!doctype html><html lang="en"><head><title>Home</title></head><body><h1>Home</h1><p>General navigation, no replacement guide.</p></body></html>

تم الوصول إلى استجابة نهائية

بعد

الطلبات بعد صفحة المصدر: 1 · استجابات إعادة التوجيه: 0

GET /r5/old-guide
HTTP 410
Content-Type: text/html; charset=utf-8
Cache-Control: no-store

<!doctype html><html lang="en"><head><title>Unavailable</title></head><body><h1>Not available</h1></body></html>

تم الوصول إلى استجابة نهائية

R06 · نقل مؤقت صُنّف دائمًا

النتيجة المقصودة
ستعود الخدمة الأصلية؛ /holding مجرد إشعار مؤقت.
الإجراء المقترح
استخدم 302 لهذا GET وخطط لاستعادة الخدمة.
معيار القبول
يُوصل إلى الإشعار نفسه عبر302 بدل301؛ افحص الذاكرة القديمة ومعالجة البحث منفصلتين.

رابط صفحة المصدر · لم يتغير

GET /publisher/r6
HTTP 200
Content-Type: text/html; charset=utf-8
Cache-Control: no-store

<!doctype html><html lang="en"><head><title>Local source</title></head><body><h1>Source page</h1><a href="/r6/old-guide">Reference</a></body></html>

قبل

الطلبات بعد صفحة المصدر: 2 · استجابات إعادة التوجيه: 1

GET /r6/old-guide
HTTP 301
Location: /holding
Cache-Control: no-store

GET /holding
HTTP 200
Content-Type: text/html; charset=utf-8
Cache-Control: no-store

<!doctype html><html lang="en"><head><title>Temporary notice</title></head><body><h1>Temporary notice</h1><p>The original service is expected to return.</p></body></html>

تم الوصول إلى استجابة نهائية

بعد

الطلبات بعد صفحة المصدر: 2 · استجابات إعادة التوجيه: 1

GET /r6/old-guide
HTTP 302
Location: /holding
Cache-Control: no-store

GET /holding
HTTP 200
Content-Type: text/html; charset=utf-8
Cache-Control: no-store

<!doctype html><html lang="en"><head><title>Temporary notice</title></head><body><h1>Temporary notice</h1><p>The original service is expected to return.</p></body></html>

تم الوصول إلى استجابة نهائية

R07 · توجيه دائم سليم دون تغيير

النتيجة المقصودة
يصل الدليل القديم إلى بديله الملائم عبر301 واحد.
الإجراء المقترح
احتفظ بالقاعدة وسجّلها كحالة مرجعية.
معيار القبول
دليل قبل وبعد متطابق؛ لا يُقترح إصلاح غير ضروري.

رابط صفحة المصدر · لم يتغير

GET /publisher/r7
HTTP 200
Content-Type: text/html; charset=utf-8
Cache-Control: no-store

<!doctype html><html lang="en"><head><title>Local source</title></head><body><h1>Source page</h1><a href="/r7/old-guide">Reference</a></body></html>

قبل

الطلبات بعد صفحة المصدر: 2 · استجابات إعادة التوجيه: 1

GET /r7/old-guide
HTTP 301
Location: /guide
Cache-Control: no-store

GET /guide
HTTP 200
Content-Type: text/html; charset=utf-8
Cache-Control: no-store

<!doctype html><html lang="en"><head><title>Replacement guide</title></head><body><h1>Replacement guide</h1><p>Equivalent guide content for the declared mapping.</p></body></html>

تم الوصول إلى استجابة نهائية

بعد

الطلبات بعد صفحة المصدر: 2 · استجابات إعادة التوجيه: 1

GET /r7/old-guide
HTTP 301
Location: /guide
Cache-Control: no-store

GET /guide
HTTP 200
Content-Type: text/html; charset=utf-8
Cache-Control: no-store

<!doctype html><html lang="en"><head><title>Replacement guide</title></head><body><h1>Replacement guide</h1><p>Equivalent guide content for the declared mapping.</p></body></html>

تم الوصول إلى استجابة نهائية

شغّل الحالات

افحص مسارات إعادة التوجيه

سبعة أمثلة HTTP محلية مختبرة، وليست فحصًا لموقعك. يُعرض رابط المصدر والردود منفصلين. لا يُستعلم من محرك بحث أو فهرس روابط.

يلزم Python 3.10 أو أحدث. فك ZIP في مجلد محلي. يبدأ أمر التحقق خادمًا محليًا مؤقتًا ويختبر الحالات ويطبع JSON ثم يتوقف. لا يتصل بمواقع خارجية.

python3 redirect_lab.py --verify

أوقف الخادم عبر Ctrl+C ثم شغّله مع --phase after لفحص العناوين نفسها بعد التصحيح. اختر منفذًا محليًا آخر إذا كان 8766 مشغولًا.

python3 redirect_lab.py --phase before --port 8766

python3 redirect_lab.py --phase after --port 8766

http://127.0.0.1:8766/publisher/r1

http://127.0.0.1:8766/r1/old-guide

http://127.0.0.1:8766/publisher/r2

http://127.0.0.1:8766/r2/old-guide

http://127.0.0.1:8766/publisher/r3

http://127.0.0.1:8766/r3/old-guide

http://127.0.0.1:8766/publisher/r4

http://127.0.0.1:8766/r4/old-guide

http://127.0.0.1:8766/publisher/r5

http://127.0.0.1:8766/r5/old-guide

http://127.0.0.1:8766/publisher/r6

http://127.0.0.1:8766/r6/old-guide

http://127.0.0.1:8766/publisher/r7

http://127.0.0.1:8766/r7/old-guide

تغطي العدادات طلبات GET المعروضة بعد صفحة المصدر. حد الطلبات الستة يخص عميل التدريب المحلي، لا Googlebot. قد تكون الاستجابة النهائية خطأ؛ ولا يثبت 200 ملاءمة المحتوى.

الأوامر والمسارات معرّفات تقنية؛ نص التقرير مترجم.

لا تُقاس الفهرسة أو اختيار العنوان الأساسي أو الزيارات أو الترتيب. لا تُحسب نسبة سلطة منقولة.

لا تُقاس الفهرسة أو اختيار العنوان الأساسي أو الزيارات أو الترتيب. لا تُحسب نسبة سلطة منقولة.