How to exclude categories?
-
Is it possible to link to a product without a category. The bottom line is that the site products “one category”. Product of narrow specialization. They do not need to be categorized.
Now the link to the product looks like this.
https://site.com/product-category/category/product
It is necessary that the link be without category. Looked like this https://site.com/product-category/product
Is there a plugin that solves this issue?
-
Hi @alexm777
Thanks for reaching out!
If your product is not listed under any categories, it would be listed under
Uncategorized
. You can check this underProducts > Categories
.Then, browsing it this will be the URL:
https://yoursite.com/shop/uncategorized/product/
In your use case, you could change the permalink settings of your site by going to
Settings > Permalinks
and changing it toDefault
orShop Base
which will provide this URL structure:https://yoursite.com/product/sample-product/
orhttps://yoursite.com/shop/sample-product/
respectively omitting the category totally.Hope this helps!
-
This reply was modified 2 years, 1 month ago by
xue28 (woo-hc).
Thank you. Yes, it helped. Now the link is exactly what you need.
https://yoursite.com/shop/sample-product/
Only when clicking on a product from the storefront https://yoursite.com/shop/
We get to an empty page, although this link is indicated in the product itself. Might have to check the settings somewhere else.
Hi @alexm777
Thank you. Yes, it helped. Now the link is exactly what you need.
You are most welcome and I’m glad I was able to help you here somehow! ??
Only when clicking on a product from the storefront https://yoursite.com/shop/
We get to an empty page, although this link is indicated in the product itself. Might have to check the settings somewhere else.
Can you please share the URL or the link to your site so that we could check this further?
Additionally, I’d like to understand your site properly, please share your System Status Report that you can find via
WooCommerce > Status
. SelectGet system report
and thenCopy for support
. Once you’ve done that, you can paste it into your reply here.Thanks!
https://sibachmsk.ru/product-category/chans/
Here is the base undeletable category
WordPress Environment WordPress address (URL): https://sibachmsk.ru Site address (URL): https://sibachmsk.ru WC Version: 7.2.2 REST API Version: ?</img> 7.2.2 WC Blocks Version: ?</img> 8.9.2 Action Scheduler Version: ?</img> 3.4.0 Log Directory Writable: ?</img> WP Version: 6.1.1 WP Multisite: – WP Memory Limit: 256 МБ WP Debug Mode: – WP Cron: ?</img> Language: ru_RU External object cache: – Server Environment Server Info: Apache/2.4.53 (Red Hat Enterprise Linux 8) PHP/7.4.29 PHP Version: 7.4.29 PHP Post Max Size: 64 МБ PHP Time Limit: 60 PHP Max Input Vars: 10000 cURL Version: 7.61.1 OpenSSL/1.1.1k SUHOSIN Installed: – MySQL Version: 8.0.22-13 Max Upload Size: 64 МБ Default Timezone is UTC: ?</img> fsockopen/cURL: ?</img> SoapClient: ?</img> DOMDocument: ?</img> GZip: ?</img> Multibyte String: ?</img> Remote Post: ?</img> Remote Get: ?</img> Database WC Database Version: 7.2.0 WC Database Prefix: cms_wp_ Общий размер базы данных: 23.58MB Размер данных в базе данных: 17.76MB Размер индекса базы данных: 5.82MB cms_wp_woocommerce_sessions: Данные: 0.11MB + Индекс: 0.02MB + Движок InnoDB cms_wp_woocommerce_api_keys: Данные: 0.02MB + Индекс: 0.03MB + Движок InnoDB cms_wp_woocommerce_attribute_taxonomies: Данные: 0.02MB + Индекс: 0.02MB + Движок InnoDB cms_wp_woocommerce_downloadable_product_permissions: Данные: 0.02MB + Индекс: 0.06MB + Движок InnoDB cms_wp_woocommerce_order_items: Данные: 0.02MB + Индекс: 0.02MB + Движок InnoDB cms_wp_woocommerce_order_itemmeta: Данные: 0.02MB + Индекс: 0.03MB + Движок InnoDB cms_wp_woocommerce_tax_rates: Данные: 0.02MB + Индекс: 0.06MB + Движок InnoDB cms_wp_woocommerce_tax_rate_locations: Данные: 0.02MB + Индекс: 0.03MB + Движок InnoDB cms_wp_woocommerce_shipping_zones: Данные: 0.02MB + Индекс: 0.00MB + Движок InnoDB cms_wp_woocommerce_shipping_zone_locations: Данные: 0.02MB + Индекс: 0.03MB + Движок InnoDB cms_wp_woocommerce_shipping_zone_methods: Данные: 0.02MB + Индекс: 0.00MB + Движок InnoDB cms_wp_woocommerce_payment_tokens: Данные: 0.02MB + Индекс: 0.02MB + Движок InnoDB cms_wp_woocommerce_payment_tokenmeta: Данные: 0.02MB + Индекс: 0.03MB + Движок InnoDB cms_wp_woocommerce_log: Данные: 0.02MB + Индекс: 0.02MB + Движок InnoDB cms_wp_actionscheduler_actions: Данные: 2.44MB + Индекс: 2.19MB + Движок InnoDB cms_wp_actionscheduler_claims: Данные: 0.02MB + Индекс: 0.02MB + Движок InnoDB cms_wp_actionscheduler_groups: Данные: 0.02MB + Индекс: 0.02MB + Движок InnoDB cms_wp_actionscheduler_logs: Данные: 1.52MB + Индекс: 0.58MB + Движок InnoDB cms_wp_aioseo_cache: Данные: 0.14MB + Индекс: 0.03MB + Движок InnoDB cms_wp_aioseo_notifications: Данные: 0.02MB + Индекс: 0.06MB + Движок InnoDB cms_wp_aioseo_posts: Данные: 0.09MB + Индекс: 0.02MB + Движок InnoDB cms_wp_asq_answers: Данные: 0.02MB + Индекс: 0.05MB + Движок InnoDB cms_wp_asq_questions: Данные: 0.02MB + Индекс: 0.03MB + Движок InnoDB cms_wp_asq_quizzes: Данные: 0.02MB + Индекс: 0.06MB + Движок InnoDB cms_wp_asq_result_templates: Данные: 0.02MB + Индекс: 0.03MB + Движок InnoDB cms_wp_cartflows_ca_cart_abandonment: Данные: 0.02MB + Индекс: 0.02MB + Движок InnoDB cms_wp_cartflows_ca_email_templates: Данные: 0.02MB + Индекс: 0.00MB + Движок InnoDB cms_wp_commentmeta: Данные: 0.02MB + Индекс: 0.03MB + Движок InnoDB cms_wp_comments: Данные: 0.02MB + Индекс: 0.09MB + Движок InnoDB cms_wp_frm_fields: Данные: 0.02MB + Индекс: 0.03MB + Движок InnoDB cms_wp_frm_forms: Данные: 0.02MB + Индекс: 0.02MB + Движок InnoDB cms_wp_frm_item_metas: Данные: 0.02MB + Индекс: 0.03MB + Движок InnoDB cms_wp_frm_items: Данные: 0.02MB + Индекс: 0.08MB + Движок InnoDB cms_wp_links: Данные: 0.02MB + Индекс: 0.02MB + Движок InnoDB cms_wp_litespeed_url: Данные: 0.02MB + Индекс: 0.03MB + Движок InnoDB cms_wp_litespeed_url_file: Данные: 0.02MB + Индекс: 0.08MB + Движок InnoDB cms_wp_mlw_qm_audit_trail: Данные: 0.02MB + Индекс: 0.00MB + Движок InnoDB cms_wp_mlw_question_terms: Данные: 0.02MB + Индекс: 0.06MB + Движок InnoDB cms_wp_mlw_questions: Данные: 0.09MB + Индекс: 0.00MB + Движок InnoDB cms_wp_mlw_quiz_theme_settings: Данные: 0.02MB + Индекс: 0.00MB + Движок InnoDB cms_wp_mlw_quizzes: Данные: 0.11MB + Индекс: 0.00MB + Движок InnoDB cms_wp_mlw_results: Данные: 0.39MB + Индекс: 0.00MB + Движок InnoDB cms_wp_mlw_themes: Данные: 0.02MB + Индекс: 0.00MB + Движок InnoDB cms_wp_options: Данные: 2.47MB + Индекс: 0.13MB + Движок InnoDB cms_wp_postmeta: Данные: 1.52MB + Индекс: 0.48MB + Движок InnoDB cms_wp_posts: Данные: 7.52MB + Индекс: 0.28MB + Движок InnoDB cms_wp_smush_dir_images: Данные: 0.02MB + Индекс: 0.03MB + Движок InnoDB cms_wp_term_relationships: Данные: 0.02MB + Индекс: 0.02MB + Движок InnoDB cms_wp_term_taxonomy: Данные: 0.02MB + Индекс: 0.03MB + Движок InnoDB cms_wp_termmeta: Данные: 0.02MB + Индекс: 0.03MB + Движок InnoDB cms_wp_terms: Данные: 0.02MB + Индекс: 0.03MB + Движок InnoDB cms_wp_totalpoll_entries: Данные: 0.02MB + Индекс: 0.06MB + Движок InnoDB cms_wp_totalpoll_log: Данные: 0.02MB + Индекс: 0.09MB + Движок InnoDB cms_wp_totalpoll_votes: Данные: 0.02MB + Индекс: 0.06MB + Движок InnoDB cms_wp_usermeta: Данные: 0.02MB + Индекс: 0.03MB + Движок InnoDB cms_wp_users: Данные: 0.02MB + Индекс: 0.05MB + Движок InnoDB cms_wp_vkcommerce_products: Данные: 0.02MB + Индекс: 0.03MB + Движок InnoDB cms_wp_wc_admin_note_actions: Данные: 0.02MB + Индекс: 0.02MB + Движок InnoDB cms_wp_wc_admin_notes: Данные: 0.06MB + Индекс: 0.00MB + Движок InnoDB cms_wp_wc_category_lookup: Данные: 0.02MB + Индекс: 0.00MB + Движок InnoDB cms_wp_wc_customer_lookup: Данные: 0.02MB + Индекс: 0.03MB + Движок InnoDB cms_wp_wc_download_log: Данные: 0.02MB + Индекс: 0.03MB + Движок InnoDB cms_wp_wc_order_coupon_lookup: Данные: 0.02MB + Индекс: 0.03MB + Движок InnoDB cms_wp_wc_order_product_lookup: Данные: 0.02MB + Индекс: 0.06MB + Движок InnoDB cms_wp_wc_order_stats: Данные: 0.02MB + Индекс: 0.05MB + Движок InnoDB cms_wp_wc_order_tax_lookup: Данные: 0.02MB + Индекс: 0.03MB + Движок InnoDB cms_wp_wc_product_attributes_lookup: Данные: 0.02MB + Индекс: 0.02MB + Движок InnoDB cms_wp_wc_product_download_directories: Данные: 0.02MB + Индекс: 0.02MB + Движок InnoDB cms_wp_wc_product_meta_lookup: Данные: 0.02MB + Индекс: 0.09MB + Движок InnoDB cms_wp_wc_rate_limits: Данные: 0.02MB + Индекс: 0.02MB + Движок InnoDB cms_wp_wc_reserved_stock: Данные: 0.02MB + Индекс: 0.00MB + Движок InnoDB cms_wp_wc_tax_rate_classes: Данные: 0.02MB + Индекс: 0.02MB + Движок InnoDB cms_wp_wc_webhooks: Данные: 0.02MB + Индекс: 0.02MB + Движок InnoDB cms_wp_wp_quiz_emails: Данные: 0.02MB + Индекс: 0.03MB + Движок InnoDB cms_wp_wp_quiz_play_data: Данные: 0.02MB + Индекс: 0.03MB + Движок InnoDB cms_wp_wp_quiz_players: Данные: 0.02MB + Индекс: 0.00MB + Движок InnoDB cms_wp_wp_quiz_user_actions: Данные: 0.02MB + Индекс: 0.02MB + Движок InnoDB Post Type Counts attachment: 142 customize_changeset: 29 custom_css: 1 et_body_layout: 15 et_code_snippet: 2 et_footer_layout: 24 et_header_layout: 38 et_pb_layout: 9 et_template: 105 et_theme_builder: 4 fca_qc_quiz: 1 frm_form_actions: 1 frm_styles: 1 nav_menu_item: 4 oembed_cache: 4 page: 15 popup: 4 popup_theme: 8 post: 1 product: 17 qsm_quiz: 2 quiz: 1 revision: 510 shop_order: 7 uvq_quiz: 1 wpcf7_contact_form: 2 wp_global_styles: 1 wp_quiz: 3 wp_quizr: 1 Security Secure connection (HTTPS): ?</img> Hide errors from visitors: ?</img> Active Plugins (19) All in One SEO: от Команда All in One SEO – 4.2.8 Contact Form 7: от Takayuki Miyoshi – 5.7.1 Divi Builder: от Elegant Themes – 4.19.5 GA Google Analytics: от Jeff Starr – 20221016 Image Watermark: от dFactory – 1.7.2 LiteSpeed Cache: от LiteSpeed Technologies – 5.3.1 Popup Maker: от Popup Maker – 1.17.1 Quiz And Survey Master: от ExpressTech – 8.0.8 Яндекс.Турбо: от Flector – 1.32 TikTok: от TikTok – 1.0.12 UpdraftPlus - Backup/Restore: от UpdraftPlus.Com DavidAnderson – 1.22.24 VkCommerce: от Yaroslav Bogutsky – 1.1.1 WooCommerce: от Automattic – 7.2.2 (доступно обновление до версии 7.3.0) WP Rollback: от GiveWP.com – 1.7.2 Smush: от WPMU DEV – 3.12.4 WP Super Cache: от Automattic – 1.9.2 Яндекс.Метрика: от Yandex – 1.1.7 XML for Google Merchant Center: от Maxim Glazunov – 2.9.11 Yml для Yandex Market: от Максим Глазунов – 3.10.2 Inactive Plugins (1) WooCommerce Direct Checkout: от QuadLayers – 2.7.6 Dropin Plugins (1) advanced-cache.php: advanced-cache.php Settings API Enabled: – Force SSL: – Currency: RUB (?) Currency Position: right_space Thousand Separator: Decimal Separator: , Number of Decimals: 2 Taxonomies: Product Types: external (external) grouped (grouped) simple (simple) variable (variable) Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog) exclude-from-search (exclude-from-search) featured (featured) outofstock (outofstock) rated-1 (rated-1) rated-2 (rated-2) rated-3 (rated-3) rated-4 (rated-4) rated-5 (rated-5) Connected to WooCommerce.com: – Enforce Approved Product Download Directories: ?</img> Order datastore: WC_Order_Data_Store_CPT WC Pages Ссылка магазина: #194 - /product-category/ Корзина: #195 - /cart/ Оформление заказа: #196 - /checkout/ Мой аккаунт: #197 - /my-account/ Правила и условия: ?</img> Страница не задана Theme Name: Twenty Twenty-One Version: 1.5 (доступно обновление до версии 1.7) Author URL: https://ru.www.ads-software.com/ Child Theme: ?</img> – Если вы хотите оформить WooCommerce родительской темой которую создал кто-то другой мы рекомендуем воспользоваться дочерней темой. См. "Как создать дочернюю тему" WooCommerce Support: ?</img> Templates Overrides: – Admin Enabled Features: activity-panels analytics coupons customer-effort-score-tracks experimental-products-task experimental-import-products-task experimental-fashion-sample-products shipping-smart-defaults shipping-setting-tour homescreen marketing multichannel-marketing mobile-app-banner navigation onboarding onboarding-tasks remote-inbox-notifications remote-free-extensions payment-gateway-suggestions shipping-label-banner subscriptions store-alerts transient-notices woo-mobile-welcome wc-pay-promotion wc-pay-welcome-page Disabled Features: minified-js new-product-management-experience settings Daily Cron: ?</img> Next scheduled: 2023-02-03 18:21:07 +03:00 Options: ?</img> Notes: 52 Onboarding: completed Action Scheduler Complete: 2?964 Oldest: 2023-01-03 13:17:44 +0000 Newest: 2023-02-03 12:40:34 +0000 Pending: 8 Oldest: 2023-02-03 12:55:34 +0000 Newest: 2023-02-06 20:43:09 +0000 Status report information Generated at: 2023-02-03 15:45:04 +03:00 `
Hi @alexm777
Accessing this site, this is what I’m seeing on my end:
Based on your site’s System Status Report, the Shop page is set to https://sibachmsk.ru/product-category/ and visiting this site does not display the products on your site as well:
Can you please confirm if this product or category is available on the front-end of your site?
Hello
From that moment on, I have changed. both links https://sibachmsk.ru/product-category/chan/ and https://sibachmsk.ru/product-category work
You may have logged in at the time of editing.
Unfortunately both pages duplicate each other. Looking to leave one of them. Most likely this https://sibachmsk.ru/product-category/chan/ Since it is displayed by default. Set up a shop for it?
There is also a link https://sibachmsk.ru/product/”product”Hi @alexm777
Most likely this https://sibachmsk.ru/product-category/chan/ Since it is displayed by default.
Thanks for clarifying this further. Checking this page, I am now seeing the 16 products on your site.
There is also a link https://sibachmsk.ru/product/”product”
However, for this link, I am seeing the error message:
Тут ничего нет
For this link, can you please provide further information and what should be the expected output?
Thanks!
Hello,
https://sibachmsk.ru/product/”product” refers to any product, since the links to the product themselves are long.Hi @alexm777
https://sibachmsk.ru/product/”product” refers to any product, since the links to the product themselves are long.
Checking on the link above, this is what I’m seeing on my end:
I am unable to access the link on my end.
To better picture what you are referring to here, can you please share with us a clear screenshot of what you see on your end so that we could address you more effectively?
If you don’t already have a screenshot service installed, you can try https://snipboard.io or https://skitch.com/. You can share the direct link to the image as a response to this topic.
Hi @alexm777 ,
We haven’t heard back from you in a while, so I’m going to mark this as resolved – we’ll be here if and/or when you are ready to continue.
Cheers!
-
This reply was modified 2 years, 1 month ago by
- The topic ‘How to exclude categories?’ is closed to new replies.