Divi WordPress Theme
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WordPress fix Linking to a post with the wrong category name still works

Discussion in 'Misc WordPress Requests' started by PhilEsq, Apr 2, 2018.

  1. PhilEsq

    Guest

    Linking to a post with the wrong category name still works, by PhilEsq

    I noticed that when I link to a post, if the link does not have a category I will get a 404 error but if I enter anything for the category it links to the correct page.

    For instance, the correct URL for this post is:
    https://newyorkmotorcycleaccidentlawyer.com/accidents/need-motorcycle-lawyer

    But this also works and anything can be substituted for the category accidents and it will still work:
    https://newyorkmotorcycleaccidentlawyer.com/x/need-motorcycle-lawyer

    However, this will not work:
    https://newyorkmotorcycleaccidentlawyer.com/need-motorcycle-lawyer

    For permanent links, I am using https://newyorkmotorcycleaccidentlawyer.com/%postname%

    Can anyone tell me why that is?

    Linking to a post with the wrong category name still works
     
    #1

Share This Page

Monarch Social Sharing Plugin