Nach dem update des systems laufen dann die google-treffer ins leere, es sei denn man schreibt noch diese RewriteRule in die .htaccess rein:
Code: Select all
RewriteRule ^(.*)\.phtml$ $1.html [R=permanent,L]
Code: Select all
RewriteRule ^(.*)\.phtml$ $1.html [R=permanent,L]
Code: Select all
RewriteRule ^([^.]+).phtml$ /$1.html [QSA,L]
Code: Select all
$phpwcms['rewrite_ext'] = '.phtml';
Code: Select all
# PHP: These settings are recommend - check phpinfo() before try these
# register_globals ON
# php_flag magic_quotes_gpc Off
# php_flag magic_quotes_runtime Off
# php_flag register_globals Off
#Sometimes neccessary to add those
# AddType application/x-javascript .js
# AddType text/css .css
# Options:
# Options +FollowSymlinks
# AcceptPathInfo On
# Rewrite:
<IfModule mod_rewrite.c>
RewriteEngine On
DirectoryIndex index.html index.php
# Use RewriteBase - always start in Document Root
# If installed in subfolder see the ReWrite Rule section
RewriteBase /
# Ignore
RewriteRule $1 !^(include|img|template|picture|filearchive|content|robots\.txt|favicon\.ico)
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
# Installed in Document Root www.example.com/
RewriteRule ^([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.html$ /index.php?id=$1,$2,$3,$4,$5,$6&%{QUERY_STRING}
RewriteRule ^(.+)\.phtml$ /index.php?$1&%{QUERY_STRING}
# Installed in Subfolder www.example.com/subfolder/
# RewriteRule ^([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.html$ /subfolder/index.php?id=$1,$2,$3,$4,$5,$6&%{QUERY_STRING}
# RewriteRule ^(.+)\.phtml$ /subfolder/index.php?$1&%{QUERY_STRING}
</IfModule>
Na, nicht das ich falsch verstanden werde,..Oliver Georgi wrote:nichts zusätzlich verbiegen!!!
Code: Select all
# PHP: These settings are recommend - check phpinfo() before try these
# register_globals ON
# php_flag magic_quotes_gpc Off
# php_flag magic_quotes_runtime Off
# php_flag register_globals Off
#Sometimes neccessary to add those
# AddType application/x-javascript .js
# AddType text/css .css
# Options:
# Options +FollowSymlinks
# AcceptPathInfo On
# Rewrite:
<IfModule mod_rewrite.c>
RewriteEngine On
DirectoryIndex index.html index.php
# Use RewriteBase - always start in Document Root
# If installed in subfolder see the ReWrite Rule section
RewriteBase /
# Ignore
RewriteRule $1 !^(include|img|template|picture|filearchive|content|robots\.txt|favicon\.ico)
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
# Installed in Document Root http://www.example.com/
RewriteRule ^(.+)\.phtml$ /$1.html [QSA,L,R=301]
RewriteRule ^([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.html$ /index.php?id=$1,$2,$3,$4,$5,$6&%{QUERY_STRING}
RewriteRule ^(.+)\.phtml$ /index.php?$1&%{QUERY_STRING}
# Installed in Subfolder http://www.example.com/subfolder/
# RewriteRule ^(.+)\.phtml$ /subfolder/$1.html [QSA,L,R=301]
# RewriteRule ^([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.html$ /subfolder/index.php?id=$1,$2,$3,$4,$5,$6&%{QUERY_STRING}
# RewriteRule ^(.+)\.phtml$ /subfolder/index.php?$1&%{QUERY_STRING}
</IfModule>