Kod
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteBase /~dposlinski/ling/
RewriteRule ^([a-z]+)(,*)([a-z]*)(,*)([a-z\_\-]*)(,*)([a-z0-9\_\-]*)\.html$ index.php?s=$1&sort=$3&o=$5&offset=$7 [L]
RewriteRule ^([a-z]+)(,*)([0-9]*)(,*)([a-z0-9\-\_]*)(,*)([a-z]*)(,*)([a-z\_]*)\.html$ index.php?s=$1&id=$3&a=$5&sort=$7&o=$9 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.html [L]
</IfModule>
AddType application/x-httpd-php .php .html
RewriteEngine on
RewriteBase /~dposlinski/ling/
RewriteRule ^([a-z]+)(,*)([a-z]*)(,*)([a-z\_\-]*)(,*)([a-z0-9\_\-]*)\.html$ index.php?s=$1&sort=$3&o=$5&offset=$7 [L]
RewriteRule ^([a-z]+)(,*)([0-9]*)(,*)([a-z0-9\-\_]*)(,*)([a-z]*)(,*)([a-z\_]*)\.html$ index.php?s=$1&id=$3&a=$5&sort=$7&o=$9 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.html [L]
</IfModule>
AddType application/x-httpd-php .php .html
Jak zrobić, aby nie dochodziło do przekierowania i żeby adres z linku cośtam.html pozostawał na tym serwerze w pasku adresu?
Z góry dziękuję za każdą pomoc.
Pozdrawiam.