Hi @travelendar,
Your inquiry requires changes in the code, which unfortunately we cannot help with as part of our support. But even if this is possible, it would not be good to remove the “instance_id” from the event URL because it can cause conflicts with other plugins.
We’ll keep this topic open for a few days for other user to chime in if possible. Thanks for your understanding.
Ben
Hi Ben
My thinking for removing the instance_id is for Search Engine Optimisation purposes. My understanding is that there is 2 events, 1 original event and another event/?instance_id. This would mean there is duplicate content and the search engine would penalise the website.
Event has only one URL and this should not have any impact on SEO, but please try the following solution:
/*
Please paste it to your WordPress theme functions.php
DON'T FORGET TO SAVE PERMALINKS SETTINGS.
*/
function __ai1ec_custom_slug_name( $translations, $text, $domain ) {
if (
AI1EC_PLUGIN_NAME !== $domain ||
'event' !== $text
) {
return $translations;
}
return 'ai1ec-event';
}
add_filter( 'gettext', '__ai1ec_custom_slug_name',
10, 3 );
Thanks,
Ben
-
This reply was modified 8 years, 1 month ago by
Benjamin.