Landing Page /index.php?dispatch=_No_Page

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?

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

You should be able to redirect it.

Sure, I have a whole list of sources from Google Analytics. The main site is: https://www.digitalscrapbookingstudio.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.

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

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

Thank you!! Will do.

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?

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.

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.

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.

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

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

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

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

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