oh, and I have re saved permalinks but makes no difference
I do have a custom structure:
/newsroom/blog/%postname%/
as I have a newsroom area with several Custom Post Types so needed to force the blog (regular posts page) to appear under ‘newsroom’ parent.
Could this be the reason I am getting 404 on the event single view?
The url that is 404 for single events looks like it should be correct though:
http://mydomain.com/my-events/webinar-name-of-event-EVENT-ID-HERE/
Yes, the subpage is most likely causing the problem. It’s a known issue: having the Eventbrite Events page template assigned to a subpage will not affect the main listing, but single view rewrites won’t work properly (hence the 404). Unfortunately we don’t have an ETA for a fix at this point.
Hi,
thanks for your reply. Just to clarify, my test events page is not a sub page currently. It is located here:
domain.com/events-test
So it is a top level page, currently.
The plan would be to have it here once I get it working
domain.com/newsroom/events-test
which I think is the issue you know about and mention above?
So in this case I just wanted to know if that custom structure in the permalinks is affecting this even though the page is not a sub page at the moment?
Just so I know if that is the issue or if it’s something else.
And therefore, If I changed that custom structure back to standard post name, would it then work do you expect?
Thanks!
Hi,
Correct, domain.com/events-test
will have single events that work correctly, while domain.com/newsroom/events-test
will list the events properly, but will 404 on the single views.
Hi,
my events page is domain.com/event-test
but still the single view is 404.
My plan is to have it under /newsroom/
but it isn’t there yet so it should be working on single view at the moment?
Hm, if single views are 404ing with domain.com/event-test
, do you still have the subfolder permalink structure? There should be no reason for 404s on single view if the page is not a subpage, and the permalinks are one o the offered permalink structures (like %postname%
).
Also, visiting Settings > Permalinks and hitting Save (no need to change anything) should force a refresh of the rewrite rules, if for some reason that hasn’t happened for you yet.
Hi, thanks for your reply.
That permalink rewrite is still set as:
/newsroom/blog/%postname%/
because the main posts area of the site (blog) needs the urls to show newsroom as the parent so it needs that in place.
So I assume that still affects the single events even though they are custom posts(?) and not under the newsroom in the actual page heirarchy?
Hmm, is there any way around this?
> So I assume that still affects the single events even though they are custom posts(?) and not under the newsroom in the actual page heirarchy?
Unfortunately, yes.
I don’t see a way around it; it requires reworking and expanding how the plugin handles rewrite rules, and we just haven’t been able to make work like this a priority for the plugin. Sorry we don’t have better news 😐
You may be able to accomplish what you need using some of Eventbrite’s other embedding offerings, you’ll just have to put up with their predetermined styling.
Ok thanks I’ll look into those options
Is there any workaround to this so that we don’t have to manually embed the event each time one is updated? I have permalinks set up as /%category%/%postname%/ and have my events on a submenu.