We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 23689
    • 3 Posts
    Hi all,

    I have a problem with a site using modx 0.9.5 (with friendly urls, friendly aliases enabled):

    The site uses numerical page aliases (e.g.: 100, 136, etc., these are project numbers assigned by the client/user of the site). Now I found out, that these numerical aliases get confused with the documnent ids in case there is a matching document id. For example there accidentially there is both a page alias 100 and a page id 100, so when i try to navigate to "www.example.com/folder/100" which works perfectly for other pages, I don’t get the page with alias "100", but the page with the id "100". I already noticed, that this is a bug with the document parser, which got corrected just recently in one of the newest builds (https://www.ohloh.net/p/3212/commits/31157827).

    Is there a workaround for this problem other than updating to the newest version or reassigning new page aliases for all pages?
    Would it be possible, to change the automatically assigned page ids? For example is it possible to have them started at 10000, so they don’t get confused with the page aliases?
    All Help appreciated!!

    thanks,
    polychroma.
      • 7231
      • 4,205 Posts
      I have a problem with a site using modx 0.9.5 (with friendly urls, friendly aliases enabled):
      I think this was fixed in a recent release. I would check in Jira (bug tracker) and look for this issue, the code for the solution may be listed and you could apply in to your install (if it is not dependent on other subsequent changes).
        [font=Verdana]Shane Sponagle | [wiki] Snippet Call Anatomy | MODx Developer Blog | [nettuts] Working With a Content Management Framework: MODx

        Something is happening here, but you don't know what it is.
        Do you, Mr. Jones? - [bob dylan]
        • 23689
        • 3 Posts
        Hi!
        Thanks for your quick reply!
        I found the bug in the database and was able to apply the changed code.
        For reference: http://svn.modxcms.com/jira/browse/MODX-427

        polychroma.