• Resolved mobius01001

    (@mobius01001)


    I have noticed that if I edit slugs in my address bar the broswer display always that specific dynamic page. we are talking about third part plugin

    For example
    if I reach the page domain.it/dynamicpage1/final_request
    and then edit it (in my adress bar) with
    domain.it/WHATEVER/final_request

    the page stays the same, keep showing me the edited address. How come?
    I could write a link to domain.it/WHATEVER/final_request to reach final_request anyway.
    Http Header response stays the same (code 200)

    How come?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator bcworkz

    (@bcworkz)

    WP tries to fulfill a request even when extraneous information is provided. If WP does not understand a portion of a requested URL, it’ll likely be ignored. Since a page slug alone is enough to get to the correct page, other URL information is not needed. But if WP thinks it understands the extraneous data (such as random date-like information), it’ll include it in the query, which will result in a soft 404 error instead of a redirect.

    WP should redirect to the proper canonical URL when you make a request with unrecognized extraneous random data. Exact behavior might depend on the permalink structure you’ve configured, but this is generally the case.

    If you are not redirected to the canonical URL after a ‘whatever’ request, it could be your theme or a plugin has interfered with the canonical redirect mechanism.

    Thread Starter mobius01001

    (@mobius01001)

    thanks for the answer!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Different permalink but same dynamic page’ is closed to new replies.