Skip to content

Commit

Permalink
Merge pull request #1 from tigattack/fix/more_redirect_codes
Browse files Browse the repository at this point in the history
fix: support 307/308 response codes
  • Loading branch information
seadfeng authored Sep 11, 2024
2 parents 04bae1c + 081ed24 commit b03ed06
Show file tree
Hide file tree
Showing 16 changed files with 104 additions and 70 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Redirect Checker is an open-source tool designed to analyze and verify URL redir

- Analyze single or multiple URL redirects
- Detailed redirect chain visualization
- Support for various redirect types (301, 302, meta refresh, JavaScript)
- Support for various redirect types (301, 302, 307, 308, meta refresh, JavaScript)
- Custom user-agent selection
- SEO impact assessment
- Redirect loop detection
Expand Down Expand Up @@ -216,4 +216,4 @@ Redirect Checker is maintained by [seadfeng](https://github.com/seadfeng). For m

- redirect-urls
- redirect-page
- redirect-checker
- redirect-checker
10 changes: 5 additions & 5 deletions public/content/components/home/block1/de_DE.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
- Benutzerdefinierte Auswahl des User-Agents
- Bewertung der SEO-Auswirkungen
- Erkennung von Weiterleitungsschleifen
- Analyse von 301- vs. 302-Weiterleitungen
- Analyse von 301-, 302-, 307- und 308-Weiterleitungen
- Überprüfung von Meta-Refresh- und JavaScript-Weiterleitungen
- Analyse von HTTP-Headern (Statuscode, X-Robots-Tag, Rel Canonical)

Expand All @@ -24,8 +24,8 @@ URL-Weiterleitungen sind eine Methode, um Benutzer und Suchmaschinen von einer U

### Arten von Weiterleitungen

- **301-Weiterleitung (Permanent):** Zeigt an, dass eine Seite dauerhaft an einen neuen Ort verschoben wurde.
- **302-Weiterleitung (Temporär):** Deutet darauf hin, dass eine Seite vorübergehend unter einer anderen URL zu finden ist.
- **301- oder 308-Weiterleitung (Permanent):** Zeigt an, dass eine Seite dauerhaft an einen neuen Ort verschoben wurde.
- **302- oder 307-Weiterleitung (Temporär):** Deutet darauf hin, dass eine Seite vorübergehend unter einer anderen URL zu finden ist.
- **Meta Refresh:** Eine Art von Weiterleitung, die auf HTML-Ebene statt auf Server-Ebene implementiert wird.
- **JavaScript-Weiterleitung:** Weiterleitungen, die mit JavaScript implementiert sind, oft weniger vorteilhaft für SEO.

Expand Down Expand Up @@ -54,8 +54,8 @@ URL-Weiterleitungen sind eine Methode, um Benutzer und Suchmaschinen von einer U

## SEO-Auswirkungen von Weiterleitungen

- **301-Weiterleitungen** übertragen den Großteil des Linkwerts auf die neue URL.
- **302-Weiterleitungen** sind weniger ideal für SEO, da sie nicht so viel Linkwert übertragen.
- **301- oder 308-Weiterleitungen** übertragen den Großteil des Linkwerts auf die neue URL.
- **302- oder 307-Weiterleitungen** sind weniger ideal für SEO, da sie nicht so viel Linkwert übertragen.
- Vermeiden Sie lange Weiterleitungsketten, da sie den SEO-Wert verwässern und die Ladezeiten der Seite verlangsamen können.
- Verwenden Sie Weiterleitungen, um doppelte Inhalte zu konsolidieren und das allgemeine SEO Ihrer Website zu verbessern.
- Implementieren Sie HTTPS-Weiterleitungen korrekt, um sicheres Browsen zu gewährleisten, ohne den SEO-Wert zu verlieren.
Expand Down
10 changes: 5 additions & 5 deletions public/content/components/home/block1/en.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
- Custom user-agent selection
- SEO impact assessment
- Redirect loop detection
- Analysis of 301 vs 302 redirects
- Analysis of 301, 302, 307, and 308 redirects
- Meta refresh and JavaScript redirect checking
- HTTP header analysis (Status Code, X-Robots-Tag, Rel Canonical)

Expand All @@ -24,8 +24,8 @@ URL redirects are a way to send users and search engines from one URL to another

### Types of Redirects

- **301 Redirect (Permanent):** Indicates that a page has permanently moved to a new location.
- **302 Redirect (Temporary):** Suggests that a page is temporarily located at a different URL.
- **301 or 308 Redirect (Permanent):** Indicates that a page has permanently moved to a new location.
- **302 or 307 Redirect (Temporary):** Suggests that a page is temporarily located at a different URL.
- **Meta Refresh:** A type of redirect implemented at the HTML level rather than the server level.
- **JavaScript Redirect:** Redirects implemented using JavaScript, often less favorable for SEO.

Expand Down Expand Up @@ -54,8 +54,8 @@ URL redirects are a way to send users and search engines from one URL to another

## SEO Implications of Redirects

- **301 redirects** pass most of the link equity to the new URL.
- **302 redirects** are less ideal for SEO as they don't pass as much link equity.
- **301 or 308 redirects** pass most of the link equity to the new URL.
- **302 or 307 redirects** are less ideal for SEO as they don't pass as much link equity.
- Avoid long redirect chains as they can dilute SEO value and slow down page load times.
- Use redirects to consolidate duplicate content, improving your site's overall SEO.
- Implement HTTPS redirects correctly to ensure secure browsing without losing SEO value.
Expand Down
10 changes: 5 additions & 5 deletions public/content/components/home/block1/es.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
- Selección de user-agent personalizada
- Evaluación del impacto en SEO
- Detección de bucles de redirección
- Análisis de redirecciones 301 vs 302
- Análisis de redirecciones 301, 302, 307 y 308
- Verificación de redirecciones Meta Refresh y JavaScript
- Análisis de encabezados HTTP (Código de Estado, X-Robots-Tag, Rel Canonical)

Expand All @@ -24,8 +24,8 @@ Las redirecciones de URL son una manera de enviar a los usuarios y motores de b

### Tipos de Redirecciones

- **Redirección 301 (Permanente):** Indica que una página se ha movido permanentemente a una nueva ubicación.
- **Redirección 302 (Temporal):** Sugiere que una página está temporalmente ubicada en una URL diferente.
- **Redirección 301 o 308 (Permanente):** Indica que una página se ha movido permanentemente a una nueva ubicación.
- **Redirección 302 o 307 (Temporal):** Sugiere que una página está temporalmente ubicada en una URL diferente.
- **Meta Refresh:** Un tipo de redirección implementado a nivel HTML en lugar de a nivel del servidor.
- **Redirección JavaScript:** Redirecciones implementadas usando JavaScript, a menudo menos favorables para SEO.

Expand Down Expand Up @@ -54,8 +54,8 @@ Las redirecciones de URL son una manera de enviar a los usuarios y motores de b

## Implicaciones SEO de las Redirecciones

- **Redirecciones 301** transfieren la mayor parte del valor del enlace a la nueva URL.
- **Redirecciones 302** son menos ideales para SEO ya que no transfieren tanto valor del enlace.
- **Redirecciones 301 o 308** transfieren la mayor parte del valor del enlace a la nueva URL.
- **Redirecciones 302 o 307** son menos ideales para SEO ya que no transfieren tanto valor del enlace.
- Evita largas cadenas de redirección, ya que pueden diluir el valor SEO y ralentizar los tiempos de carga de las páginas.
- Usa redirecciones para consolidar contenido duplicado, mejorando el SEO general de tu sitio.
- Implementa redirecciones HTTPS correctamente para asegurar una navegación segura sin perder valor SEO.
Expand Down
10 changes: 5 additions & 5 deletions public/content/components/home/block1/fr.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
- Sélection personnalisée de l'agent utilisateur
- Évaluation de l'impact SEO
- Détection des boucles de redirection
- Analyse des redirections 301 vs 302
- Analyse des redirections 301, 302, 307 et 308
- Vérification des redirections Meta Refresh et JavaScript
- Analyse des en-têtes HTTP (Code de statut, X-Robots-Tag, Rel Canonical)

Expand All @@ -24,8 +24,8 @@ Les redirections d'URL permettent d'envoyer les utilisateurs et les moteurs de r

### Types de Redirections

- **Redirection 301 (Permanente) :** Indique qu'une page a été déplacée définitivement à un nouvel emplacement.
- **Redirection 302 (Temporaire) :** Suggère qu'une page est temporairement située à une autre URL.
- **Redirection 301 ou 308 (Permanente) :** Indique qu'une page a été déplacée définitivement à un nouvel emplacement.
- **Redirection 302 ou 307 (Temporaire) :** Suggère qu'une page est temporairement située à une autre URL.
- **Meta Refresh :** Un type de redirection mis en œuvre au niveau HTML plutôt qu'au niveau serveur.
- **Redirection JavaScript :** Redirections mises en œuvre à l'aide de JavaScript, souvent moins favorables pour le SEO.

Expand Down Expand Up @@ -54,8 +54,8 @@ Les redirections d'URL permettent d'envoyer les utilisateurs et les moteurs de r

## Implications SEO des Redirections

- **Les redirections 301** transmettent la plupart de l'équité des liens vers la nouvelle URL.
- **Les redirections 302** sont moins idéales pour le SEO car elles ne transmettent pas autant d'équité des liens.
- **Les redirections 301 ou 308** transmettent la plupart de l'équité des liens vers la nouvelle URL.
- **Les redirections 302 ou 307** sont moins idéales pour le SEO car elles ne transmettent pas autant d'équité des liens.
- Évitez les longues chaînes de redirections car elles peuvent diluer la valeur SEO et ralentir les temps de chargement des pages.
- Utilisez les redirections pour consolider le contenu dupliqué, améliorant ainsi le SEO global de votre site.
- Implémentez correctement les redirections HTTPS pour garantir une navigation sécurisée sans perdre de valeur SEO.
Expand Down
10 changes: 5 additions & 5 deletions public/content/components/home/block1/it.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
- Selezione personalizzata dell'agente utente
- Valutazione dell'impatto SEO
- Rilevamento dei cicli di reindirizzamento
- Analisi dei reindirizzamenti 301 vs 302
- Analisi dei reindirizzamenti 301, 302, 307 e 308
- Controllo dei reindirizzamenti Meta Refresh e JavaScript
- Analisi delle intestazioni HTTP (Codice di stato, X-Robots-Tag, Rel Canonical)

Expand All @@ -24,8 +24,8 @@ I reindirizzamenti URL consentono di indirizzare gli utenti e i motori di ricerc

### Tipi di Reindirizzamenti

- **Reindirizzamento 301 (Permanente):** Indica che una pagina è stata spostata permanentemente a una nuova posizione.
- **Reindirizzamento 302 (Temporaneo):** Suggerisce che una pagina è temporaneamente situata a un altro URL.
- **Reindirizzamento 301 o 308 (Permanente):** Indica che una pagina è stata spostata permanentemente a una nuova posizione.
- **Reindirizzamento 302 o 307 (Temporaneo):** Suggerisce che una pagina è temporaneamente situata a un altro URL.
- **Meta Refresh:** Un tipo di reindirizzamento implementato a livello HTML piuttosto che a livello server.
- **Reindirizzamento JavaScript:** Reindirizzamenti implementati utilizzando JavaScript, spesso meno favorevoli per il SEO.

Expand Down Expand Up @@ -54,8 +54,8 @@ I reindirizzamenti URL consentono di indirizzare gli utenti e i motori di ricerc

## Implicazioni SEO dei Reindirizzamenti

- **I reindirizzamenti 301** trasferiscono la maggior parte del valore dei link al nuovo URL.
- **I reindirizzamenti 302** sono meno ideali per il SEO in quanto non trasferiscono tanto valore dei link.
- **I reindirizzamenti 301 o 308** trasferiscono la maggior parte del valore dei link al nuovo URL.
- **I reindirizzamenti 302 o 307** sono meno ideali per il SEO in quanto non trasferiscono tanto valore dei link.
- Evita lunghe catene di reindirizzamenti poiché possono diluire il valore SEO e rallentare i tempi di caricamento delle pagine.
- Utilizza i reindirizzamenti per consolidare contenuti duplicati, migliorando così il SEO complessivo del tuo sito.
- Implementa correttamente i reindirizzamenti HTTPS per garantire una navigazione sicura senza perdere valore SEO.
Expand Down
10 changes: 5 additions & 5 deletions public/content/components/home/block1/ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
- カスタムユーザーエージェントの選択
- SEO影響評価
- リダイレクトループの検出
- 301と302のリダイレクトの分析
- 301、302、307、308のリダイレクトの分析
- メタリフレッシュおよびJavaScriptリダイレクトのチェック
- HTTPヘッダーの分析(ステータスコード、X-Robots-Tag、Rel Canonical)

Expand All @@ -24,8 +24,8 @@ URLリダイレクトは、ユーザーや検索エンジンをあるURLから

### リダイレクトの種類

- **301リダイレクト(永久的):** ページが永続的に新しい場所に移動したことを示します。
- **302リダイレクト(一時的):** ページが一時的に異なるURLにあることを示唆します。
- **301 または 308リダイレクト(永久的):** ページが永続的に新しい場所に移動したことを示します。
- **302 または 307リダイレクト(一時的):** ページが一時的に異なるURLにあることを示唆します。
- **メタリフレッシュ:** サーバーレベルではなくHTMLレベルで実装されるリダイレクトの一種です。
- **JavaScriptリダイレクト:** JavaScriptを使用して実装されるリダイレクトで、SEOにはあまり好ましくありません。

Expand Down Expand Up @@ -54,8 +54,8 @@ URLリダイレクトは、ユーザーや検索エンジンをあるURLから

## リダイレクトのSEOへの影響

- **301リダイレクト**は、新しいURLにほとんどのリンクエクイティを渡します。
- **302リダイレクト**は、リンクエクイティをあまり渡さないため、SEOにはあまり理想的ではありません。
- **301 または 308リダイレクト**は、新しいURLにほとんどのリンクエクイティを渡します。
- **302 または 307リダイレクト**は、リンクエクイティをあまり渡さないため、SEOにはあまり理想的ではありません。
- リダイレクトチェーンが長すぎると、SEOの価値が希薄になり、ページの読み込み時間が遅くなる可能性があります。
- 重複コンテンツを統合するためにリダイレクトを使用し、サイト全体のSEOを改善します。
- HTTPSリダイレクトを正しく実装して、SEOの価値を失うことなく安全なブラウジングを確保します。
Expand Down
10 changes: 5 additions & 5 deletions public/content/components/home/block1/ko.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
- 사용자 에이전트 선택
- SEO 영향 평가
- 리디렉션 루프 감지
- 301과 302 리디렉션 분석
- 301, 302, 307 및 308 리디렉션 분석
- 메타 리프레시 및 JavaScript 리디렉션 검사
- HTTP 헤더 분석 (상태 코드, X-Robots-Tag, Rel Canonical)

Expand All @@ -24,8 +24,8 @@ URL 리디렉션은 사용자와 검색 엔진을 하나의 URL에서 다른 URL

### 리디렉션 유형

- **301 리디렉션 (영구적):** 페이지가 영구적으로 새로운 위치로 이동했음을 나타냅니다.
- **302 리디렉션 (임시):** 페이지가 임시로 다른 URL에 위치해 있음을 나타냅니다.
- **301 또는 308 리디렉션 (영구적):** 페이지가 영구적으로 새로운 위치로 이동했음을 나타냅니다.
- **302 또는 307 리디렉션 (임시):** 페이지가 임시로 다른 URL에 위치해 있음을 나타냅니다.
- **메타 리프레시:** 서버 수준이 아니라 HTML 수준에서 구현되는 리디렉션의 일종입니다.
- **JavaScript 리디렉션:** JavaScript를 사용하여 구현된 리디렉션으로, SEO에는 덜 유리합니다.

Expand Down Expand Up @@ -54,8 +54,8 @@ URL 리디렉션은 사용자와 검색 엔진을 하나의 URL에서 다른 URL

## 리디렉션의 SEO에 미치는 영향

- **301 리디렉션**은 대부분의 링크 에쿼티를 새 URL로 전달합니다.
- **302 리디렉션**은 링크 에쿼티를 많이 전달하지 않으므로 SEO에는 덜 이상적입니다.
- **301 또는 308 리디렉션**은 대부분의 링크 에쿼티를 새 URL로 전달합니다.
- **302 또는 307 리디렉션**은 링크 에쿼티를 많이 전달하지 않으므로 SEO에는 덜 이상적입니다.
- 리디렉션 체인이 너무 길면 SEO 가치가 희석되고 페이지 로딩 시간이 느려질 수 있습니다.
- 중복 콘텐츠를 통합하기 위해 리디렉션을 사용하여 사이트 전체의 SEO를 향상시킵니다.
- HTTPS 리디렉션을 올바르게 구현하여 SEO 가치를 잃지 않고 안전한 브라우징을 보장합니다.
Expand Down
10 changes: 5 additions & 5 deletions public/content/components/home/block1/nl.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
- Aangepaste gebruikersagentselectie
- SEO-impactbeoordeling
- Detectie van omleidingslussen
- Analyse van 301 vs 302 omleidingen
- Analyse van 301-, 302-, 307- en 308-omleidingen
- Controle van meta-refresh en JavaScript-omleidingen
- HTTP-headeranalyse (statuscode, X-Robots-Tag, Rel Canonical)

Expand All @@ -24,8 +24,8 @@ URL-omleidingen zijn een manier om gebruikers en zoekmachines van de ene URL naa

### Soorten Omleidingen

- **301 Omleiding (Permanent):** Geeft aan dat een pagina permanent naar een nieuwe locatie is verplaatst.
- **302 Omleiding (Tijdelijk):** Suggereert dat een pagina tijdelijk op een andere URL is geplaatst.
- **301 of 308 Omleiding (Permanent):** Geeft aan dat een pagina permanent naar een nieuwe locatie is verplaatst.
- **302 of 307 Omleiding (Tijdelijk):** Suggereert dat een pagina tijdelijk op een andere URL is geplaatst.
- **Meta Refresh:** Een soort omleiding die op HTML-niveau wordt geïmplementeerd in plaats van op serverniveau.
- **JavaScript Omleiding:** Omleidingen die met JavaScript worden geïmplementeerd, vaak minder gunstig voor SEO.

Expand Down Expand Up @@ -54,8 +54,8 @@ URL-omleidingen zijn een manier om gebruikers en zoekmachines van de ene URL naa

## SEO-Implicaties Van Omleidingen

- **301-omleidingen** geven de meeste link equity door naar de nieuwe URL.
- **302-omleidingen** zijn minder ideaal voor SEO omdat ze minder link equity doorgeven.
- **301 of 308 omleidingen** geven de meeste link equity door naar de nieuwe URL.
- **302 of 307 omleidingen** zijn minder ideaal voor SEO omdat ze minder link equity doorgeven.
- Vermijd lange omleidingsketens, omdat ze de SEO-waarde kunnen verdunnen en de laadtijden van pagina's kunnen vertragen.
- Gebruik omleidingen om dubbele inhoud te consolideren en de algehele SEO van je site te verbeteren.
- Implementeer HTTPS-omleidingen correct om veilige browsen te garanderen zonder SEO-waarde te verliezen.
Expand Down
38 changes: 36 additions & 2 deletions public/content/components/home/block1/pl.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
- Wybór niestandardowego agenta użytkownika
- Ocena wpływu SEO
- Wykrywanie pętli przekierowań
- Analiza przekierowań 301 vs 302
- Analiza przekierowań 301, 302, 307 i 308
- Sprawdzanie przekierowań Meta Refresh i JavaScript
- Analiza nagłówków HTTP (Kod statusu, X-Robots-Tag, Rel Canonical)

Expand All @@ -24,4 +24,38 @@ Przekierowania URL to sposób, w jaki można przesłać użytkowników i wyszuki

### Rodzaje przekierowań

- **Przekierowanie 301 (Trwałe):** W
- **Przekierowanie 301 lub 308 (Trwałe):** Wskazuje, że strona została trwale przeniesiona do nowej lokalizacji.
- **Przekierowanie 302 lub 307 (tymczasowe):** sugeruje, że strona tymczasowo znajduje się pod innym adresem URL.
- **Odświeżanie meta:** Typ przekierowania implementowanego na poziomie HTML, a nie na poziomie serwera.
- **Przekierowanie JavaScript:** Przekierowania implementowane za pomocą JavaScript, często mniej korzystne dla SEO.

## Dlaczego warto sprawdzać przekierowania?

- Upewnij się, że przestrzegane są właściwe praktyki SEO
- Zidentyfikuj i napraw łańcuchy przekierowań, które mogą spowalniać Twoją witrynę
- Zapobiegaj pętlom przekierowań, które mogą powodować niedostępność stron
- Zoptymalizuj wydajność witryny, zmniejszając liczbę niepotrzebnych przekierowań
- Utrzymuj równość linków podczas restrukturyzacji lub migracji witryny
- Sprawdź, czy przekierowania HTTPS są poprawnie wdrożone
- Upewnij się, że przekierowane strony wskazują na właściwe miejsca docelowe

## Jak korzystać z naszego narzędzia do sprawdzania przekierowań

1. Wprowadź swój adres URL w polu wejściowym (nie zapomnij uwzględnić `http://` lub `https://`).
2. Wybierz agenta użytkownika z menu rozwijanego (opcjonalnie).
3. Kliknij przycisk „Sprawdź przekierowania”.
4. Poczekaj, aż narzędzie przeanalizuje Twój adres URL. 5. Przejrzyj szczegółowe wyniki, w tym:
- Pełny łańcuch przekierowań
- Kody statusu HTTP dla każdego kroku
- Pośrednie adresy URL w procesie przekierowania
- Ostateczny adres URL docelowy
- Całkowita liczba przekierowań w łańcuchu

## Implikacje przekierowań dla SEO

- **Przekierowania 301 lub 308** przekazują większość kapitału linku do nowego adresu URL.
- **Przekierowania 302 lub 307** są mniej idealne dla SEO, ponieważ nie przekazują tak dużo kapitału linku.
- Unikaj długich łańcuchów przekierowań, ponieważ mogą one osłabiać wartość SEO i spowalniać czas ładowania strony.
- Używaj przekierowań, aby skonsolidować zduplikowaną treść, poprawiając ogólne SEO swojej witryny.
- Poprawnie wdrażaj przekierowania HTTPS, aby zapewnić bezpieczne przeglądanie bez utraty wartości SEO.
- Regularnie audytuj swoje przekierowania, aby wyłapywać i naprawiać wszelkie problemy, które mogą pojawić się z czasem.
Loading

0 comments on commit b03ed06

Please sign in to comment.