Zitat von
Spooky
Vielleicht ist es besser, dass du dir da Redirects mit RewriteRules schreibst.
Werde ich machen, wenn es nicht anders geht. Bei 750 Seiten (mein Projekt) kann das schon mal ein bisschen dauern :-).
Hier ein Ausschnitt (die ganze htaccess befindet sich im Anhang):
Code:
##
# By default, Contao adds ".html" to the generated URLs to simulate static
# HTML documents. If you change the URL suffix in the back end settings, make
# sure to change it here accordingly!
#
# RewriteRule .*\.html$ index.php [L] # URL suffix .html
# RewriteRule .*\.txt$ index.php [L] # URL suffix .txt
# RewriteRule .*\.json$ index.php [L] # URL suffix .json
RewriteRule .*\.php$ index.php [L] # URL suffix .php
#
# If you do not want to use an URL suffix at all, you have to add a third
# line to prevent URLs that point to folders from being rewritten (see #4031).
#
# RewriteCond %{REQUEST_FILENAME} !-d
# RewriteRule .* index.php [L]
Lesezeichen