Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at

  • Caley 14 posts 125 karma points
    17 days ago

    Avoid accessing pages via the page ID

    Hi! On my site, how can I avoid accessing pages via the page ID?

    For instance, page ID 1802 is the contact page and can be accessed by both and the page name

    It should only be accessible by

    I have searched for a setting for this, but can't find any? –are there any solutions for this?

  • Nik 1567 posts 7015 karma points MVP 6x c-trib
    16 days ago

    Hi Caley,

    There is a configuration option available that will disable looking up pages by ID which I believe will solve your issue:

    The setting you are looking for is DisableFindContentByIdPath



  • Caley 14 posts 125 karma points
    1 week ago

    Hi Nik! That's exactly what it took to make it work. :) Thank you!

    It would be nice if pages were automatically redirected to the right page. Several of my pages, with ID as url, have somehow been indexed by Google and will now result in 404 pages. Do you know a solution for this?

Please Sign in or register to post replies

Write your reply to: