• Hello support,

    I installed the all-in-one-plugin and created an event.
    Then I wanted to view it, but received an “Error 404 – Nothing Found”.

    What is strange:
    The permalink is:https://design1.puli.de/event/internationale-ausstellung-nationale-ausstellung-bremen/
    If I click on it, I the right view of the single event with the URL:https://design1.puli.de/event/internationale-ausstellung-nationale-ausstellung-bremen/

    But if I click the event in the sidebar (with the widget), I get the error above and a wrong URL: https://design1.puli.de/Veranstaltung/internationale-ausstellung-nationale-ausstellung-bremen/?instance_id=1

    I deactivated all other plugins and switched to twenty-seventeen theme. No change.

    Please help.

    Best regards
    Christian

    • This topic was modified 7 years, 5 months ago by fitzkogerd. Reason: forgot the wordpress version
Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi Christian,

    Please try the following solution, it might help: https://gist.github.com/lukaspawlik/64872268a38ef5ef93c2

    Thread Starter fitzkogerd

    (@fitzkogerd)

    Hey Benjamin,

    thanks for your help. I copied it into functions.php of the current theme and the URL for viewing the event really changed: https://design1.puli.de/ai1ec-event/internationale-ausstellung-nationale-ausstellung-bremen/?instance_id=1

    Unfortunately I still get an error:
    Error 404 – Nothing Found
    It seems we can’t find what you’re looking for. Perhaps searching can help.

    Do you have another idea?

    Best regards
    Christian

    Hi Christian,

    Please try to set permalinks to the default (Plain) and check if the issue is still there, the option can be found in Dashboard > Settings > Permalinks.

    Thanks,
    Ben

    Thread Starter fitzkogerd

    (@fitzkogerd)

    Hey Ben,

    the problem was between the eyes. I forgot to save tghe permalinks after adding the functions. Sorry.

    Just one last question: Is it possible to change the event-URL to puli-event like this:
    ————————————————————————
    function __ai1ec_custom_slug_name( $translations, $text, $domain ) {
    if (
    AI1EC_PLUGIN_NAME !== $domain ||
    ‘event’ !== $text
    ) {
    return $translations;
    }
    return ‘puli-event‘;
    }

    add_filter( ‘gettext’, ‘__ai1ec_custom_slug_name’, 10, 3 );
    ———————————————————————-

    This was the result URL: https://design1.puli.de/puli-event/internationale-ausstellung-nationale-ausstellung-bremen/

    Do I have to change something else?

    Best regards
    Christian

    Hi Christian,

    No problem, I’m glad your issue has been solved.

    If it works, then you do not need to change anything else ??

    Take care,
    Ben

    Thread Starter fitzkogerd

    (@fitzkogerd)

    Hey Benjamin,

    1) I just found out that the breadcrumb of the event is not knowing the new URL which is created by the function you sent me.

    The URL is: https://demo.puli.de

    /puli-termine

    /klubausstellung-2017-bodensee/?instance_id=14, which is good.

    The breadcrumb is displaying the “Veranstaltungen”, which is not working and made me create this support ticket. See here: Startseite ?

    Veranstaltungen

    ? Klubausstellung Puli Klub ? Klubausstellung 2017 am Bodensee.
    You can see it on the website better.

    Can I make the link of the “Veranstaltungen” the same name like the URL “puli-Termine”?

    2) For SEO reasons I would like to show the events in such an URL: https://demo.puli.de

    /termine

    /klubausstellung-2017-bodensee/?instance_id=14. The reason: I have a menu for events (in German “Termine”) and it would be great if all events follow the structure <domain><“Termine”><event link>

    If I replace “puli-event” in the function to “termine”, the menu “Termine” showns a different page and the event brings a “404-page not found error”.

    Is there a way to have the events presented after the URL: https://demo.puli.de

    /termine

    ?

    Thanks for your support.

    Best regards
    Christian

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘view event brings “Error 404 – Nothing Found’ is closed to new replies.