i need help with NewsManager 2.2.4 plugin and 3.1 GS with funcy urls enabled.
1. i have nginx with these rewrite rules for news plugin:
2. my parent news page's slug called 'novosti'. it's for 'news' in russian.
3. i've created some news in NewsManager
4. funcy urls are enabled in GS and works fine for 2-level menus (1 level actually)
tryfiles directive is: "try_files $uri $uri/ /index.php?id=$uri&$args;"
5. news are showing without funcy urlsenabled and have adresses like this:
seems good and ready to be rewritten from /novosti/post/sbc-computer . but it doesn't work and i don't know how to debug it in nginx. spot some lite here please.
upd:
sorry guys, i just forget to restart nginx. shame on me !
1. i have nginx with these rewrite rules for news plugin:
Code:
rewrite ^/novosti/post/([^/.]+)/?$ /index.php?id=novosti&post=$1 last;
rewrite ^/novosti/tag/([^/.]+)/?$ /index.php?id=novosti&tag=$1 last;
rewrite ^/novosti/page/([^/.]+)/?$ /index.php?id=novosti&page=$1 last;
rewrite ^/novosti/archive/([^/.]+)/?$ /index.php?id=novosti&archive=$1 last;
2. my parent news page's slug called 'novosti'. it's for 'news' in russian.
3. i've created some news in NewsManager
4. funcy urls are enabled in GS and works fine for 2-level menus (1 level actually)
tryfiles directive is: "try_files $uri $uri/ /index.php?id=$uri&$args;"
5. news are showing without funcy urlsenabled and have adresses like this:
Code:
http://energonaladka/index.php?id=novosti&post=sbc-computer
(2013-03-28, 04:34:58)remort Wrote: i need help with NewsManager 2.2.4 plugin and 3.1 GS with funcy urls enabled.
1. i have nginx with these rewrite rules for news plugin:
Code:rewrite ^/novosti/post/([^/.]+)/?$ /index.php?id=novosti&post=$1 last;
rewrite ^/novosti/tag/([^/.]+)/?$ /index.php?id=novosti&tag=$1 last;
rewrite ^/novosti/page/([^/.]+)/?$ /index.php?id=novosti&page=$1 last;
rewrite ^/novosti/archive/([^/.]+)/?$ /index.php?id=novosti&archive=$1 last;
2. my parent news page's slug called 'novosti'. it's for 'news' in russian.
3. i've created some news in NewsManager
4. funcy urls are enabled in GS and works fine for 2-level menus (1 level actually)
tryfiles directive is: "try_files $uri $uri/ /index.php?id=$uri&$args;"
5. news are showing without funcy urlsenabled and have adresses like this:
seems good and ready to be rewritten from /novosti/post/sbc-computer . but it doesn't work and i don't know how to debug it in nginx. spot some lite here please.Code:http://energonaladka/index.php?id=novosti&post=sbc-computer
upd:
sorry guys, i just forget to restart nginx. shame on me !