[Skip to main content](#vessel-content)

#   webmaster.google.com: many http 404 / not found errors are reported

##

- **[hactic](/forum/user/32281-hactic "View hactic's Profile")**
- [![hactic's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/32281-hactic "View hactic's Profile") Topic Author
- [ Offline](/forum/user/32281-hactic)

Less More

- Posts: 35
- Thank you received: 3
-
- [](https://shop.smartgart.com)
-

9 years 5 months ago -  9 years 5 months ago [\#272690](#272690) by [hactic](/forum/user/32281-hactic "View hactic's Profile")  *[webmaster.google.com: many http 404 / not found errors are reported](/forum/25-install-update/890879-webmaster-google-com-many-http-404-not-found-errors-are-reported#272690 "-- url of the page with the problem -- :   shop.smartgart.com  -- HikaShop version -- : 3.1.1 -- Joomla version -- : 3.7 -- PHP version -- : 5.5 -- Browser(s) name and version -- : Chrome latest -- Error-message(debug-mod must be tuned on) -- : http 404 not found  Hi, I have changed a few things on shop.smartgart.com a while ago, and now I see that webmaster.google.com reports that around 600 pages are no longer found. Those pages have URL suffixes like zh/product/3652-.html or en/product/2928-.html. My understanding is that if those numbers 3652 or 2928 were product&#95;id's, then that link would work - but they are not, and they are not category&#95;id's either. So somehow I must have mislead googlebot.  Question 1: What type of id could they be, or how can I find where those links are generated in the 1st place? They are (of course) not part of the shop.smartgart.com/sitemap-google.xml. Doing a search for e. g. link:shop.smartgart.com/zh/product/3652-.html does no longer work for Google to find out about link sources.  Question 2: Is there a code snippet somewhere that illustrates how to determine the type of a page from a displayClass or viewClass - like product detail page, category listing, brand listing?  Thanks!")* was created by *[hactic](/forum/user/32281-hactic "View hactic's Profile")*

-- url of the page with the problem -- : [ shop.smartgart.com](https://shop.smartgart.com)
-- HikaShop version -- : 3.1.1
-- Joomla version -- : 3.7
-- PHP version -- : 5.5
-- Browser(s) name and version -- : Chrome latest
-- Error-message(debug-mod must be tuned on) -- : http 404 not found

Hi, I have changed a few things on shop.smartgart.com a while ago, and now I see that webmaster.google.com reports that around 600 pages are no longer found.
Those pages have URL suffixes like zh/product/3652-.html or en/product/2928-.html.
My understanding is that if those numbers 3652 or 2928 were product_id's, then that link would work - but they are not, and they are not category_id's either. So somehow I must have mislead googlebot.

Question 1:
What type of id could they be, or how can I find where those links are generated in the 1st place?
They are (of course) not part of the shop.smartgart.com/sitemap-google.xml.
Doing a search for e. g. link:shop.smartgart.com/zh/product/3652-.html does no longer work for Google to find out about link sources.

Question 2:
Is there a code snippet somewhere that illustrates how to determine the type of a page from a displayClass or viewClass - like product detail page, category listing, brand listing?

Thanks!

- [ ![20170625-hikashop-404-b.png](/forum/attachment/38889) ](/forum/attachment/38889 "...shop-404-b.png") [ ](/forum/attachment/38889?download=1 "...shop-404-b.png")
- [ ![20170625-hikashop-404&#95;2017-06-25.png](/forum/attachment/38890) ](/forum/attachment/38890 "...2017-06-25.png") [ ](/forum/attachment/38890?download=1 "...2017-06-25.png")

Last edit: 9 years 5 months ago by [hactic](/forum/user/32281-hactic "View hactic's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg5MDg3OS13ZWJtYXN0ZXItZ29vZ2xlLWNvbS1tYW55LWh0dHAtNDA0LW5vdC1mb3VuZC1lcnJvcnMtYXJlLXJlcG9ydGVkP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

9 years 5 months ago [\#272695](#272695) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[webmaster.google.com: many http 404 / not found errors are reported](/forum/25-install-update/890879-webmaster-google-com-many-http-404-not-found-errors-are-reported#272695 "-- url of the page with the problem -- :   shop.smartgart.com  -- HikaShop version -- : 3.1.1 -- Joomla version -- : 3.7 -- PHP version -- : 5.5 -- Browser(s) name and version -- : Chrome latest -- Error-message(debug-mod must be tuned on) -- : http 404 not found  Hi, I have changed a few things on shop.smartgart.com a while ago, and now I see that webmaster.google.com reports that around 600 pages are no longer found. Those pages have URL suffixes like zh/product/3652-.html or en/product/2928-.html. My understanding is that if those numbers 3652 or 2928 were product&#95;id's, then that link would work - but they are not, and they are not category&#95;id's either. So somehow I must have mislead googlebot.  Question 1: What type of id could they be, or how can I find where those links are generated in the 1st place? They are (of course) not part of the shop.smartgart.com/sitemap-google.xml. Doing a search for e. g. link:shop.smartgart.com/zh/product/3652-.html does no longer work for Google to find out about link sources.  Question 2: Is there a code snippet somewhere that illustrates how to determine the type of a page from a displayClass or viewClass - like product detail page, category listing, brand listing?  Thanks!")*

Hi,

1.
A URL with /product/ID-.html is a product page.
These numbers might not be product ids but variant ids. You can also access a product page with the id of a variant and in that case, the variant will be preselected in the characteristics.
So maybe you had variants with these ids in a product of your shop and you changed the configuration of the products and generated new variants and thus the ids of the variants changed.
Normally, HikaShop doesn't advertize the URLs with the ids of the variants. They are only in the order/cart pages but search engines aren't supposed to create carts or orders.

2. I don't understand your question.
The SEF URLs are generated based on the file components/com_hikashop/router.php if that's what you're asking.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg5MDg3OS13ZWJtYXN0ZXItZ29vZ2xlLWNvbS1tYW55LWh0dHAtNDA0LW5vdC1mb3VuZC1lcnJvcnMtYXJlLXJlcG9ydGVkP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.073 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
