Hello,
Running magento 2.2.3
I'm seeing a visitor on the following url from google analytics:
/index.php?route=checkout/checkout
Does anyone know in the above url:
What displays to the frontend user?
How that url has been generated/what steps taken to be on this "page"?
Best regards
Hi @TIMMY9,
From the SEO prospective checkout url should not be crawled by the google.
You need to add this url into robots.txt
For robots.txt setup, go thorough the following url once:
https://www.cloudways.com/blog/magento-2-robots-txt/
If you want to access your magento URL without index.php
example:
http://domain.com/index.php/category
to
then use the following steps
1) Login to your admin section by using the URL
http://domain.com/index.php/admin
2) then go to “Store >> Configuration >>Web >> Search Engines Optimization”
Use Web Server Rewrites : YES
3)Edit the .htaccess file under your magento installed folder.
add the following rules into .htaccess file
RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L]
I hope it will help you!
Thank you but I'm afraid that doesn't answer the question posed.
We are asking in what scenario is this url generated:
/index.php?route=checkout/checkout
(Your reply is not relevant since we had not asked for guidance on how to block checkout from being crawled. That url you are talking about is actually specifically: /checkout which we have already blocked)
If anyone else can assist please kindly post back to our original enquiry.
@TIMMY9
Did you migrated magento database from opencart?
Because in magento2 " /index.php?route=checkout/checkout" is not generated anywhere. This type of url is generated in opencart.
Hello,
Thank you for your reply.
No definitely no migration from opencart to magento. This store has always been magento 2.
I understood the url is showing that it can also be related to opencart, as I ran a search online and found some results to mention this url in relation to opencart. But still not sure why it would show up for our site.
In last 30 days 15 unique views are showing for this url. /index.php?route=checkout/checkout
vs 4 in the previous period of 30 days
I also see a url with checkout/onepage though that is not our checkout url.
In last 30 days 10 unique visits
vs 3 in the previous period of 30 days.
Hi,
Just wondering if you ever got to the bottom of this. I'm receiving the same strange url request, but I'm running WooCommerce.
Thanks
Mike
Apologies I cannot recall clearly, though vaguely it was some simple issue related to some url on another open cart site sharing html data for some static info pages with out magento site.
i can’t really add much value but can say it was something straightforward.
I have a theory.
We are seeing significant amounts of direct traffic to that URL, and I too came here wondering what it is supposed to do.
This started a few days ago at the same time we suffered a number of hacking attempts trying to add phishing code. These attempts seemed to be scripted and repetitive.
So, if this is a URL that is found in other ecommerce systems, my theory is that it indicates hacking 'bots trying to find sites with that URL to attack using whatever cookbook they have for that software type.
Just a theory.