• Resolved Leon Harris

    (@leonharris)


    is there a way (without using custom functions) to remove the default “events” Archive page?

    i’m using a shortcode to display the events so having the same info on more than one page would cause a duplicate content issue with google.

    i’ve tried removing the word “events” from the event slug box on the event settings page and re-saving my permalinks but it won’t let me save a WP Page with the slug of events (defaults to events-2).

    thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Md. Abdullah Al Mahim

    (@aamahin)

    Hello @leonharris

    Thanks for your message, that events slug is creating a problem to load event single & archive page, that’s why we write a function to prevent this conflicting by do not allow to create a page with this slug. If you want you can remove it by adding the below code to your theme functions file but I am not sure that the slug page will 100% load the content of the event or not.

    add_filter('mep_event_prevent_slug_conflict_arr','my_function_to_remove_event_slug');
    function my_function_to_remove_event_slug($name){
      return array();
    }

    Thanks

    Thread Starter Leon Harris

    (@leonharris)

    thanks very much – worked perfectly.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Remove MEP Events Archive page’ is closed to new replies.