We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 47401
    • 295 Posts
    hi

    the main url's for all my blog posts appear to be adding /news/date/page-name so for example its adding /news/2014-11-21/page-name.html

    i cant seem to find anywhere to change the url to only /news/page-name.html

    /news/ is the main page for my blog posts

    has anybody done this?

    This question has been answered by multiple community members. See the first response.

    • discuss.answer
      • 44580
      • 189 Posts
      I explain how to get rid of it here: http://rgissing.com/blog/modx-revo-friendly-urls/
        • 47401
        • 295 Posts
        Hi

        Thanks for your reply.

        I actioned the following:

        Change the Articles URL format

        If you are not using Articles or you are happy with the default you can skip this step.

        Navigate to the Articles container and click on the Advanced Settings tab. At the bottom of this page is the Articles URL Format setting which has a default setting of:

        %Y/%m/%d/%alias/

        that produces URLs like:

        http://www.mydomain.com/articles/2014/02/06/title-of-an-article/

        Personally, I do not want the date as part of the URL and so I have changed it to:

        %alias/

        cleared modx cache and local cache went onto the blog home page and still the links show the date?
        • discuss.answer
          • 44580
          • 189 Posts
          you have to un-publish and then re-publish the page for it to take effect on already published pages. Any new pages should automatically pick it up.
            • 47401
            • 295 Posts
            ah yes thank you, found a very small print that says un publish and re publish. thank you for your help.