CYBER WEEK

35% OFF ADDONS CODE EVOCYBER2020

X
34100

Ticket #34100 Public [Closed]

Broken links

  • Hi,

    Google webmaster tools is giving me a bunch of broken links for events ( https://www.screencast.com/t/qzwOAI7yG ).
    We didn’t add any new events or haven’t installed a new plugin. Any idea what is going on that this produces 404’s?

    Kind regards,
    Dominic

    BY: Dominic Heselmans - Apr 13,2017 AT 1:36AM - 3 years ago
    • By: infotainerdave Apr 13,2017 AT 3:09AM - Posted 3 years ago - #34110

      I am sorry, the access information you have provided did not work for us. Please check them and post the correct login information as a private message, thank you!

      are all those events repeating events?

    • By: Ashish Rai Apr 13,2017 AT 8:56AM - Posted 3 years ago - #34171

      sometimes it is also shows old data. Try to refresh the data and check again.

    • By: Dominic Heselmans Apr 15,2017 AT 2:16AM - Posted 3 years ago - #34324

      Hi,

      What do you mean? Refresh what?

      Take this page
      https://www.elsole.be/agenda/
      it has the URL Google complains about https://www.elsole.be/events/gevorderde-kinderyoga-opleiding-maandag/?ri=8&
      The only difference is that the one in the code looks like this
      https://www.elsole.be/events/gevorderde-kinderyoga-opleiding-maandag/?ri=8&
      It’s basically the same url but with “amp” attached to it.
      Google has issues with these “ugly” urls. Google even drops the “amp” from the URL. Could you guys built a better url structure for this because it is not seo & Google friendly?

    • By: infotainerdave Apr 15,2017 AT 8:48AM - Posted 3 years ago - #34334

      Thank you for your messages, I am going to assign this ticket to Ashan and he will be able to take it from here and find you a solution. Please allow some time for him to get back to you, we greatly appreciate your patience and thank you for being a eventon customer!

    • By: Ashan Perera Apr 17,2017 AT 11:45AM - Posted 3 years ago - #34415

      so if you look here

      Capture

      In the source code you can see the event URL is passing repeat values since this is a repeating event and this is the most sensible way for us to pass correct link that will point to the correct repeating event in the sequence. ANd it seems google is not liking this.

      So yea we will look into this to find a better solution. But yea to give you behind the scene those ri=6 are pointing to the index of the event in the repeating sequence.

      And if you know any resources that would point to better ways for passing these variables in URL please let us know.

    • By: Dominic Heselmans Apr 20,2017 AT 2:12AM - Posted 3 years ago - #34722

      Hi Ashan,

      Mhh, we are both getting different results.

      The URL you see is
      https://www.elsole.be/events/gevorderde-kinderyoga-opleiding-maandag/?ri=6&

      What I see is
      https://www.elsole.be/events/gevorderde-kinderyoga-opleiding-maandag/?ri=6&

      Google tells me the following URL leads to a 404 and is present in the code (Google seemingly has issues with “amp” at the end of URLs).
      https://www.elsole.be/events/gevorderde-kinderyoga-opleiding-maandag/?ri=6&

      When I fetch as Google in webmaster tools I see this url (same as what I see)
      https://www.elsole.be/events/gevorderde-kinderyoga-opleiding-maandag/?ri=6&

      The way you write URLs (with a query) is correct for seo.
      What I and Google see in the code of the site is not seo friendly.

      Any suggestions?

      Thank you for taking the time.

      Kind regards,
      Dominic

    • By: Ashan Perera Apr 20,2017 AT 8:43AM - Posted 3 years ago - #34757

      I am sorry all the links you referred to in your answer are the same? Are you also seeing bad URL in your website code? please send screenshot. Because I see your URL correct in your website code.

    • By: Dominic Heselmans Apr 20,2017 AT 9:27AM - Posted 3 years ago - #34770

      indeed my fault they are all the same but they shouldn’t

      Please find screenshots in attachment

    • By: Dominic Heselmans Apr 20,2017 AT 9:28AM - Posted 3 years ago - #34772

    • By: Dominic Heselmans Apr 20,2017 AT 9:28AM - Posted 3 years ago - #34774

    • By: Dominic Heselmans Apr 20,2017 AT 9:28AM - Posted 3 years ago - #34776

    • By: Ashan Perera Apr 20,2017 AT 9:32AM - Posted 3 years ago - #34778

      Ok so these are not the HTML source from your website but rather how google interpret your website code? correct?

    • By: Dominic Heselmans Apr 21,2017 AT 1:20AM - Posted 3 years ago - #34832

      screenshot 1 are the errors webmaster tools gives me
      screenshot 2 is how I see the source code in chrome when I’m not logged in
      screenshot 3 is a duplicate (sorry about that)
      screenshot 4 is the results I get when I fetch the website code as Google (in webmaster tools) and this is how Google sees the code.

      Basically google and me see see the same, you on the other hand see something different than us for some reason.
      Google also has issues with the amp at the end of the URLs which leads to 404’s.
      If the code did contain the queries like you intended it than we would not have an issue.

      Any suggestions on how to handle this?

    • By: Ashan Perera Apr 21,2017 AT 9:04AM - Posted 3 years ago - #34886

      I am not sure what to tell you my friend as you can see from my screenshot the link look correct and clean.

      So your alternate solution would be to avoid using repeating events and create individual event for each repeating event. Other than that I am not sure what else to tell you unfortunately.

      We will keep this in mind going forward to hopfully find a better alternate way to present event URLs.

      Cheers!

    • By: Ashan Perera Oct 19,2017 AT 12:29PM - Posted 3 years ago - #51457

      Dominic welcome back after 6 months 🙂 we have not put much resources to find a solution as most of our resources are exhausted on other parts of development. With WordPress permalink structure it does involve lot more customizations to get rid of amp; — anyways this is on our task list so we will take a look at this later time.

      Cheers!

    • By: Dominic Heselmans Oct 21,2017 AT 12:30AM - Posted 3 years ago - #51537

      Hi Ashan,

      Thanks for the reply.

      Looking forward to the fix.

      Ps: even the ticket system drops the amp at the end of URLs inside the code tag :p

      Kind regards,
      Dominic

    • By: Ashan Perera Oct 23,2017 AT 6:56AM - Posted 3 years ago - #51668

      Thanks mate, i did look into permalinks for a few and was getting nowhere will get back to it and will do my best to find you a solution!

    • By: Dominic Heselmans Nov 5,2017 AT 4:38AM - Posted 3 years ago - #52723

      Thank you for looking into this Ashan.

      I have an other request that will actually solve this issue.

      Would it be possible to remove the reference in the calender to the single (repeating) event?
      <a itemprop='url' href='https://www.elsole.be/events/...
      Example: https://www.elsole.be/events/groot-ouder-en-kind-yoga-zondag/?ri=5
      She doens’t use the single event page cards at all (noindex) so there’s doens’t seem to be any need to reference to those pages in the code.

      If you could give me the php code to filter this out I can put it in functions.php.

      Thank you very much for your time and help.

    • By: Ashan Perera Nov 6,2017 AT 4:40PM - Posted 3 years ago - #52840

      I suppose you can try something like this, this will redirect to homepage when those single events were accessed by direct url. Also the repeat instance in URL is still in our radar 🙂

      <?php
      add_action( 'template_redirect', 'wpse_128636_redirect_post' );
      
      function wpse_128636_redirect_post() {
        $queried_post_type = get_query_var('post_type');
        if ( is_single() && 'ajde_events' ==  $queried_post_type ) {
          wp_redirect( home_url(), 301 );
          exit;
        }
      }
      ?>
      
      
    • By: Dominic Heselmans Nov 19,2017 AT 3:02AM - Posted 3 years ago - #54288

      Hi Ashan,

      Just letting you know it works and seems to resolve the 404’s we where experience in Search Console (knock on wood).

      Thank you for the help.

    • By: Basilis Kanonidis Nov 19,2017 AT 4:39AM - Posted 3 years ago - #54295

      Hey,

      We are happy it works and give a solution. Ashan will keep working on the URL structure.
      Thank you very much for your patience and time!

    • By: Ashan Perera Nov 21,2017 AT 1:34PM - Posted 3 years ago - #54763

      If you have a moment, we would greatly appreciate if you could kindly leave us a review at codecanyon! from your account > downloads. Cheers!

You must login to reply to this ticket

HelpDesk

Welcome to EventON helpdesk.

EventON is the #1 Best selling event calendar plugin for WordPress websites in envato marketplace.

Checkout EventON