{"id":2460,"date":"2023-12-07T10:53:17","date_gmt":"2023-12-07T10:53:17","guid":{"rendered":"https:\/\/tocwp.com\/docs\/?post_type=ht_kb&#038;p=2460"},"modified":"2023-12-07T11:01:13","modified_gmt":"2023-12-07T11:01:13","slug":"how-to-exclude-toc-on-the-same-url-path","status":"publish","type":"ht_kb","link":"https:\/\/tocwp.com\/docs\/knowledge-base\/how-to-exclude-toc-on-the-same-url-path\/","title":{"rendered":"How to exclude TOC on the same URL path."},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><strong>In this tutorial, we will show you how to exclude TOC on the same URL path by following the below steps:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Step 1:<\/strong>&nbsp;First, you must install and activate our&nbsp;<a href=\"https:\/\/wordpress.org\/plugins\/easy-table-of-contents\/\">Easy Table of Contents<\/a>&nbsp;plugin.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong><strong>Step 2: <\/strong><\/strong>Go to the Easy Table Of Contents settings under the Settings section which you will find in the dashboard on the left side of your window.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"499\" src=\"https:\/\/tocwp.com\/docs\/wp-content\/uploads\/2023\/10\/toc1-1536x748-1-1024x499.png\" alt=\"\" class=\"wp-image-2427\" srcset=\"https:\/\/tocwp.com\/docs\/wp-content\/uploads\/2023\/10\/toc1-1536x748-1-1024x499.png 1024w, https:\/\/tocwp.com\/docs\/wp-content\/uploads\/2023\/10\/toc1-1536x748-1-300x146.png 300w, https:\/\/tocwp.com\/docs\/wp-content\/uploads\/2023\/10\/toc1-1536x748-1-768x374.png 768w, https:\/\/tocwp.com\/docs\/wp-content\/uploads\/2023\/10\/toc1-1536x748-1-50x24.png 50w, https:\/\/tocwp.com\/docs\/wp-content\/uploads\/2023\/10\/toc1-1536x748-1-60x29.png 60w, https:\/\/tocwp.com\/docs\/wp-content\/uploads\/2023\/10\/toc1-1536x748-1-100x49.png 100w, https:\/\/tocwp.com\/docs\/wp-content\/uploads\/2023\/10\/toc1-1536x748-1.png 1536w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Step 3:\u00a0<\/strong>Now Scroll down to the bottom, and here you will find the Advance option. Under the Advance options, you can see an option named Exclude By Matching Url\/String . This option helps you exclude TOC on the same URL path.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"574\" src=\"https:\/\/tocwp.com\/docs\/wp-content\/uploads\/2023\/12\/Exclude-1024x574.png\" alt=\"\" class=\"wp-image-2473\" style=\"width:676px;height:auto\" srcset=\"https:\/\/tocwp.com\/docs\/wp-content\/uploads\/2023\/12\/Exclude-1024x574.png 1024w, https:\/\/tocwp.com\/docs\/wp-content\/uploads\/2023\/12\/Exclude-300x168.png 300w, https:\/\/tocwp.com\/docs\/wp-content\/uploads\/2023\/12\/Exclude-768x430.png 768w, https:\/\/tocwp.com\/docs\/wp-content\/uploads\/2023\/12\/Exclude-50x28.png 50w, https:\/\/tocwp.com\/docs\/wp-content\/uploads\/2023\/12\/Exclude-1536x860.png 1536w, https:\/\/tocwp.com\/docs\/wp-content\/uploads\/2023\/12\/Exclude-60x34.png 60w, https:\/\/tocwp.com\/docs\/wp-content\/uploads\/2023\/12\/Exclude-100x56.png 100w, https:\/\/tocwp.com\/docs\/wp-content\/uploads\/2023\/12\/Exclude.png 1605w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Below, we have added the output video for your better understanding.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In the below video, we have added the testing from our post URL in the Exclude By Matching Url\/String option, and TOC will not show on the URL that contains name testing.<\/p>\n\n\n\n<figure class=\"wp-block-video\"><video height=\"1080\" style=\"aspect-ratio: 1920 \/ 1080;\" width=\"1920\" controls src=\"https:\/\/tocwp.com\/docs\/wp-content\/uploads\/2023\/12\/Screencast-2023-12-07-16-16-00.webm\"><\/video><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>That\u2019s it for this tutorial!<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">We hope we\u2019ve cleared your doubts in case you have any feedback or questions, then please share them in the comments section below.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Or you Just contact us&nbsp;<a href=\"https:\/\/tocwp.com\/contact\/\">here<\/a>&nbsp;and we are always available for you.<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this tutorial, we will show you how to exclude TOC on the same URL path by following the below steps: Step 1:&nbsp;First, you must install and activate our&nbsp;Easy Table of Contents&nbsp;plugin. Step 2: Go to the Easy Table Of Contents settings under the Settings section which you will find&#8230;<\/p>\n","protected":false},"author":1,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"footnotes":""},"ht-kb-category":[],"ht-kb-tag":[],"class_list":["post-2460","ht_kb","type-ht_kb","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/tocwp.com\/docs\/wp-json\/wp\/v2\/ht-kb\/2460","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tocwp.com\/docs\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/tocwp.com\/docs\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/tocwp.com\/docs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tocwp.com\/docs\/wp-json\/wp\/v2\/comments?post=2460"}],"version-history":[{"count":2,"href":"https:\/\/tocwp.com\/docs\/wp-json\/wp\/v2\/ht-kb\/2460\/revisions"}],"predecessor-version":[{"id":2487,"href":"https:\/\/tocwp.com\/docs\/wp-json\/wp\/v2\/ht-kb\/2460\/revisions\/2487"}],"wp:attachment":[{"href":"https:\/\/tocwp.com\/docs\/wp-json\/wp\/v2\/media?parent=2460"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/tocwp.com\/docs\/wp-json\/wp\/v2\/ht-kb-category?post=2460"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/tocwp.com\/docs\/wp-json\/wp\/v2\/ht-kb-tag?post=2460"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}