2014-11-15, 02:42:52
I can see it now. I already forgot what NMNOPARAMPOST was, so you're right, I had it allowed.
So I disabled it, let NM generate a new .htaccess, took its NM part, added to my .htaccess, defined custom NMPARAMPOST ('akce', a 'sale' in English) and edited it according to your docs, thank you.
Just in case anyone got into the same trouble, here's the solution.
Added to gsconfig.php
Edited .htaccess like this
(if you didn't set NMPARAMPOST, instead of "akce" there will be the word "post")
So I disabled it, let NM generate a new .htaccess, took its NM part, added to my .htaccess, defined custom NMPARAMPOST ('akce', a 'sale' in English) and edited it according to your docs, thank you.
Just in case anyone got into the same trouble, here's the solution.
Added to gsconfig.php
Code:
define('NMPARAMPOST','akce');
Code:
RewriteRule ^tag/([^/.]+)/page/([^/.]+)/?$ index.php?tag=$1&page=$2 [L]
RewriteRule ^tag/([^/.]+)/?$ index.php?tag=$1 [L]
RewriteRule ^akce/([^/.]+)/?$ index.php?akce=$1 [L]
RewriteRule ^page/([^/.]+)/?$ index.php?page=$1 [L]
RewriteRule ^archive/([^/.]+)/?$ index.php?archive=$1 [L]
Tomáš Janeček - Multilingual personal website powered by GetSimple
» The little I did for GetSimple
» The little I did for GetSimple