• Hi.
    When i edit the breadcrumb with all pages path, it shows the entire path in the url too.

    Actually, the system is this:

    Breadcrumb

    Homepage>parent page 1> parent page 2> page

    Url

    is:
    Homepage/parent page 1/parent page 2/page, but the permalink it’s too long.

    Instead, i’d like to make:

    Breadcrumb

    Homepage>parent page 1> parent page 2> page

    and

    url

    :
    Homepage/page

    How could i manage this?
    Many thanks

    • This topic was modified 3 years, 6 months ago by lorcur.

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter lorcur

    (@lorcur)

    Can you help me?

    Plugin Author John Havlik

    (@mtekk)

    I guess I don’t fully understand your question. Breadcrumb NavXT is not influenced by the URL structure, and the breadcrumb trail does not necessarily match the URL structure of a site. Breadcrumb NavXT relies on the actual content organization within WordPress, which may not match the permalink structure. That said, if you are using just pages (instances of the page post type), the default way WordPress generates permalinks is to have the full hierarchy in the URL. Normally, that isn’t a problem (honestly, I’m not sure how/why you think your URLs are too long, very few people type in URLs past the main page on a site these days so it really does not matter).

    Thread Starter lorcur

    (@lorcur)

    URL is influenced by the plugin.
    If i handle the breadcrumb, the structure url follows the same breadcrumb structure.

    For SEO reasons, i’d like to have tiny permalink

    Is there a way to stop this operation?
    Many thanks

    • This reply was modified 3 years, 5 months ago by lorcur.
    Plugin Author John Havlik

    (@mtekk)

    The URL is not influenced by the plugin. If you disable Breadcrumb NavXT the URL is going to be the same as it is right now. Likewise, the URL does not influence the breadcrumb trail that Breadcrumb NavXT generates, the parent->child relationship of terms and posts does (e.g. the actual content location/organization is what matters for Breadcrumb NavXT). This parent->child relationship is what WordPress uses in the permalink for hierarchical post types, hence why the URL structure seems to match the breadcrumb structure. In fact, this is a good thing. Having multiple levels in your URLs (having multiple /) is not a bad thing as long as items at the save level are actually related to the parent level.

    Regarding long URLs, having multiple levels in the URL is not a problem. Using long permalinks due to very long titles, can be a problem. However, WordPress allows you to change the permalink for a post from what it generates by default, use that feature if you think things are getting long. Your example isn’t that long of a URL, and as long as the individual URLs make sense, it should be fine (it looks like your titles may all contain about the same word so you’re probably being verbose/repetitive and can clean that up in the permalinks).

    Thread Starter lorcur

    (@lorcur)

    Sorry for the delay.
    Yes, the relationship between the parent e child page influences the url.
    But if i don’t create this relationship, the plugin doesn’t work because i can see only:
    Home>last page
    but not the entire URL= Home>page 1> page 2> last page.

    Is there a way to handle this?
    If you want i can give you the login to get in the website.

    Many thanks

    Plugin Author John Havlik

    (@mtekk)

    The solution to the concern about long URLs is to adjust your permalinks for your posts/pages (remove excess/repetitive words from the permalink). As stated above, there isn’t a penalty for having ‘/’ in the URL if you are actually showing hierarchy, which you are with a parent->child relationship, and that will match what the breadcrumb trail is showing. Trying to have a flat URL structure for a hierarchical post type doesn’t really make sense. Likewise, trying to show a hierarchy in a breadcrumb trail where it doesn’t exist (and hence a flat URL structure) doesn’t really make sense either as the breadcrumb trail should reflect the actual location of a resource within your site hierarchy.

    If you really want to do things the difficult way (not recommended), there is an extension to Breadcrumb NavXT that allows you to use a WordPress menu to define the hierarchy used for the breadcrumb trail. However, for what you’re doing it’s going to be extra work that really isn’t necessary.

    Thread Starter lorcur

    (@lorcur)

    Where can i find this extension?

    Thread Starter lorcur

    (@lorcur)

    hey!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘The plugin change my permalink’ is closed to new replies.