Paging issue [Solved]
Solution has been fully integratedSolution Manager: Bernard
Issue description
If you look at my blog (http://www.ngr78.co.uk/sections/9-blog) and then try to look at the older articles eg 11-20 it breaks.
This is using rewriting rules in htaccess.
This is using rewriting rules in htaccess.
Comments
| Bernard from nearby-an-airport Associate, 6805 posts | This is a bug coming from colliding rewriting rules. The address http://server/yacs/articles/2 was used to designate article number 2, and the address http://server/yacs/sections/view.php/9/articles/2 to designate the second page of articles in section 9. Obviously for the second link there are two ways to interpret the terminating articles/2, and this is what you are suffering from.Because of this issue the scheme used to designate an article has been changed to http://server/yacs/article-2, which is completely different from the one used to page in sections. But to make it work properly, and to fix the bug, you have to edit the file .htaccess to remove or comment out the legacy rewriting rule for articles:RewriteRule articles/([0-9]+)$ articles/view.php?id=$1 You may have to switch to version 7.10 before enjoying this safe way of referencing items. In the mean time, a workaround is to just stop using rewritten addresses. |
NickR![]() from West Yorkshire, UK 337 posts | Thanks. ----- Nick |
Rate this page
Posted by NickR on Oct. 9 2007, edited by Bernard on Oct. 10 2007, (popular)
