Support » Plugin: Events Manager » Event manager generate 404 error on blog posts

  • Resolved fabienlege

    (@fabienlege)


    Hi, I try to identify a very very strange bug on one of my websites. After hours of search, I thinks it can come from your rewrite_rules_array function but I don’t realy understant how it work and when it called…

    EXPLANATIONS :
    – I try to access to my page ‘/actualites/soiree-decideurs-2018-avec-bytel/’ who is a standard wordpress blog post (not a custom post type).
    – the post exist and is public.
    – if I flush rewrite rule (Settings > permalinks > save) the post work again.
    – but, some days laters, 404 error again on this post…

    MY CONFIGURATION OF EVENT MANAGER :
    – dbem_events_page is empty (i don’t want event page)
    – dbem_cp_events_slug = ‘evenements’

    WHY I THINK EVENT MANAGER IS IN CAUSE
    – I’ve installed “Debug This” plugin to var_dump all rewrites rules
    – when 404 occur, matching rule is this : “actualites/soiree-decideurs-2018-avec-bytel/?$ index.php?pagename=actualites/soiree-decideurs-2018-avec-bytel” (it would be index.php?name=soiree-decideurs-2018-avec-bytel and not soiree-decideurs-2018-avec-bytel)
    – The correct rule exist in the list (“actualites/([^/]+)(?:/([0-9]+))?/?$ index.php?name=$matches[1]&page=$matches[2]”) but it’s come later and wp stop to the first matching rule.
    – if you see my complete my complete rewrite_rules dumps (bottom of this post), you can see the erroneous rewrite rule come with some other rules very similar to the rule who can be generated by rewrite_rules_array (em-permalink.php, lines 94 to 135).

    QUESTIONS :
    – If my deduction is right, how can [em-permalink.php, lines 94 to 135] be executed where dbem_events_page is empty ?
    – It-s a bug or an error in the plugin configuration ?

    I’m sory because the error is very difficult to reproduce since I don’t know when your rewrite_rules_array is called…

    thanks in advance for your help

    MY COMPLERE rewrite_rules DUMP : (error come from line 7)

    Rule	Rewrite
    actualites/soiree-decideurs-2018-avec-bytel/(\d{4}-\d{2}-\d{2})$	index.php?pagename=actualites/soiree-decideurs-2018-avec-bytel/&calendar_day=$matches[1]
    actualites/soiree-decideurs-2018-avec-bytel/rss/?$	index.php?post_type=event&feed=feed
    actualites/soiree-decideurs-2018-avec-bytel/feed/?$	index.php?post_type=event&feed=feed
    actualites/soiree-decideurs-2018-avec-bytel/event/(.+)$	index.php?pagename=actualites/soiree-decideurs-2018-avec-bytel/&em_redirect=1&event_slug=$matches[1]
    actualites/soiree-decideurs-2018-avec-bytel/location/(.+)$	index.php?pagename=actualites/soiree-decideurs-2018-avec-bytel/&em_redirect=1&location_slug=$matches[1]
    actualites/soiree-decideurs-2018-avec-bytel/category/(.+)$	index.php?pagename=actualites/soiree-decideurs-2018-avec-bytel/&em_redirect=1&category_slug=$matches[1]
    actualites/soiree-decideurs-2018-avec-bytel/?$	index.php?pagename=actualites/soiree-decideurs-2018-avec-bytel
    evenements/([^/]+)/ical/?$	index.php?event=$matches[1]&ical=1
    locations/([^/]+)/ical/?$	index.php?location=$matches[1]&ical=1
    events/categories/(.+)/ical/?$	index.php?event-categories=$matches[1]&ical=1
    events/tags/(.+)/ical/?$	index.php?event-tags=$matches[1]&ical=1
    locations/([^/]+)/rss/?$	index.php?location=$matches[1]&rss=1
    evenements/?$	index.php?post_type=event
    evenements/feed/(feed|rdf|rss|rss2|atom)/?$	index.php?post_type=event&feed=$matches[1]
    evenements/(feed|rdf|rss|rss2|atom)/?$	index.php?post_type=event&feed=$matches[1]
    evenements/page/([0-9]{1,})/?$	index.php?post_type=event&paged=$matches[1]
    sitemap_index\.xml$	index.php?sitemap=1
    ([^/]+?)-sitemap([0-9]+)?\.xml$	index.php?sitemap=$matches[1]&sitemap_n=$matches[2]
    ([a-z]+)?-?sitemap\.xsl$	index.php?xsl=$matches[1]
    ^wp-json/?$	index.php?rest_route=/
    ^wp-json/(.*)?	index.php?rest_route=/$matches[1]
    ^index.php/wp-json/?$	index.php?rest_route=/
    ^index.php/wp-json/(.*)?	index.php?rest_route=/$matches[1]
    actualites/category/(.+?)/feed/(feed|rdf|rss|rss2|atom)/?$	index.php?category_name=$matches[1]&feed=$matches[2]
    actualites/category/(.+?)/(feed|rdf|rss|rss2|atom)/?$	index.php?category_name=$matches[1]&feed=$matches[2]
    actualites/category/(.+?)/embed/?$	index.php?category_name=$matches[1]&embed=true
    actualites/category/(.+?)/page/?([0-9]{1,})/?$	index.php?category_name=$matches[1]&paged=$matches[2]
    actualites/category/(.+?)/?$	index.php?category_name=$matches[1]
    actualites/tag/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$	index.php?tag=$matches[1]&feed=$matches[2]
    actualites/tag/([^/]+)/(feed|rdf|rss|rss2|atom)/?$	index.php?tag=$matches[1]&feed=$matches[2]
    actualites/tag/([^/]+)/embed/?$	index.php?tag=$matches[1]&embed=true
    actualites/tag/([^/]+)/page/?([0-9]{1,})/?$	index.php?tag=$matches[1]&paged=$matches[2]
    actualites/tag/([^/]+)/?$	index.php?tag=$matches[1]
    actualites/type/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$	index.php?post_format=$matches[1]&feed=$matches[2]
    actualites/type/([^/]+)/(feed|rdf|rss|rss2|atom)/?$	index.php?post_format=$matches[1]&feed=$matches[2]
    actualites/type/([^/]+)/embed/?$	index.php?post_format=$matches[1]&embed=true
    actualites/type/([^/]+)/page/?([0-9]{1,})/?$	index.php?post_format=$matches[1]&paged=$matches[2]
    actualites/type/([^/]+)/?$	index.php?post_format=$matches[1]
    actualites/newsletter/[^/]+/attachment/([^/]+)/?$	index.php?attachment=$matches[1]
    actualites/newsletter/[^/]+/attachment/([^/]+)/trackback/?$	index.php?attachment=$matches[1]&tb=1
    actualites/newsletter/[^/]+/attachment/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$	index.php?attachment=$matches[1]&feed=$matches[2]
    actualites/newsletter/[^/]+/attachment/([^/]+)/(feed|rdf|rss|rss2|atom)/?$	index.php?attachment=$matches[1]&feed=$matches[2]
    actualites/newsletter/[^/]+/attachment/([^/]+)/comment-page-([0-9]{1,})/?$	index.php?attachment=$matches[1]&cpage=$matches[2]
    actualites/newsletter/[^/]+/attachment/([^/]+)/embed/?$	index.php?attachment=$matches[1]&embed=true
    actualites/newsletter/([^/]+)/embed/?$	index.php?newsletter=$matches[1]&embed=true
    actualites/newsletter/([^/]+)/trackback/?$	index.php?newsletter=$matches[1]&tb=1
    actualites/newsletter/([^/]+)/page/?([0-9]{1,})/?$	index.php?newsletter=$matches[1]&paged=$matches[2]
    actualites/newsletter/([^/]+)/comment-page-([0-9]{1,})/?$	index.php?newsletter=$matches[1]&cpage=$matches[2]
    actualites/newsletter/([^/]+)(?:/([0-9]+))?/?$	index.php?newsletter=$matches[1]&page=$matches[2]
    actualites/newsletter/[^/]+/([^/]+)/?$	index.php?attachment=$matches[1]
    actualites/newsletter/[^/]+/([^/]+)/trackback/?$	index.php?attachment=$matches[1]&tb=1
    actualites/newsletter/[^/]+/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$	index.php?attachment=$matches[1]&feed=$matches[2]
    actualites/newsletter/[^/]+/([^/]+)/(feed|rdf|rss|rss2|atom)/?$	index.php?attachment=$matches[1]&feed=$matches[2]
    actualites/newsletter/[^/]+/([^/]+)/comment-page-([0-9]{1,})/?$	index.php?attachment=$matches[1]&cpage=$matches[2]
    actualites/newsletter/[^/]+/([^/]+)/embed/?$	index.php?attachment=$matches[1]&embed=true
    actualites/society/[^/]+/attachment/([^/]+)/?$	index.php?attachment=$matches[1]
    actualites/society/[^/]+/attachment/([^/]+)/trackback/?$	index.php?attachment=$matches[1]&tb=1
    actualites/society/[^/]+/attachment/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$	index.php?attachment=$matches[1]&feed=$matches[2]
    actualites/society/[^/]+/attachment/([^/]+)/(feed|rdf|rss|rss2|atom)/?$	index.php?attachment=$matches[1]&feed=$matches[2]
    actualites/society/[^/]+/attachment/([^/]+)/comment-page-([0-9]{1,})/?$	index.php?attachment=$matches[1]&cpage=$matches[2]
    actualites/society/[^/]+/attachment/([^/]+)/embed/?$	index.php?attachment=$matches[1]&embed=true
    actualites/society/([^/]+)/embed/?$	index.php?society=$matches[1]&embed=true
    actualites/society/([^/]+)/trackback/?$	index.php?society=$matches[1]&tb=1
    actualites/society/([^/]+)/page/?([0-9]{1,})/?$	index.php?society=$matches[1]&paged=$matches[2]
    actualites/society/([^/]+)/comment-page-([0-9]{1,})/?$	index.php?society=$matches[1]&cpage=$matches[2]
    actualites/society/([^/]+)(?:/([0-9]+))?/?$	index.php?society=$matches[1]&page=$matches[2]
    actualites/society/[^/]+/([^/]+)/?$	index.php?attachment=$matches[1]
    actualites/society/[^/]+/([^/]+)/trackback/?$	index.php?attachment=$matches[1]&tb=1
    actualites/society/[^/]+/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$	index.php?attachment=$matches[1]&feed=$matches[2]
    actualites/society/[^/]+/([^/]+)/(feed|rdf|rss|rss2|atom)/?$	index.php?attachment=$matches[1]&feed=$matches[2]
    actualites/society/[^/]+/([^/]+)/comment-page-([0-9]{1,})/?$	index.php?attachment=$matches[1]&cpage=$matches[2]
    actualites/society/[^/]+/([^/]+)/embed/?$	index.php?attachment=$matches[1]&embed=true
    actualites/profile/[^/]+/attachment/([^/]+)/?$	index.php?attachment=$matches[1]
    actualites/profile/[^/]+/attachment/([^/]+)/trackback/?$	index.php?attachment=$matches[1]&tb=1
    actualites/profile/[^/]+/attachment/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$	index.php?attachment=$matches[1]&feed=$matches[2]
    actualites/profile/[^/]+/attachment/([^/]+)/(feed|rdf|rss|rss2|atom)/?$	index.php?attachment=$matches[1]&feed=$matches[2]
    actualites/profile/[^/]+/attachment/([^/]+)/comment-page-([0-9]{1,})/?$	index.php?attachment=$matches[1]&cpage=$matches[2]
    actualites/profile/[^/]+/attachment/([^/]+)/embed/?$	index.php?attachment=$matches[1]&embed=true
    actualites/profile/([^/]+)/embed/?$	index.php?profile=$matches[1]&embed=true
    actualites/profile/([^/]+)/trackback/?$	index.php?profile=$matches[1]&tb=1
    actualites/profile/([^/]+)/page/?([0-9]{1,})/?$	index.php?profile=$matches[1]&paged=$matches[2]
    actualites/profile/([^/]+)/comment-page-([0-9]{1,})/?$	index.php?profile=$matches[1]&cpage=$matches[2]
    actualites/profile/([^/]+)(?:/([0-9]+))?/?$	index.php?profile=$matches[1]&page=$matches[2]
    actualites/profile/[^/]+/([^/]+)/?$	index.php?attachment=$matches[1]
    actualites/profile/[^/]+/([^/]+)/trackback/?$	index.php?attachment=$matches[1]&tb=1
    actualites/profile/[^/]+/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$	index.php?attachment=$matches[1]&feed=$matches[2]
    actualites/profile/[^/]+/([^/]+)/(feed|rdf|rss|rss2|atom)/?$	index.php?attachment=$matches[1]&feed=$matches[2]
    actualites/profile/[^/]+/([^/]+)/comment-page-([0-9]{1,})/?$	index.php?attachment=$matches[1]&cpage=$matches[2]
    actualites/profile/[^/]+/([^/]+)/embed/?$	index.php?attachment=$matches[1]&embed=true
    profils-offres-emplois/[^/]+/attachment/([^/]+)/?$	index.php?attachment=$matches[1]
    profils-offres-emplois/[^/]+/attachment/([^/]+)/trackback/?$	index.php?attachment=$matches[1]&tb=1
    profils-offres-emplois/[^/]+/attachment/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$	index.php?attachment=$matches[1]&feed=$matches[2]
    profils-offres-emplois/[^/]+/attachment/([^/]+)/(feed|rdf|rss|rss2|atom)/?$	index.php?attachment=$matches[1]&feed=$matches[2]
    profils-offres-emplois/[^/]+/attachment/([^/]+)/comment-page-([0-9]{1,})/?$	index.php?attachment=$matches[1]&cpage=$matches[2]
    profils-offres-emplois/[^/]+/attachment/([^/]+)/embed/?$	index.php?attachment=$matches[1]&embed=true
    profils-offres-emplois/([^/]+)/embed/?$	index.php?offre=$matches[1]&embed=true
    profils-offres-emplois/([^/]+)/trackback/?$	index.php?offre=$matches[1]&tb=1
    profils-offres-emplois/([^/]+)/page/?([0-9]{1,})/?$	index.php?offre=$matches[1]&paged=$matches[2]
    profils-offres-emplois/([^/]+)/comment-page-([0-9]{1,})/?$	index.php?offre=$matches[1]&cpage=$matches[2]
    profils-offres-emplois/([^/]+)(?:/([0-9]+))?/?$	index.php?offre=$matches[1]&page=$matches[2]
    profils-offres-emplois/[^/]+/([^/]+)/?$	index.php?attachment=$matches[1]
    profils-offres-emplois/[^/]+/([^/]+)/trackback/?$	index.php?attachment=$matches[1]&tb=1
    profils-offres-emplois/[^/]+/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$	index.php?attachment=$matches[1]&feed=$matches[2]
    profils-offres-emplois/[^/]+/([^/]+)/(feed|rdf|rss|rss2|atom)/?$	index.php?attachment=$matches[1]&feed=$matches[2]
    profils-offres-emplois/[^/]+/([^/]+)/comment-page-([0-9]{1,})/?$	index.php?attachment=$matches[1]&cpage=$matches[2]
    profils-offres-emplois/[^/]+/([^/]+)/embed/?$	index.php?attachment=$matches[1]&embed=true
    events/categories/(.+?)/feed/(feed|rdf|rss|rss2|atom)/?$	index.php?event-categories=$matches[1]&feed=$matches[2]
    events/categories/(.+?)/(feed|rdf|rss|rss2|atom)/?$	index.php?event-categories=$matches[1]&feed=$matches[2]
    events/categories/(.+?)/embed/?$	index.php?event-categories=$matches[1]&embed=true
    events/categories/(.+?)/page/?([0-9]{1,})/?$	index.php?event-categories=$matches[1]&paged=$matches[2]
    events/categories/(.+?)/?$	index.php?event-categories=$matches[1]
    evenements/[^/]+/attachment/([^/]+)/?$	index.php?attachment=$matches[1]
    evenements/[^/]+/attachment/([^/]+)/trackback/?$	index.php?attachment=$matches[1]&tb=1
    evenements/[^/]+/attachment/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$	index.php?attachment=$matches[1]&feed=$matches[2]
    evenements/[^/]+/attachment/([^/]+)/(feed|rdf|rss|rss2|atom)/?$	index.php?attachment=$matches[1]&feed=$matches[2]
    evenements/[^/]+/attachment/([^/]+)/comment-page-([0-9]{1,})/?$	index.php?attachment=$matches[1]&cpage=$matches[2]
    evenements/[^/]+/attachment/([^/]+)/embed/?$	index.php?attachment=$matches[1]&embed=true
    evenements/([^/]+)/embed/?$	index.php?event=$matches[1]&embed=true
    evenements/([^/]+)/trackback/?$	index.php?event=$matches[1]&tb=1
    evenements/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$	index.php?event=$matches[1]&feed=$matches[2]
    evenements/([^/]+)/(feed|rdf|rss|rss2|atom)/?$	index.php?event=$matches[1]&feed=$matches[2]
    evenements/([^/]+)/page/?([0-9]{1,})/?$	index.php?event=$matches[1]&paged=$matches[2]
    evenements/([^/]+)/comment-page-([0-9]{1,})/?$	index.php?event=$matches[1]&cpage=$matches[2]
    evenements/([^/]+)(?:/([0-9]+))?/?$	index.php?event=$matches[1]&page=$matches[2]
    evenements/[^/]+/([^/]+)/?$	index.php?attachment=$matches[1]
    evenements/[^/]+/([^/]+)/trackback/?$	index.php?attachment=$matches[1]&tb=1
    evenements/[^/]+/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$	index.php?attachment=$matches[1]&feed=$matches[2]
    evenements/[^/]+/([^/]+)/(feed|rdf|rss|rss2|atom)/?$	index.php?attachment=$matches[1]&feed=$matches[2]
    evenements/[^/]+/([^/]+)/comment-page-([0-9]{1,})/?$	index.php?attachment=$matches[1]&cpage=$matches[2]
    evenements/[^/]+/([^/]+)/embed/?$	index.php?attachment=$matches[1]&embed=true
    actualites/amn_smtp/[^/]+/attachment/([^/]+)/?$	index.php?attachment=$matches[1]
    actualites/amn_smtp/[^/]+/attachment/([^/]+)/trackback/?$	index.php?attachment=$matches[1]&tb=1
    actualites/amn_smtp/[^/]+/attachment/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$	index.php?attachment=$matches[1]&feed=$matches[2]
    actualites/amn_smtp/[^/]+/attachment/([^/]+)/(feed|rdf|rss|rss2|atom)/?$	index.php?attachment=$matches[1]&feed=$matches[2]
    actualites/amn_smtp/[^/]+/attachment/([^/]+)/comment-page-([0-9]{1,})/?$	index.php?attachment=$matches[1]&cpage=$matches[2]
    actualites/amn_smtp/[^/]+/attachment/([^/]+)/embed/?$	index.php?attachment=$matches[1]&embed=true
    actualites/amn_smtp/([^/]+)/embed/?$	index.php?amn_smtp=$matches[1]&embed=true
    actualites/amn_smtp/([^/]+)/trackback/?$	index.php?amn_smtp=$matches[1]&tb=1
    actualites/amn_smtp/([^/]+)/page/?([0-9]{1,})/?$	index.php?amn_smtp=$matches[1]&paged=$matches[2]
    actualites/amn_smtp/([^/]+)/comment-page-([0-9]{1,})/?$	index.php?amn_smtp=$matches[1]&cpage=$matches[2]
    actualites/amn_smtp/([^/]+)(?:/([0-9]+))?/?$	index.php?amn_smtp=$matches[1]&page=$matches[2]
    actualites/amn_smtp/[^/]+/([^/]+)/?$	index.php?attachment=$matches[1]
    actualites/amn_smtp/[^/]+/([^/]+)/trackback/?$	index.php?attachment=$matches[1]&tb=1
    actualites/amn_smtp/[^/]+/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$	index.php?attachment=$matches[1]&feed=$matches[2]
    actualites/amn_smtp/[^/]+/([^/]+)/(feed|rdf|rss|rss2|atom)/?$	index.php?attachment=$matches[1]&feed=$matches[2]
    actualites/amn_smtp/[^/]+/([^/]+)/comment-page-([0-9]{1,})/?$	index.php?attachment=$matches[1]&cpage=$matches[2]
    actualites/amn_smtp/[^/]+/([^/]+)/embed/?$	index.php?attachment=$matches[1]&embed=true
    actualites/media_category/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$	index.php?media_category=$matches[1]&feed=$matches[2]
    actualites/media_category/([^/]+)/(feed|rdf|rss|rss2|atom)/?$	index.php?media_category=$matches[1]&feed=$matches[2]
    actualites/media_category/([^/]+)/embed/?$	index.php?media_category=$matches[1]&embed=true
    actualites/media_category/([^/]+)/page/?([0-9]{1,})/?$	index.php?media_category=$matches[1]&paged=$matches[2]
    actualites/media_category/([^/]+)/?$	index.php?media_category=$matches[1]
    robots\.txt$	index.php?robots=1
    .*wp-(atom|rdf|rss|rss2|feed|commentsrss2)\.php$	index.php?feed=old
    .*wp-app\.php(/.*)?$	index.php?error=403
    .*wp-register.php$	index.php?register=true
    feed/(feed|rdf|rss|rss2|atom)/?$	index.php?&feed=$matches[1]
    (feed|rdf|rss|rss2|atom)/?$	index.php?&feed=$matches[1]
    embed/?$	index.php?&embed=true
    page/?([0-9]{1,})/?$	index.php?&paged=$matches[1]
    comment-page-([0-9]{1,})/?$	index.php?&page_id=2&cpage=$matches[1]
    comments/feed/(feed|rdf|rss|rss2|atom)/?$	index.php?&feed=$matches[1]&withcomments=1
    comments/(feed|rdf|rss|rss2|atom)/?$	index.php?&feed=$matches[1]&withcomments=1
    comments/embed/?$	index.php?&embed=true
    search/(.+)/feed/(feed|rdf|rss|rss2|atom)/?$	index.php?s=$matches[1]&feed=$matches[2]
    search/(.+)/(feed|rdf|rss|rss2|atom)/?$	index.php?s=$matches[1]&feed=$matches[2]
    search/(.+)/embed/?$	index.php?s=$matches[1]&embed=true
    search/(.+)/page/?([0-9]{1,})/?$	index.php?s=$matches[1]&paged=$matches[2]
    search/(.+)/?$	index.php?s=$matches[1]
    actualites/author/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$	index.php?author_name=$matches[1]&feed=$matches[2]
    actualites/author/([^/]+)/(feed|rdf|rss|rss2|atom)/?$	index.php?author_name=$matches[1]&feed=$matches[2]
    actualites/author/([^/]+)/embed/?$	index.php?author_name=$matches[1]&embed=true
    actualites/author/([^/]+)/page/?([0-9]{1,})/?$	index.php?author_name=$matches[1]&paged=$matches[2]
    actualites/author/([^/]+)/?$	index.php?author_name=$matches[1]
    actualites/([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/feed/(feed|rdf|rss|rss2|atom)/?$	index.php?year=$matches[1]&monthnum=$matches[2]&day=$matches[3]&feed=$matches[4]
    actualites/([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/(feed|rdf|rss|rss2|atom)/?$	index.php?year=$matches[1]&monthnum=$matches[2]&day=$matches[3]&feed=$matches[4]
    actualites/([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/embed/?$	index.php?year=$matches[1]&monthnum=$matches[2]&day=$matches[3]&embed=true
    actualites/([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/page/?([0-9]{1,})/?$	index.php?year=$matches[1]&monthnum=$matches[2]&day=$matches[3]&paged=$matches[4]
    actualites/([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/?$	index.php?year=$matches[1]&monthnum=$matches[2]&day=$matches[3]
    actualites/([0-9]{4})/([0-9]{1,2})/feed/(feed|rdf|rss|rss2|atom)/?$	index.php?year=$matches[1]&monthnum=$matches[2]&feed=$matches[3]
    actualites/([0-9]{4})/([0-9]{1,2})/(feed|rdf|rss|rss2|atom)/?$	index.php?year=$matches[1]&monthnum=$matches[2]&feed=$matches[3]
    actualites/([0-9]{4})/([0-9]{1,2})/embed/?$	index.php?year=$matches[1]&monthnum=$matches[2]&embed=true
    actualites/([0-9]{4})/([0-9]{1,2})/page/?([0-9]{1,})/?$	index.php?year=$matches[1]&monthnum=$matches[2]&paged=$matches[3]
    actualites/([0-9]{4})/([0-9]{1,2})/?$	index.php?year=$matches[1]&monthnum=$matches[2]
    actualites/([0-9]{4})/feed/(feed|rdf|rss|rss2|atom)/?$	index.php?year=$matches[1]&feed=$matches[2]
    actualites/([0-9]{4})/(feed|rdf|rss|rss2|atom)/?$	index.php?year=$matches[1]&feed=$matches[2]
    actualites/([0-9]{4})/embed/?$	index.php?year=$matches[1]&embed=true
    actualites/([0-9]{4})/page/?([0-9]{1,})/?$	index.php?year=$matches[1]&paged=$matches[2]
    actualites/([0-9]{4})/?$	index.php?year=$matches[1]
    .?.+?/attachment/([^/]+)/?$	index.php?attachment=$matches[1]
    .?.+?/attachment/([^/]+)/trackback/?$	index.php?attachment=$matches[1]&tb=1
    .?.+?/attachment/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$	index.php?attachment=$matches[1]&feed=$matches[2]
    .?.+?/attachment/([^/]+)/(feed|rdf|rss|rss2|atom)/?$	index.php?attachment=$matches[1]&feed=$matches[2]
    .?.+?/attachment/([^/]+)/comment-page-([0-9]{1,})/?$	index.php?attachment=$matches[1]&cpage=$matches[2]
    .?.+?/attachment/([^/]+)/embed/?$	index.php?attachment=$matches[1]&embed=true
    (.?.+?)/embed/?$	index.php?pagename=$matches[1]&embed=true
    (.?.+?)/trackback/?$	index.php?pagename=$matches[1]&tb=1
    (.?.+?)/feed/(feed|rdf|rss|rss2|atom)/?$	index.php?pagename=$matches[1]&feed=$matches[2]
    (.?.+?)/(feed|rdf|rss|rss2|atom)/?$	index.php?pagename=$matches[1]&feed=$matches[2]
    (.?.+?)/page/?([0-9]{1,})/?$	index.php?pagename=$matches[1]&paged=$matches[2]
    (.?.+?)/comment-page-([0-9]{1,})/?$	index.php?pagename=$matches[1]&cpage=$matches[2]
    (.?.+?)(?:/([0-9]+))?/?$	index.php?pagename=$matches[1]&page=$matches[2]
    actualites/[^/]+/attachment/([^/]+)/?$	index.php?attachment=$matches[1]
    actualites/[^/]+/attachment/([^/]+)/trackback/?$	index.php?attachment=$matches[1]&tb=1
    actualites/[^/]+/attachment/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$	index.php?attachment=$matches[1]&feed=$matches[2]
    actualites/[^/]+/attachment/([^/]+)/(feed|rdf|rss|rss2|atom)/?$	index.php?attachment=$matches[1]&feed=$matches[2]
    actualites/[^/]+/attachment/([^/]+)/comment-page-([0-9]{1,})/?$	index.php?attachment=$matches[1]&cpage=$matches[2]
    actualites/[^/]+/attachment/([^/]+)/embed/?$	index.php?attachment=$matches[1]&embed=true
    actualites/([^/]+)/embed/?$	index.php?name=$matches[1]&embed=true
    actualites/([^/]+)/trackback/?$	index.php?name=$matches[1]&tb=1
    actualites/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$	index.php?name=$matches[1]&feed=$matches[2]
    actualites/([^/]+)/(feed|rdf|rss|rss2|atom)/?$	index.php?name=$matches[1]&feed=$matches[2]
    actualites/([^/]+)/page/?([0-9]{1,})/?$	index.php?name=$matches[1]&paged=$matches[2]
    actualites/([^/]+)/comment-page-([0-9]{1,})/?$	index.php?name=$matches[1]&cpage=$matches[2]
    actualites/([^/]+)(?:/([0-9]+))?/?$	index.php?name=$matches[1]&page=$matches[2]
    actualites/[^/]+/([^/]+)/?$	index.php?attachment=$matches[1]
    actualites/[^/]+/([^/]+)/trackback/?$	index.php?attachment=$matches[1]&tb=1
    actualites/[^/]+/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$	index.php?attachment=$matches[1]&feed=$matches[2]
    actualites/[^/]+/([^/]+)/(feed|rdf|rss|rss2|atom)/?$	index.php?attachment=$matches[1]&feed=$matches[2]
    actualites/[^/]+/([^/]+)/comment-page-([0-9]{1,})/?$	index.php?attachment=$matches[1]&cpage=$matches[2]
    actualites/[^/]+/([^/]+)/embed/?$	index.php?attachment=$matches[1]&embed=true
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support angelo_nwl

    (@angelo_nwl)

    can I know what is your current EM version? this lines “lines 94 to 135” seems abit different on my side? also, have you tried to temporarily deactivate other plugins or theme to narrow down the problem for a possible conflict? it’s quite weird and haven’t experience this issue where in permalinks changes without changing anything.

    I use the last version of EM (Version 5.9.5).

    I haven’t try to disable plugin because
    – site is in production
    – I don’t know when bug occur, so it’s difficult to determine if deactivate one or other plugin solve the problem.

    screenshot of my em-permalinks.php file : https://ibb.co/xM3gV9P

    Plugin Support angelo_nwl

    (@angelo_nwl)

    you can try new wp plugin WP Safe Mode (same author) to help you debug or narrow down the problem without actually deactivating other plugin or theme.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Event manager generate 404 error on blog posts’ is closed to new replies.