honeybee

Rewrite URL

Hallo,

ich möchte, dass die URL automatisch und dauerhaft von host.domain.de auf host.domain.de/page geändert wird.
Wie stelle ich das in Apache ein? Bin mit Apache nicht so vertraut.

RewriteRule ^(.*)$ host.domain.de/page [R=permanent,L]
Auf Facebook teilen
Auf X (Twitter) teilen
Auf Reddit teilen
Auf Linkedin teilen

Content-ID: 364736

Url: https://administrator.de/forum/rewrite-url-364736.html

Ausgedruckt am: 01.05.2025 um 09:05 Uhr

135333
Lösung 135333 14.02.2018 aktualisiert um 10:22:51 Uhr
Goto Top
RewriteRule ^/?$ /page [R=301,L]
Arano
Arano 14.02.2018 um 10:29:25 Uhr
Goto Top
Hallo,

In der Config-Datei Kannst du das DocumentRoot des Webservers definieren:
Apache - core#DocumentRoot
Syntax: DocumentRoot Verzeichnis


~Arano