Using GET Query Strings with Expressionengine and Structure -
i trying set pagination on 1 of ee structure pages , query string results in 404 error. think has .htaccess file cant figure out. here .htaccess file, i'm using exclude method removing index.php url,
rewritecond $1 !^(images|system|themes|modules|scripts|uploads|css|favicon\.ico|robots\.txt|index\.php|sitemap\.php|sitemap\.xml) [nc] rewriterule ^(.*)$ /index.php/$1 [qsa,l]
so if add simple query like,
/account/?page=2
i 404 error...
thanks guys can offer!
yes, it's trying find template named "?page=2" , doesn't throws 404 error.
try using index.php filename in url: /account/index.php?page=2.
or, make url variables segments , use {segment_#} parse them. so, /account/page2/ , use {segment_2} in template variable.
Comments
Post a Comment