2013-04-10, 13:05:47
(2012-11-29, 05:05:15)sumitsarkar Wrote:(2012-11-29, 01:47:44)Carlos Wrote: No more ideas. I can only suggest you post your rewrite file (the one that works with GetSimple's fancy urls but not with the blog) in one of the nginx-related threads here. Maybe someone who knows nginx can help you.
Well, I am posting the rewrite rules right here. I hope the developer of the plugin sees it and helps.
location /blog {
rewrite ^/blog/post/(.+)$ /index.php?id=blog&post=$1 last
rewrite ^/blog/tag/(.+)$ /index.php?id=blog&tag=$1 last
rewrite ^/blog/page/(.+)$ /index.php?id=blog&page=$1 last
rewrite ^/blog/archive/(.+)$ /index.php?id=blog&archive=$1 last
rewrite ^/blog/category/(.+)$ /index.php?id=blog&category=$1 last
}
I'm having a similar issue with the Pretty Urls function, although I suspect in part it is because in my parent .htaccess I'm rewriting to .html (rebuild of an html site, keeping page names consistent for main pages).
I need to get the rewrite to be something news/postname but right now am getting /news.htmlpost/postname and I'm not sure if it is an error in the rewrite rules OR the link posting. I have to resolve a layout/call error before I can determine which.