Remove base URL

Support General Remove base URLResolved

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #50113
    Web GuyWeb Guy
    Participant

    Hi,

    In Meta Box Pro, I can't see an option to remove the base URL from a CPT.
    E.G. I created a Locations CPT, with a URL of 'design'
    Then created 3 entries for 'web design location 1', 'web design location 2', 'web design location 3'

    The URLs for these are;
    mydomain.com/design/web-design-location-1
    mydomain.com/design/web-design-location-2
    mydomain.com/design/web-design-location-3

    This is not perfect for SEO, so I'd rather have;
    mydomain.com/web-design-location-1
    mydomain.com/web-design-location-2
    mydomain.com/web-design-location-3

    Is there a way to achieve this in Meta Box Pro?

    I know I can do this via a PHP snippet but I'd rather achieve it via the Meta Box Pro UI.

    If there isn't a way via your UI, where can I create a feature request?

    #50114
    PeterPeter
    Moderator

    Hello,

    Thanks for reaching out.

    Meta Box doesn't support an option to remove the CPT slug base, currently. I suggest you use a third-party plugin or custom code to remove the CPT base.
    https://wordpress.org/plugins/remove-cpt-base/

    I will forward this ticket to the development team to consider supporting an option to remove CPT base.

    #50115
    Web GuyWeb Guy
    Participant

    Thanks for forwarding. Yeah, I really don't want to install another plugin, have too many already 😉
    I've added a PHP snippet for now but would be great if this was added into the UI.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.