Code: Select all
# This will rewrite mypage.html => index.php?mypage
# RewriteRule ^(.+)\.phtml$ index.php?$1
# RewriteRule ^(.+)\.html$ index.php?$1
Code: Select all
# This will rewrite mypage.html => index.php?mypage
# RewriteRule ^(.+)\.phtml$ index.php?$1
# RewriteRule ^(.+)\.html$ index.php?$1
Code: Select all
$phpwcms['rewrite_url'] = 1; //whether URL should be rewritable
Code: Select all
$phpwcms['rewrite_ext'] = '.html'; // The file extension used while URL is rewritten
Code: Select all
RewriteRule ^([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.html$ index.php?id=$1,$2,$3,$4,$5,$6
RewriteRule ^(.+)\.html$ index.php?$1
Code: Select all
<IfModule mod_rewrite.c>
RewriteEngine On
# This will rewrite 0.0.0.0.0.0.phtml => index.php?id=0.0.0.0.0.0
RewriteRule ^([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.html$ index.php?id=$1,$2,$3,$4,$5,$6
# This will rewrite mypage.html => index.php?mypage
RewriteRule ^(.+)\.html$ index.php?$1
</IfModule>
Code: Select all
$phpwcms['rewrite_ext'] = '.phtml'; // The file extension used while URL is rewritten
Code: Select all
RewriteRule ^([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.phtml$ index.php?id=$1,$2,$3,$4,$5,$6
RewriteRule ^(.+)\.phtml$ index.php?$1
Code: Select all
# Ignore
RewriteRule ^(include|img|template|picture|filearchive|content)/ - [L]
Code: Select all
RewriteRule ^([^.]+).phtml$ /$1.html [QSA,L]
Code: Select all
RewriteRule ^(include|img|template|picture|filearchive|content)/ - [L]
Code: Select all
<IfModule mod_rewrite.c>
# Check that you have set Options FollowSymLinks
# and right Allow
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
# maybe you need this
# DirectoryIndex index.html index.php
# Default ReWrite settings for phpwcms
# ====================================
# RewriteBase /mysubdir
# Ignore
RewriteRule ^(include|img|template|picture|filearchive|content)/ - [L]
# Rewrite 0.0.0.0.0.0.phtml => index.php?id=0.0.0.0.0.0
RewriteRule ^([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.([0-9]+)\.html$ index.php?id=$1,$2,$3,$4,$5,$6
# Rewrite mypage.html => index.php?mypage
RewriteRule ^(.+)\.html$ index.php?$1
</IfModule>
Code: Select all
$phpwcms['rewrite_url'] = 1;
$phpwcms['rewrite_ext'] = '.html';
Code: Select all
http://example.com/wcms/r440/category01/cat01.html
Code: Select all
http://example.com/wcms/r440/category01%2Fcat01.html
sollten trotzdem funktionieren, nur eben nicht "schön" aussehen.flip-flop wrote:Bei mir funktionieren die Artikel-Links in der NAV_LSIT_UL und im Teaser bisher nicht, da wird ausCode: Select all
http://example.com/wcms/r440/category01/cat01.html
/ wird durch %2F ersetzt.Code: Select all
http://example.com/wcms/r440/category01%2Fcat01.html