Support

links

Posted: June 20, 2023 at 10:19 am

Viewing 6 reply threads


lauriedougherty

June 20, 2023 at 10:19 am

The links stopped working again. I tried what you had said the last time and it worked.

Go to Dashboard -> Settings -> Permalinks.
Make no changes and just click save to flush your permalinks.
Do they work then?

Is there something I can look for? I had not updated any plug ins at all. I have a plug in called broken link checker that I used several years ago that I no longer use. Should I de-actviate it? Could it be causing it? It would seem not as you would have to ask the link checker to check the links. I don’t think it does it automatically. I don’t need it any longer so I can remove it. I also did not do the update to version 5.0.7 of event expresso yet. Will do that tomorrow or after I see your response here. Thanks.


Garth

  • Support Staff

June 20, 2023 at 11:07 am

Can you be more descriptive of what links are not working?


Tony

  • Support Staff

June 20, 2023 at 11:14 am

Hi there,

So then to troubleshoot this we need to enable WP_DEBUG and add a plugin which logs when the rewrite rules have been flushed to find out what called for them to be flushed before EE could add its rules.

Are you comfortable with FTP?


lauriedougherty

June 21, 2023 at 11:46 am

Yes – I can FTP. Should I wait until it happens again and try this before I do the Dashboard Settings Permalink fix? Right now it worked again after I did that. The links that were not working were all of the events.


Tony

  • Support Staff

June 21, 2023 at 1:31 pm

If you comfortable with FTP then do it now.

First, edit your sites wp-config.php file and set the site to log errors using this snippet:

https://eventespresso.com/wiki/troubleshooting-checklist/#wpdebug

That snippet replaces what is usually just define( 'WP_DEBUG', false );

Then add this to the site: https://gist.github.com/Pebblo/a6d2b949d0ae784c09de442b9848ff7d#file-1tw_log_rewrite_rules_array-php

You can add that code to a custom functions plugin and we have documentation on creating one here:

https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/

(The code it actually already set up as a plugin, so you can add it to a file in a directory within /wp-content/plugins/ as is and it should show up in your Plugins menu)

With that code active it should start logging to /wp-content/debug.log each time the permalinks are flushed, you can test that by flushing peramlinks using the method you already are and checking the above location. As long as details are being written to the file, its working.

Then the next time it happens again, you can flush permalinks and let us know that it happened, we can check the log for details from there.


lauriedougherty

June 26, 2023 at 12:39 pm

I reviewed the steps you have given me. I’m going to try one more thing before I do these. I’m in-activating and deleting the link checker app from the website. It is no longer necessary. I’ll watch and see if it happens again and then I will try these steps. I know it will be “after the fact” but hopefully the link checker app was the culprit and it is gone now. I”ll post any updates to this. Thanks.


Rio

  • Support Staff

June 26, 2023 at 5:30 pm

We usually use Health Check & Troubleshooting plugin, you can disable plugin and theme without really disabling it.

Or you can do the manual way of testing, just like what you’re doing right now.

If you need anything, feel free to let us know.

thanks.

Viewing 6 reply threads

The support post ‘links’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso