Repository navigation
C:/Program Files/Git/forum/ als echte Seite, Messsonde entfernt - #15
Merged
Merged
Conversation
Die Sonde hat ihre Frage beantwortet: GitHub Pages liefert .php-Dateien mit Status 200 aus, aber als application/x-httpd-php - der Browser lädt sie dann herunter, statt sie anzuzeigen. Weiterleitungsseiten unter den alten phpBB-Tiefenpfaden scheiden damit aus; die fängt weiterhin die 404-Seite ab. Für /forum/ selbst geht es dagegen: Dort steht jetzt eine echte HTML-Seite, die mit Status 200 ausgeliefert wird, im <head> eine Weiterleitung trägt, das Ziel als canonical nennt und sich selbst auf noindex setzt. Das ist die meistverlinkte der alten Adressen und die einzige, für die mehr als ein Soft 404 möglich ist. Eine echte 301 kann GitHub Pages nicht - dafür bräuchte es einen Dienst davor. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Die Sonde aus #14 hat geantwortet: GitHub Pages liefert
.phpmit Status 200, aber alsapplication/x-httpd-php— der Browser lädt die Datei herunter, statt sie anzuzeigen. Weiterleitungsseiten unter den alten phpBB-Tiefenpfaden scheiden damit aus.Für
/forum/selbst geht es: echte HTML-Seite, Status 200, Weiterleitung im<head>,canonicalauf die neue Adresse,noindexfür sich selbst. Das ist die meistverlinkte alte Adresse.Alles Übrige (
/forum/viewtopic.php?…) fängt weiterhin die 404-Seite ab.🤖 Generated with Claude Code