Support

Home Forums Event Espresso Premium Page /events/my-bookings/ is showing in sitemap but gives error

Page /events/my-bookings/ is showing in sitemap but gives error

Posted: April 2, 2018 at 7:50 pm


iwbnet

April 2, 2018 at 7:50 pm

Hi,

We have the following page URL showing in our XML sitemap.
ourdomain.com.au/events/my-bookings/

The page does not exist in the site and I cannot find any reference to this page in EE4 however it is in the sitemap and therefore Google is trying to index it and then giving an error as it cannot be found.

Can anyone advise where this page reference originates so I can rectify the crawl error?


Tony

  • Support Staff

April 3, 2018 at 3:34 am

Hi there,

That’s not something EE add’s to your site, do you have any other event management plugins installed on the site?


iwbnet

April 10, 2018 at 5:59 pm

Hi,

No we don’t so I assumed that EE4 was doing it. This is odd.


Tony

  • Support Staff

April 11, 2018 at 3:28 am

Do you have any pages in trash? Dashboard -> Pages -> Trash (it’s a filter view at the top of the list)

Check none of those have a ‘my-bookings’ slug as a child of a page with slug ‘events’.

EE uses the ‘events’ slug and it will override a page with that slug, so if you have an ‘events’ page and another as a child with ‘my-bookings’, when you go to /events/my-bookings/ your actually telling WP to look for a post of type espresso_events (events) with slug ‘my-bookings’ which it doesn’t have.


iwbnet

April 11, 2018 at 7:05 am

I’ve gone back and had another look and found the EVENTS page (/events) and there is a child page of that with slug /events/my-bookings. I can open it and view it and all it says in the content area is CONTENTS. When I view that page it comes up with a 404 error even though it is in the Pages list.

It’s very odd.


Tony

  • Support Staff

April 11, 2018 at 7:18 am

When I view that page it comes up with a 404 error even though it is in the Pages list.

That will happen because of what I posted above.

Anything that goes to /events/{some_slug} now looks for an EE event with the slug provided.

The events page is not being displayed on your site (unless you have altered the EE slug, which it doesn’t sound like you have). You can test that by adding something within the ‘events’ page and viewing /events/ on the front end, you wont see the new content you just added. ITs displaying an archive of EE events, not the events page.

Do you actually want the my bookings page?

The support post ‘Page /events/my-bookings/ is showing in sitemap but gives error’ 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.

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: closed

Updated by  Tony 5 months, 2 weeks ago ago

Topic Tags

Notifications

This topic is: not resolved
Do NOT follow this link or you will be banned from the site!