• I have events (football match fixtures) that are posted for a few days before the actual date.

    After the update on WordPress, the links won’t work anymore, I have tried to flush the permalinks via settings -> Permalink -> Changing from the default to Numeric, unfortunately that didn’t resolve my problem.

    When you click on a fixture this is the link that appears and returns a 404:
    https://moyolapark-fc.com/?post_type=tb_match&p=3789

    The correct link should be:
    https://moyolapark-fc.com/match/3789/

    I have spent a few hours trying to resolve this problem with little luck so far. Any suggestions would be greatly appreciated.

    Thanks
    Oonagh

Viewing 10 replies - 1 through 10 (of 10 total)
  • I would follow basic WordPress troubleshooting steps as follows:
    1) Disable all plugins and themes (this is just temporary for troubleshooting purposes).
    2) Test site by saving your permalinks settings and then seeing if you get the expected permalink structure
    3) If step two fails – the permalinks don’t match expected structure on a default WordPress installation – I suggest doing a manual re-install of WordPress.
    4) A manual re-install of WordPress is where you download the latest version and upload it to your server overwriting all WordPress core files *except* the wp-config.php file and the wp-content folder. Don’t overwrite these!
    5) Repeat step 2 (save permalinks and test). If everything works, re-enable all your plugins and themes and test again to confirm.
    6) Now if everything worked great back in step 2, it’s time to test your theme. Re-enable your custom theme and test to see if the permalinks work correctly. If they do, great, we’ll move on to testing plugins. If not – contact the theme developer for support.
    7) If the theme works, we move on to testing plugins. Enable a plugin and test. If everything works, move on to enabling another plugin and test that. Continue until all plugins have been enabled and tested or until testing shows a failure. If you spot a failure, note which plugin you last enabled and contact that plugin developer for support.

    Through this process you should be able to identify what is causing the issue and get it resolved.

    Thread Starter Oonaghmcd

    (@oonaghmcd)

    The permalink structure is correct for all of the pages/posts, however, if the post is scheduled for the future the permalink is incorrect.

    I can view the post fine when I am logged into the dashboard, but when i log out and view the post as a visitor to the page the link brings up a 404.

    Uhmm.. if it’s a post that’s scheduled for future publishing then normal users should not be able to see the post, so it would make sense to get a 404 page.

    Or, are you saying that the permalink doesn’t work after the post has been published?

    Thread Starter Oonaghmcd

    (@oonaghmcd)

    Hey MarkRH,

    Take a look at https://moyolapark-fc.com/ under fixtures, click any match.

    https://moyolapark-fc.com/?post_type=tb_match&p=3789

    The correct url should simply be https://moyolapark-fc.com/match/3789/

    For some unknown reason it is adding in ?post_type=tb_match&p=

    If the date for the match (which it is always going to be as it is a football fixture) is in the future it won’t work.

    It was working fine until the recent update, for some reason it won’t work anymore.

    Might try going into Settings -> Permalinks, make sure the correct one selected and do Save Changes (even if it already is selected). Oh wait, I see. The Permalink does work but the links inside that widget or whatever isn’t using them. I’d still re-save the permalink settings.

    What widget or plugin is doing those? Also, I looked at https://moyolapark-fc.com/match/3789/ and noticed this in the code:

    <meta name="generator" content="WordPress 4.3.1" />
    <link rel='canonical' href='https://moyolapark-fc.com/?post_type=tb_match&p=3789' />
    <link rel='shortlink' href='https://moyolapark-fc.com/?p=3789' />
    <!-- <meta name="NextGEN" version="2.1.15" /> -->

    The canonical link should be your Permalink. That shortlink also causes a Not Found page.

    Thread Starter Oonaghmcd

    (@oonaghmcd)

    Hey MarkRH,

    Thanks for the quick reply, I am using Themeboy football club fixtures widget, it display the upcoming fixtures, and once the fixture date has passed you can update it with the match result.

    I have went into settings -> permalinks and tried a few different setting but nothing seems to work and the error still appears ??

    So the issue may be with the widget – have you contacted the widget developer for support?

    Thread Starter Oonaghmcd

    (@oonaghmcd)

    Hey Bemdesign, I’ve not contacted the developer for support, but I will do that today.

    Thanks for your input and advice Beddesign & MarkRH.

    Hi bemdesign!

    I have made it excally that way you have post at the beggining. After step 4 it still didnt work for me (theme and all plugins were turned off). I had clear WP and I still had 404 at every post… Do you have any idea what can be wrong?

    We are yiwu lucky forwarding company, One of the leading freight forwarders in yiwu,china.Yiwu lucky got its fame from our distinguished services provided through ten years to many clients & agents in?Red ?Sea and the Middle East Routes.

    ? ???????In order to provide more effective services for our clients,We are currently planning to have a deeper understanding of the freight and Purchasement markets in your region & hope to build a long-term fruitful relationship with your esteemed company. our company believe that make coorpation with the company who enjoys the reputation of Egypt, it is the best choice for meeting our clients needs .
    ? ? ??? Reciprocally, we would like to do our best to servise your side if you side have need ,which is not only about the below services ,but aslo through mutual communication, we can provide some construtive opinions & conduct some effective propaganda for your business in China web & market ,?Hoping that we have an opportunity to become you eyes in yiwu , can make your understanding of yiwu as well as your country.?

    (ps: company information)
    Name:yiwu lucky international ?forwarding co.,ltd ? ??
    Address:yiwu worker road no.937 room 409,china
    E-mail:[email protected]
    Tel:0579-89926085
    Cel: +86-18329000904 ?+86-15057902516
    Fax:0579-89926088
    Skype:yiwulucky01

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Permalinks not working after update 4.3.1 (?post_type=)’ is closed to new replies.