• Resolved fredrika231

    (@fredrika231)


    I installed the plugin for https://ostbergakarate.se/

    I think the overview looks ok but whenever one clicks an entry the link creates a 404 error.

    I tried using the search with the string “december” that finds the entry for deember 1st and shows a preview but when trying to access the actual page there is still a 404 error.

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Paul Vincent Beigang

    (@bassgang)

    Hi Frederika,

    I think you need your WordPress „Reading“ settings once so it sets the htaccess file for your installation. Log into WordPress, go to options -> reading -> click save. Does it work afterwards?

    Plugin Author Paul Vincent Beigang

    (@bassgang)

    Hi Frederika,

    its me again 😉

    You need to go to https://ostbergakarate.se/wp-admin/options-permalink.php
    Select “Post name” for “Permalink structure”.
    Click “Save changes”.

    Does it work now?

    Best,
    P

    Thread Starter fredrika231

    (@fredrika231)

    Hello Paul,

    Thanks a lot for the quick reply.

    The site today uses ”Date and post-name” as permalink structure such as
    https://ostbergakarate.se/2022/12/01/example/

    For both of these URLs
    https://ostbergakarate.se/1-december-2022/
    https://ostbergakarate.se/2022/12/01/1-december-2022/

    They both seem to redirect to this and that causes a 404-error.

    https://ostbergakarate.se/advent-calendar/1-december-2022/

    So I tried to change the permalink structure to be “post-name” such as
    https://ostbergakarate.se/example/

    After that change I revisit the calendar link to today’s post:
    https://ostbergakarate.se/advent-calendar/1-december-2022/

    And then that actually works!

    So thanks for leading me in this way. However, I have the nagging feeling
    that I did not really want to change the permalink structure of the website
    to make the plugin work. Would it not be considered a bug in the plugin
    that it somehow interferes with the permalink format?

    I will need to think whetherI really want to do this change to the
    site configuration just to use the plugin. On the positive side,
    the change in permalink settingsseems not to break links to
    earlier posts anyhow.

    I would like to add video and text to the target page for each
    day but I guessthat if I carefully read the existing instructions
    for the plugin I can make that change.

    Best regards
    Fredrik

    Plugin Author Paul Vincent Beigang

    (@bassgang)

    Hi Fredrika,

    I tried with all permalink structure settings and all are working in my setup, so I assume it must be something with your server setup. You can also try to just save “post name” and then go back to the original setting, it may work then as well.

    For your second question please open a new topic, its better to have one topic per request (small hint, you are right: the question is already answered in the plugin faqs).

    Greets,
    Paul

    Thread Starter fredrika231

    (@fredrika231)

    Hello again

    I now tried to set the permalink setting back to the original setting I
    had for the site. To my surprise, it still works to see yesterday’s and today’s
    entries. I guess I will find out tomorrow if the publishing of the third entry
    will again cause the 404-error or whether this toggling back and forth of permalink
    settings cured the issue for the whole of the calendar.

    Plugin Author Paul Vincent Beigang

    (@bassgang)

    I expect that „ this toggling back and forth of permalink
    settings cured the issue for the whole of the calendar.“ did „the magic“ (creating the necessary htaccess file / settings in the background)

    Thanks for updating tomorrow how it works out for you 🙂

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Page not found error for calender page’ is closed to new replies.