Home › Forums › Calendar Products › Events Calendar PRO › events/pastor redirects to events/or/list/?tribe_event_display=past
- This topic has 26 replies, 4 voices, and was last updated 6 years, 4 months ago by wesleyanhq.
-
AuthorPosts
-
August 9, 2017 at 12:09 pm #1333025wesleyanhqParticipant
Hello,
From this thread https://theeventscalendar.com/support/forums/topic/creating-an-archive-of-events-that-have-passed/#dl_post-1273299
I learned that events/past redirects to events/list/?tribe_event_display=past.
Now, my trouble is that /pastor also redirects in the same way! Not good. 🙁
For example, https://wesleyanit.wpengine.com/event/pastor-appreciation-2017
redirects to
https://wesleyanit.wpengine.com/event/list/or-appreciation-2017?tribe_event_display=past
which is a broken link!If the url does not begin with “past…”, then it works, such as https://wesleyanit.wpengine.com/event/epastor.
We have 30-60 writers on our website, so it seems a challenge to educate everyone that they cannot start a url with the letters P A S T …
Any advice?
August 9, 2017 at 9:16 pm #1333255CliffMemberHi. Sorry you’re experiencing this.
Thanks for your detailed message.
Please install the Rewrite Rules Inspector plugin (third-party, not guaranteed or supported by us) and send me a screenshot of its analysis of https://wesleyanit.wpengine.com/event/pastor-appreciation-2017
August 10, 2017 at 11:39 am #1333624wesleyanhqParticipantHi Cliff,
Thanks for your reply. Attached is the screenshot. Is it what you are looking for?
August 10, 2017 at 3:31 pm #1333798CliffMemberWell done. Thank you.
I tried to replicate this by creating an event with “past” as the start of the event title and slug.
I then tried to visit it and it worked just fine, with the same rewrite rules as yours: https://cl.ly/2O1l0C2p2Q06
Therefore, I’d suggest following these recommended troubleshooting steps for your own site:
There might be some new updates available. Could you please make sure all your Modern Tribe plugins (and WordPress core) are at their latest versions?
- Downloads / Version Numbers
- License Keys
- TEC Automatic Updates
- or TEC Manual Updates
- WordPress core updates
Once you verify you’re on the latest versions, please test to see if the issue is still happening for you.
If it is, please follow our Testing for Conflicts Guide (basically switch to Twenty Seventeen theme and deactivate all plugins and custom code other than Modern Tribe plugins) and see if that helps narrow down the cause of this.
Of course, we always recommend restorable database and file backups before modifying anything on your site.
If it doesn’t, please enable WP_DEBUG and WP_DEBUG_LOG (which will create a file on your server at /wp-content/debug.log if there are any WP_DEBUG messages) and share any debug messages you see while trying to replicate this issue and doing other things on your site relevant to this ticket (such as visiting your site’s home page, events page, single-event pages, and anything else you can think to do).
Then, please share your System Information (while in Testing for Conflicts Mode) in a Private Reply. That will give me a lot of extra information to help troubleshoot this.
You might also see if you can spot any console errors at your site. (If needed, you may reference our KB article Using Google Chrome Developer Tools.)
Let us know what you find out.
Thanks.
August 13, 2017 at 2:38 am #1334637Martin BriercliffeParticipantI have exactly the same problem with http://themindcoach.eu/events/past-life-regression-nbcc/ it redirects to http://themindcoach.eu/events/list/-life-regression-nbcc/?tribe_event_display=past which brings up a 404 PAge
August 14, 2017 at 3:11 pm #1335194CliffMemberHi, Martin.
I understand you are likely experiencing the exact same thing as this thread’s original poster.
We definitely want to keep track of trends regarding specific bugs or theme/plugin incompatibilities. However, we need you to create your own separate thread (linking back to this thread would be great) so that we can address each user’s issue independently.
By doing it this way, we can fully address the situation based on each user’s unique combination of settings, active plugins, etc. We’ll also be able to compare and contrast as needed.
Finally, posting to your own thread allows you to share your System Information Report and post Private Replies that only you (the original poster) and our staff can see.
Please do reference any action steps we may have recommended in this thread and then create your own separate thread with as much information as you think would be helpful for us.
Thank you for your extra effort and understanding.
===
Wesley, I’m looking forward to hearing back from you how things went.
August 15, 2017 at 5:12 pm #1335826wesleyanhqParticipantThis reply is private.
August 15, 2017 at 5:21 pm #1335829wesleyanhqParticipantThanks for the in-depth help to make sure we cover all the bases. I updated all themes/plugins, comparing latest version numbers, per your list of links.
Then i copied to a staging time and tested for conflicts mode, per your helpful suggestions. On the staging site, all other plugins were deactivated and deleted. All themes except Twenty Sixteen and and twenty seventeen were deleted. Twenty sixteen is active. Issue still occurs: https://wesleyanit.staging.wpengine.com/event/pastor-appreciation-2017 redirects to 404 error.
Still on the staging site, I activated wp debug and log. Nothing in the log for august, I refreshed it a few times, and nothing on either top or bottom of doc, goes from july 20 to july 26. debug says things are successful in Chrome Inspector Console, so I assume it’s working. Only error I saw there was on a single event for the Google maps.
System info was shared in a private thread.
I appreciate your help.
August 16, 2017 at 4:37 am #1335941wesleyanhqParticipantNote, I did add Divi theme back now for testing another (unrelated) issue. Let me know if that complicates the site for you.
- This reply was modified 6 years, 8 months ago by wesleyanhq.
August 16, 2017 at 12:56 pm #1336302CliffMemberWesley, thanks for your detailed replies!
The https://wesleyanit.staging.wpengine.com/event/2017-pastor-appreciation link works for me now. If it’s still not working for you, maybe try clearing your browser cache.
August 17, 2017 at 3:39 am #1336641wesleyanhqParticipantoh, it redirected to a similar event. I removed that event. Now you can see the error:
https://wesleyanit.staging.wpengine.com/event/pastor-appreciation-2017August 17, 2017 at 4:05 pm #1337094CliffMemberNow that URL redirects to https://wesleyanit.staging.wpengine.com/event/test-of-nothing
Is that what you were expecting?
Any idea why it’s redirecting instead of doing a 404?
August 18, 2017 at 5:13 am #1337270wesleyanhqParticipantHmm, no, did not expect that.
So I put that event to draft. Now does it go to a 404? https://wesleyanit.staging.wpengine.com/event/pastor-appreciation-2017
We want to go live next week, if we could get this working soon, that would great.
I think the host WPEngine has a really good redirect system where it remembers url history, to prevent old links from breaking after changes. It will also find published data that matches partial searches, for example, if you type in half a url, it will find the post with that in the url. Or maybe it’s a WordPress thing?
August 18, 2017 at 1:06 pm #1337543CliffMemberYes. It redirects to https://wesleyanit.staging.wpengine.com/?post_type=tribe_events&p=11118, which is a 404
Which post had the ID of 11118?
August 21, 2017 at 3:13 pm #1338308wesleyanhqParticipant11118 was the old event post, /test-of-nothing/ one, now a draft.
I resaved permalinks, and that ID should be gone now.
I checked, and the Event post in question is published, with ID 11177. If you access https://wesleyanit.staging.wpengine.com/?p=11177 that also goes incorrectly to https://wesleyanit.staging.wpengine.com/event/list/or-appreciation-2017?tribe_event_display=past
Which shouldn’t be happening.
Because other posts will permalink correctly, for example https://wesleyanit.staging.wpengine.com/?p=1238 correctly goes to https://wesleyanit.staging.wpengine.com/event/gathering
Does this page https://wesleyanit.staging.wpengine.com/event/pastor-appreciation-2017
go to this 404 page https://wesleyanit.staging.wpengine.com/event/list/or-appreciation-2017?tribe_event_display=past
for you?Does this page https://wesleyanit.staging.wpengine.com/event/pastororonious
go to this 404 page http://wesleyanit.staging.wpengine.com/event/list/oronious?tribe_event_display=past
for you? This new event post’s ID is 11335. -
AuthorPosts
- The topic ‘events/pastor redirects to events/or/list/?tribe_event_display=past’ is closed to new replies.