• Resolved baseballfan

    (@baseballfan)


    Hi there,

    This is my first attempt at building a WordPress site. My default template is twenty seven.

    I am getting 404 not found errors / permalink errors in two places with Sportspress.

    1) In the All Teams Calendar page, which renders a monthly calendar view. If you click on a date that has only one game that day, then it links properly to the venue. However, on the days that the teams are playing more than one game that day (example February 23), it links to a page that lists all the games that are scheduled to be played that day. The problem happens when you click on any of those games, instead of going to to venue page like it should and does on a single game day (example February 14), it renders a 404 error.
    https://vhsbaseball.com/2018/02/23/?post_type=sp_event – page with game lisings
    https://vhsbaseball.com/?post_type=sp_event&p=1443 – renders a 404 error

    2) The second place I am getting 404 permalink errors is on the homepage, in the carousel event block. All of these countdown dates in the calendar carousel, when clicked, return a 404 error.

    However, if I just use the event widget (it isn’t as cool), like I did below the carousel, then the blocks link correctly to the venue.
    https://vhsbaseball.com/ – carousel event widget
    https://vhsbaseball.com/?post_type=sp_event&p=965 – renders a 404 error

    I’ve spent quite a few hours trying to troubleshoot this, hoping someone out there will know what is wrong and can help me out! Thank you! I appreciate you taking a look!

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

Viewing 15 replies - 1 through 15 (of 23 total)
  • Plugin Contributor Savvas

    (@savvasha)

    Hi @baseballfan,

    I think you should setup your permalinks.

    Try this.

    Go to Settings -> Permalinks , select a Common Setting (i.e. Post Name) and click Save Changes.

    Thread Starter baseballfan

    (@baseballfan)

    @savvasha

    Thank you so much for responding. I did try flushing the permalinks and I found if I change the permalink setting ALL the links in Sportspress Break.

    Any other ideas? Thank you!!!

    Plugin Contributor Savvas

    (@savvasha)

    Did you try to clear your browser cache after flushing the permalinks?

    If you use permalinks, then you should not have “?” or/and “=” in your urls!

    Thread Starter baseballfan

    (@baseballfan)

    @savvasha, Thsnk you. Yes, I’ve tried clearing the cache and flushing the permalinks. That hasn’t solved the issues. If I switch to a different permalink setting than all the links in Sportspress Break. The weird thing is when I’m working on the site and am logged in, in the preview window all the links work fine. But if I open another browser, log in on mobile or tablet, or log out of WordPress the links don’t work. I’ve been doing front end dev for quite awhile, but this is my first WordPress site. I find not being able to get to the links very frustrating.

    Plugin Contributor Savvas

    (@savvasha)

    When you say “If I switch to a different permalink setting than all the links in Sportspress Break” what exactly do you mean? Can you share some screenshots with your permalinks settings and the “links in SportsPress” that break?

    Thanks

    Thread Starter baseballfan

    (@baseballfan)

    @savvasha – thank you. Every single Sportspress breaks when I change the permalink setting, meaning every calendar date will render a 404 error, every sidebar block will render a 494 error and Freshman, JV and Varsity Calendar links will all render 404 errors.

    Roch

    (@rochesterj)

    Hi!

    Thanks for testing and I’m sorry for the trouble.

    Please set it to the default permalink. If it doesn’t work with the default permalink then it’s very likely that there’s an issue in your server or your WordPress install.

    If it works with the default permalink and it doesn’t with any of the other permalinks it may be an issue in your server’s htaccess.

    Please try that and let us know the outcome. Also a screenshot of your settings > permalinks would be appreciated.

    Thanks!

    Thread Starter baseballfan

    (@baseballfan)

    @rochester Thank you so much for replying and trying to help.

    My permalinks are set to Custom Structure. I do not see a Default setting. I have:

    Plain, Day and name, Month and name, Numeric, post name and custom structure.

    I found if I change my permalinks to the other choices, other permalinks that are currently working start rendering 404 errors. Custom Structure gives me the best usage with the least amount of 404 errors.

    The issues are mainly on the All Teams Calendar and only on the days that more than 1 game is being played. It opens to a page listing all the games, but the game links all render 404 errors. The only other place I am getting 404 errors with Custom Structure is on the Carousel Calendar Block on the homepage. I have considered just deleting it, and using the stacked blocks, but it is so cool I really want to get it to work!

    I can’t seem to add a screenshot here.

    Where/how to I check the htaccess?

    Thanks again!

    I am having a similar problem. All created games in sportspress worked fine until updating the sportspress plugin. Now all published and scheduled games are showing up as “Not Found, error 404”. I flushed the permalinks and that changed nothing. Please advise.

    Plugin Contributor Savvas

    (@savvasha)

    Hi @baward53,

    Can you please open a new thread about your issues?

    Thanks,
    Savvas

    Thread Starter baseballfan

    (@baseballfan)

    @baward53 – Have you been able to correct the issue? I found that if I am logged into wordpress the links work in my preview window just fine. However, if I log out of wordpress and click them, then they render a 404 error. It is the weirdest thing. I spent about an hour with my hosting provider to ensure it wasn’t something on their end and tested the .htaccess file. I really need some help on this issue as our season is about the begin next week.

    I was able to get the issue resolved. Please see the following thread…

    https://www.ads-software.com/support/topic/after-update-all-games-link-to-page-not-found-error-404/

    Thread Starter baseballfan

    (@baseballfan)

    Thank you @baward53 I read it, but that did not solve my issue. So happy yours is solved. It is so aggravating. The weird thing is it works when I am logged into my site, but quits as soon as I log out.

    @rochester – I spent a good 45 minutes with my hosting provider and determined it is not on that end.

    Plugin Contributor Savvas

    (@savvasha)

    Hi @baseballfan,

    I am sorry to hear that the problem was not solved yet…

    At your homepage, ALL of your SportsPress links are working perfectly, except the links that are inside the “carousel widget”. I think that widget is installed by your theme Sportix? If thats true, then please contact their developer and ask for help.

    Now for your Calendar issue. Please create a new page with default settings and add the following shortcode to it:

    [event_calendar team=”0″ league=”0″ season=”0″ venue=”0″ status=”default” day=”” show_all_events_link=”0″ align=”none”]

    The visit that page and click on a day with events. Is the problem still there? If everything is working ok, then probably there is a bug at the page-template of your theme. Please ask the theme developer to fix it.

    Thanks,
    Savvas

    Thread Starter baseballfan

    (@baseballfan)

    @savvasha

    Hi,
    I did a little research on the Sportspress demo site and it has the same error therefore I believe this proves it is a Sportspress issue and not a theme issue.

    Please go to:

    https://demo.themeboy.com/marquee-baseball/2018/03/28/?post_type=sp_event

    Click on any of the scheduled events that day (there are 2) and you will render a 404 error which is identical to the error I am experiencing on my site.

    • This reply was modified 7 years, 1 month ago by baseballfan.
    • This reply was modified 7 years, 1 month ago by baseballfan.
Viewing 15 replies - 1 through 15 (of 23 total)
  • The topic ‘Permalinks 404 error in calendar widget and calendar carousel’ is closed to new replies.