Home › Forums › Calendar Products › Events Calendar PRO › Event 404 when wordpress permalinks used
- This topic has 8 replies, 3 voices, and was last updated 11 years, 6 months ago by
Josh.
-
AuthorPosts
-
October 6, 2014 at 4:04 pm #792464
aldf
ParticipantI am getting a 404 response from the events plugin when attempting to view a single event. After disabling the pretty url feature (Post name) of wordpress I am able to click through to the event. Here is an example: http://animallawconference.aldf.org/event/test-today/. We would like to get this working with the Post name permalink setting.
I confirmed there are no relevant JS errors.
I did not see a system information box at “WP Admin > Events > Settings > Help: System Information box”
Pasting the code referenced here(http://pastebin.com/Zu2sm28x) into my theme does not add any additional output to the page, even when adding “?tribe_query_debug=true” to the end of the pretty URL.October 6, 2014 at 5:44 pm #792697Josh
ParticipantHello aldf,
Thanks for reaching out to us!
It sounds like you’ve followed the steps mentioned here and have found that the 404 resolves itself when using the default WordPress permalinks settings (rather than pretty permalinks).
I’ll follow up with our team regarding that particular 404 issue and should hopefully have a follow up for you tomorrow.
Thanks!
October 7, 2014 at 8:25 am #794212aldf
ParticipantI also found out that this works on single site install, but does not work on multi site install last night.
October 7, 2014 at 8:26 am #794218aldf
ParticipantAh I checked the wrong radio above!
October 7, 2014 at 11:42 am #794573maria miranda
ParticipantHi! I’m having this problem when I link to an Events Category. Please! 🙁
October 7, 2014 at 7:52 pm #795319Josh
ParticipantHello aldf,
I checked with the team and have a couple of things for us to try out.
- <span style=”line-height: 13px;”>Have you tried disabling all other plugins to ensure that this isn’t a plugin conflict with the slug being used for single events? It looks like there are a few still active on the site currently.</span>
- Within your plugin settings, does the issue persist when you modify the slug for the single event (https://cloudup.com/cjqfk0UDoZk). Try changing it to something different such as “abc-events”, something unique that couldn’t possibly be used by anything else.
Let me know if either of these help with the issue.
sharon,
It’s best to open new tickets so we’re able to get to you a reply as quickly as possible. To start, have you tried following the troubleshooting steps described within our tutorial here?
Thanks!
October 8, 2014 at 8:16 pm #797731aldf
ParticipantThis issue iss resolved by adding the following line to the-events-calendar/lib/the-events-calendar.class.php line 2436. Please let me know what branch in the git repo you need me to submit a pull request against if you want me to contribute the sollution in that fashion.
$newRules[$singleBase . ‘([^/]+)/?$’] = ‘index.php?’ . self::POSTTYPE . ‘=’ . $wp_rewrite->preg_index( 1 );
October 8, 2014 at 8:54 pm #797800Josh
ParticipantHello aldf,
Thanks for following up with us and posting the solution that you’ve found! I’ll pass this along to one of our developers to let them review the solution in light of this specific 404 issue.
Thanks!
October 15, 2014 at 11:33 am #812651Josh
ParticipantHello aldf,
Just noticed that you requested information about pull requests. You can make a pull request on our Github repository. More information about Pull Requests can be found in item #4 of the readme for that repository.
I’ll go ahead and close this ticket. If you have any further questions please don’t hesitate to open a new one.
Thanks!
-
AuthorPosts
- The topic ‘Event 404 when wordpress permalinks used’ is closed to new replies.
