У меня есть следующий URL, который является правильным ...
http://www.mydomain.co.uk/cask-beer/wells-and-youngs
но мне нужно, чтобы она отобразила эту страницу:
http://www.mydomain.co.uk/cask-beer?catID=4
Это мой текущий .htaccess, который уже правильно обслуживает другие страницы. Я хочу добавить что-нибудь для управления этим другим правилом. У меня была попытка где можно бочонок пива
php_flag magic_quotes_gpc off
AddDefaultCharset UTF-8
Options -Indexes +FollowSymLinks
#
# Setting rewrite rules
#
<IfModule mod_rewrite.c>
RewriteEngine On
# Set next line to your Wolf CMS root - if not in subdir, then just /
RewriteBase /
# Rules to allow install sequence to test for mod_rewrite support
RewriteRule ^install/index.html$ install/index.php?rewrite=1 [L,QSA]
RewriteRule ^install/index.php$ install/index.php?rewrite=1 [L,QSA]
RewriteRule ^install/$ install/index.php?rewrite=1 [L,QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
# Administration URL rewriting.
RewriteRule ^admin(.*)$ admin/index.php?$1 [L,QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
# Main URL rewriting.
RewriteRule ^(.*)$ index.php?WOLFPAGE=$1 [L,QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule ^(.*)$ index.php?cask-beer?$1
</IfModule>
Любая помощь будет принята с благодарностью.
Приветствия