Remove shopify defeault collections page

Remove shopify defeault collections page

onbfish
Visitor
1 0 1

help.png

 

Ignore the blocks, but I want to delete this page because its appearing on my SEO and just making the website appear disorganized. It appears to be a default generated Shopify page. Looking for some help!!! Dont want to delete the collection, before anyone asks. 

 

I also tried inputting code in the theme liquid, you know from other help where its inbetween the <head> or <title>

But I want that SEO link eradicated, gone. website.shop/pages/products

 

I dont even know why its there

Replies 2 (2)

KetanKumar
Shopify Partner
37634 3670 12166

@onbfish 

Method 1: Hide Collections Page via Navigation
Remove From Navigation:
Go to Online Store > Navigation.
Find the menu that includes the collections link (usually the Main Menu).
Remove the link to the collections page from the menu.
Method 2: Redirect Collections Page
If you want to completely disable access to the collections page, you can create a redirect:

Create a New Page:

Go to Online Store > Pages.
Click Add page and create a new page, e.g., "Collections Disabled."
Add a message explaining that collections are not available.
Set Up Redirect:

Go to Online Store > Navigation.
Click on URL Redirects.
Click Create URL redirect.
In the Redirect from field, enter /collections.
In the Redirect to field, enter /pages/collections-disabled (or whatever your new page’s URL is).
Click Save redirect.
Method 3: Customize Theme Code to Hide Collections Page
If you want to hide the collections page visually rather than redirecting:

Edit the Template:

Go to Online Store > Themes.
Click on Actions for your active theme and select Edit code.
Open the file templates/collection.liquid or sections/collection-template.liquid.
Add a Conditional Check: You can add code to prevent products from displaying and show a message instead:

 copy
liquid

{% comment %}
This section will prevent the default collection page from displaying products
{% endcomment %}
<h2>Collections are currently not available.</h2>
<p>Please check back later or browse our other products.</p>
Hide Collections in Navigation: Ensure you also hide any links to collections in your navigation as described above.

Method 4: Remove Collections from the Theme
Edit the Theme Code:
In the code editor, navigate to the sections or snippets folder and look for any references to collections (such as collection-list.liquid or similar).
Comment out or delete sections of code that specifically render collections if you don't want them to appear anywhere in your theme.
If helpful then please Like and Accept Solution. Partnership of your ️ Coffee Tips and my code can bring miracles.
Want to modify or custom changes on store Hire Me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help Shopify Partner | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing

LizHoang
Shopify Partner
1251 159 195

Hi. can you share store URL and detail image?

 

Please let us know if our reply is helpful by giving it a Like or marking it as a Solution!

Check our Joy Rewards & Loyalty Program