Skip to content

Wrong path in base_js.tpl #3

@stephaneisenbach

Description

@stephaneisenbach
            path: function(page){
            [{assign var=fp value='&'|str_replace:'&':$pages->firstpage}]
            [{if $fp|stristr:'index.php' === FALSE}]
                return '[{$fp}]'+page;
            [{else}]
                return '[{$fp}]&pgNr='+(page-1);
            [{/if}]
            },

If the SEO-Url of the second or third page is different to the url of the "firstpage", you'll get a 404 error and no further articles are loaded. (If you change the SEO-Url of a category after the paging URLs were generated, the paging URLs will be different).

For example:
1st page: xxx-yyy/ (category main link)
2nd page: xxx/2

At this point, every page url should match with its real SEO-Url (oxseo.oxseourl).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions