Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #893178

    kirk74
    Participant

    Hi,

    I am a using X theme with Ethos: http://www.aboutfaceskinandhair.com.au/

    and I have noticed a strange issue with the search engine.

    The first page loads OK, but if there are multiple pages, the second and beyond pages say “Page not found”.

    Before asking you I wanted to make sure it wasn’t an issue with my CSS / javascript or plugins .. so have disabled all of these, and same issue.

    Thanks!

    #893714

    Christian
    Moderator

    Hey there,

    Can you give us more details by what you mean “but if there are multiple page”. It would also be best if you could give us a video recording.

    Thanks.

    #898157

    kirk74
    Participant

    Hello thanks,

    What I am saying, is if the search result shows 2 pages meet that search query, when i click the second page, it says page not found.

    I have taken a screen shot video.

    Please note as mentioned above, I have disabled plugins and javascript and still same issue

    Thanks so much.

    #898521

    Christopher
    Moderator

    Hi there,

    Thanks for writing in!

    You’re using old version of X and plugins, please update them as it may fix the issue.

    You can find the latest version numbers here: (http://theme.co/changelog/) Then you can compare them to what’s installed on your site.

    If you find anything to be out of date, you can review our update guide.

    Thanks.

    #899916

    kirk74
    Participant

    Thank you, but I have done this and the same issue. in fact, I have even upgraded to the new X Child theme (I was using Child-Ethos), so it is up to date as it can be,

    Please help?

    #899961

    kirk74
    Participant

    I wonder whether this is also related.. I have a navigation issue with this page: http://www.aboutfaceskinandhair.com.au/testimonials-with-pagination/

    It shows that there are 4 pages, but you cannot click to the other pages…

    Strangely though, the navigation WAS working fine.. but now that I have upgraded to 4.2.2, this is not working .

    I recall having an issue with this earlier and, with the help of support, used custom javascript to fix it .. but it is not working now so it must be the new theme that is incompatible with the javascript.

    Here is the javascript… and I will add the login details privately

    (function($){
    $(\’.x-index-filter-label\’).text(\’BROWSE OUR SERVICES\’);
    $(\’.x-filterable-index .view\’).text(\’VIEW SERVICE\’);
    })(jQuery)

    jQuery( function($){

    $(\’.lcp_paginator a\’).on(\’click\’, function(){

    $(\’html, body\’).stop();

    window.location = $(this).attr(\’href\’);

    } );

    } );

    jQuery(\’#cat.postform option.level-0\’).remove();

    (function($) {
    $(document).ready(function() {
    $(\’.x-filterable-index h2.entry-title a\’).removeAttr( \”title\” );
    });
    })(jQuery);

    (function($){
    $(\’a[class*=\”xing\”]\’).attr(\’title\’, \’About Hair Facebook\’);
    })(jQuery);

    (function($){
    $(\’a[class*=\”facebook\”]\’).attr(\’title\’, \’About Face skin & hair Facebook\’);
    })(jQuery);

    (function($){
    $(\’a[class*=\”instagram\”]\’).attr(\’title\’, \’About Face skin & hair Instagram\’);
    })(jQuery);

    jQuery(document).ready(function($) {
    $(\’.blog ul.x-index-filters-menu li:nth-child(1) a\’).trigger(\’click\’);
    });

    (function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = \”//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.3\”; fjs.parentNode.insertBefore(js, fjs);}(document, \’script\’, \’facebook-jssdk\’))

    #899963

    kirk74
    Participant
    This reply has been marked as private.
    #900145

    kirk74
    Participant

    The strangest the about navigation issue described above, on this page: http://www.aboutfaceskinandhair.com.au/testimonials-with-pagination/
    is that if I am in the Customiser then the navigation of the otherer pages actually works..

    Please login and go into the Customiser and you will see what i mean.

    There must just be some little tweak that is needed..

    Thank you.

    #901203

    Lely
    Moderator

    Hi There,

    Thanks for posting in.
    There’s an error on your javascript. Backlash is not need all the time. Please update your custom javascript to this:

    (function($){ 
    	$('.x-index-filter-label').text('BROWSE OUR SERVICES');
    	$('.x-filterable-index .view').text('VIEW SERVICE');
    })(jQuery)
    
    jQuery( function($){
    
    $('.lcp_paginator a').on('click', function(){
    
    $('html, body').stop();
    
    window.location =  $(this).attr('href');
    
    } );
    
    } );
    
    (function($) {
       $(document).ready(function() {
          $('.x-filterable-index h2.entry-title a').removeAttr( "title" );
       });
    })(jQuery);
    
    (function($){
      $('a[class*=\"xing\"]').attr('title', 'About Hair Facebook');
    })(jQuery);
    
    (function($){
      $('a[class*=\"facebook\"]').attr('title', 'About Face skin & hair Facebook');
    })(jQuery);
    
    (function($){
      $('a[class*=\"instagram\"]').attr('title', 'About Face skin & hair Instagram');
    })(jQuery);
    
    jQuery(document).ready(function($) {
    	$('.blog ul.x-index-filters-menu li:nth-child(1) a').trigger('click');
    });
    

    Do let us know how this goes.

    #901303

    kirk74
    Participant

    Thanks you so much, I didn’t realise the backslashes where there.. seems so obvious now!

    Strangely, though, i didn’t put them in, they have appeared there .. there.. When I upgraded to X 4.2.2 and the new Child Theme, I expected to have to re-add in my custom Javascript and custom CSS, but i didn’t, it was already there .. BUT I see now that it somehow forwarded it and this caused the issue of extra backslashes.. is this is known issue??

    Regarding the bugs I was having, fixing the backslashes HAS fixed the next / previous navigation on the page: http://www.aboutfaceskinandhair.com.au/testimonials-with-pagination/

    BUT

    The SEARCH issue remains… IE, that when the search query displays in more than one page of results, the pages after the first page are not found .. You can do a simple search on the site and you will see what i mean.

    Thanks.

    #902397

    Jack
    Keymaster

    Hi there,

    Thanks for writing back. That’s definitely a odd issue as there are no redirects, just a 404, sometimes a code issue for example can make the link a 301 to a different location which results in a 404.

    Can you post your FTP details in a private reply please so we can further debug.

    Thanks!