Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Landing Page /index.php?dispatch=_No_Page Rate Topic   - - - - -

 
  • Angeltown
  • Senior Member
  • Members
  • Join Date: 05-Feb 15
  • 152 posts

Posted 29 March 2017 - 08:28 PM #1

We have an issue that seems simple but apparently I cannot quite figure it out. We're getting quite a few analytics hits to the landing page: /index.php?dispatch=_no_page

 

The sources of this link are from all over the web, which is strange enough since /index.php?dispatch=_no_page leads to a 404 error / is not a real page. 

 

I tried to add 301 redirect to just send people to our home page, but it didn't work. 

 

Any insights here on where this could be coming from and / or how to redirect it? 

 

 


CS-Cart & CS-Cart Multi-Vendor 4.11.5


 
  • tbirnseth
  • CS Cart Expert
  • Authorized Reseller
  • Join Date: 08-Nov 08
  • 12052 posts

Posted 29 March 2017 - 10:34 PM #2

Can you provide some 'access_file' listings of the accesses to this URI?

You should be able to redirect it.


EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.


 
  • Angeltown
  • Senior Member
  • Members
  • Join Date: 05-Feb 15
  • 152 posts

Posted 29 March 2017 - 11:56 PM #3

Sure, I have a whole list of sources from Google Analytics. The main site is: https://www.digitals...kingstudio.com/

 

It's so strange... it even shows this link coming from our newsletter but it doesn't appear to be there anywhere. I'll try to redirect it again, but I'd really like to know why the link is even out there. 

 

20170329-_no_page.JPG


CS-Cart & CS-Cart Multi-Vendor 4.11.5


 
  • Angeltown
  • Senior Member
  • Members
  • Join Date: 05-Feb 15
  • 152 posts

Posted 30 March 2017 - 04:58 AM #4

And I feel like an idiot, but why on earth is this redirect not working? I even tried clearing the cache.

 

20170329-_no_page_redirect.JPG


CS-Cart & CS-Cart Multi-Vendor 4.11.5


 
  • tbirnseth
  • CS Cart Expert
  • Authorized Reseller
  • Join Date: 08-Nov 08
  • 12052 posts

Posted 30 March 2017 - 05:23 AM #5

I would do the redirect in Apache versus within the cart.  The cart redirects only really work with SEO names, not full dispatch parameters.


EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.


 
  • Angeltown
  • Senior Member
  • Members
  • Join Date: 05-Feb 15
  • 152 posts

Posted 30 March 2017 - 05:44 AM #6

Thank you!! Will do. 


CS-Cart & CS-Cart Multi-Vendor 4.11.5


 

Posted 31 March 2017 - 03:19 PM #7

I am getting a crawl error for this in my Google Search Console also. 

 

index.php?dispatch=_no_page

 

The page does not exist, so how are people being directed there?



 
  • Angeltown
  • Senior Member
  • Members
  • Join Date: 05-Feb 15
  • 152 posts

Posted 31 March 2017 - 07:07 PM #8

 

The page does not exist, so how are people being directed there?

 

That is exactly what is baffling me. I cannot find that we're giving that link out anywhere. Analytics even cites our newsletter as a source but we've scoured it and cannot find that link. 


CS-Cart & CS-Cart Multi-Vendor 4.11.5


 
  • tbirnseth
  • CS Cart Expert
  • Authorized Reseller
  • Join Date: 08-Nov 08
  • 12052 posts

Posted 31 March 2017 - 09:01 PM #9

I'm guessing this is an introduced bug somewhere in cs-cart where it's setting the dispatch to 'no_page'
 
Update: Looks like on latest version it is coming from fn_get_route() and the seo hook for 'get_route'.  So I'd submit it as a bug to bug tracker but assume that this is a reference to a page that does not exist (or allowed) and hence it's setting the dispatch parameter to '_no_page'.
 
Code is similar in both fn.control.php and the SEO func.php files.:
 
    if (!$is_allowed_url) {
        $req = array(
            'dispatch' => '_no_page'
        );
    }
I don't have time to do further research but this should be enough for you to submit to Bugrracker.

Edited by tbirnseth, 31 March 2017 - 09:31 PM.

EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.


 
  • Angeltown
  • Senior Member
  • Members
  • Join Date: 05-Feb 15
  • 152 posts

Posted 31 March 2017 - 09:11 PM #10

I'm guessing this is an introduced bug somewhere in cs-cart where it's setting the dispatch to 'no_page' and something is trying to resolve it to a language variable and it's returning '_no_page' since 'no_page' isn't found.

 

That makes sense! 

 

We've redirected the URI to our home page now, but I'd still like to fix the issue if I can find it.


CS-Cart & CS-Cart Multi-Vendor 4.11.5


 
  • tbirnseth
  • CS Cart Expert
  • Authorized Reseller
  • Join Date: 08-Nov 08
  • 12052 posts

Posted 31 March 2017 - 09:29 PM #11

I updated post #9 after a bit of code search....


EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.


 
  • Angeltown
  • Senior Member
  • Members
  • Join Date: 05-Feb 15
  • 152 posts

Posted 31 March 2017 - 09:31 PM #12

I updated post #9 after a bit of code search....

 

THANK YOU!! I'll get it submitted ASAP. 


CS-Cart & CS-Cart Multi-Vendor 4.11.5


 
  • The Tool
  • Been Here Way Too Long Member
  • Members
  • Join Date: 30-Mar 07
  • 3969 posts

Posted 01 April 2017 - 03:56 AM #13

I've only seen bots hitting it so I disallowed it in robots.txt.



 
  • Angeltown
  • Senior Member
  • Members
  • Join Date: 05-Feb 15
  • 152 posts

Posted 01 April 2017 - 04:23 AM #14

I've only seen bots hitting it so I disallowed it in robots.txt.

 

Hmmm, that's a different twist, too. We have conversions in analytics starting from this landing page plus hits from several industry sources so real customers are definitely getting it, too. 

 

Bug Tracker Post


CS-Cart & CS-Cart Multi-Vendor 4.11.5