For some reasons CLinkPager (CPagination) on my testing server creates wrong links.
The url of the page is "http://www.website.com/search/results?cn=sometext", but the links CLinkPager creates are:
-
The very first page: "http://www.website.com/[color="#8B0000"]search/results/q/[/color]search/results/cn/sometext"
-
The second page: "http://www.website.com/[color="#8B0000"]search/results/q/[/color]search/results/cn/sometext/page/2", etc.
The highlighted part of the url is not supposed to be there. On the production server everything works fine though.
Production server: nginx + apache + PHP 5.2.13
Testing server: nginx + PHP 5.3.3 (with PHP-FPM)
Any thoughts?
Thank you!