• Hi all,

    I am having trouble with a few pages on a couple of websites I maintain.

    When updating certain pages wordpress is overwriting the slug I have entered and is replacing it with the slug from a post that already exists as in the below example:

    companypage.com/products/ <- this is what I want

    companypage.com/random-news-story-from-blog/ <- this is what it keeps changing to

    Does anyone have any idea of why this is happening and how I can resolve it?

    Thanks

    Adam

Viewing 6 replies - 1 through 6 (of 6 total)
  • Frank

    (@fwusquare2com)

    I have this same exact problem as well. Every time I Update a page, the permalink is changed to that of an existing post and if I attempt to reach my page via its intended permalink in the frontend, I get a 404.

    A few other observations:

    • Once the permalink is changed, the page even lists the revisions from the post that it is pulling the permalink from, while still retaining the correct page content.
    • This only appears to affect pages and not posts.
    • I have to manually keep editing the permalink to in order to keep it what it should when updating a page.
    • I only noticed the glitch after my staging site automatically updated to WordPress 4.3.1 from 4.3. However since I don’t need to edit pages frequently as opposed to posts, the glitch could possibly have started in WP 4.3. A previous version of the site at WP 4.2.5 does not exhibit this problem.

    Were you ever able to determine the cause and/or how to resolve the problem?

    Have you tried changing the permalink settings in settings to a different option like month-day,etc and then back again? I had a similar issue and doing this fixed it.

    Frank

    (@fwusquare2com)

    Thanks lonegijoe for the suggestion, I tried that but it didn’t resolve the issue.

    Frank

    (@fwusquare2com)

    UPDATE: I finally managed to determine the glitch with my setup. There is a compatibility issue with the combination of plugins Facebook Thumb Fixer (1.5.1), W4 Post Lists (2.0.7), and WordPress 4.3.1 (possibly starting with 4.3) that create the permalink issue with my client’s site.

    Through a laborious process of elimination (including with all other plugins deactivated & with a default WP theme), the following conditions create the permalinks glitch:
    – Using WordPress 4.3.1 (possibly starting with 4.3).
    – Facebook Thumb Fixer plugin activated.
    – W4 Post Lists plugin activated.
    – Have/create a few posts.
    – Create a custom post list with the W4 Post Lists plugin.
    – Have/create a page with pretty permalink.
    – Add the shortcode for the custom post list (example: [postlist id=123]) and Update page.
    – The page permalink is automatically changed to the permalink of one of the posts instead.

    A previous version of the site on WP 4.2.5 with the same versions of those two plugins, did not create the glitch. So something has changed from the earlier WP version that is incompatible with those plugins in this situation.

    If there is no custom post list shortcode on the page, then there is no permalink issue. But since being able to create custom post lists with W4 Post Lists is essential for my client’s site, my only choice is to disable Facebook Thumb Fixer. This may not be the answer for you guys, but perhaps this can focus your investigation and point you in the right direction.

    Oh Frank thank you so much for posting this..
    disabling Facebook Thumb Fixer solved it for me..
    Oh this has been driving me crazy for a year
    So much gratitude!!

    Frank

    (@fwusquare2com)

    You’re more than welcome happyches! Glad the info could help you! It annoys me when folks don’t update their topics when they say they’re going to try a solution & report back whether it works or not, but never do.

    Regards!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Page permalink keeps changing’ is closed to new replies.