404 on Hidden pages

Topic summary

A user created a hidden page in Shopify intended as a thank-you page after survey completion, but accessing the link results in a 404 error.

Core Issue:
The page exists but returns 404 when accessed directly, raising questions about whether it needs to be visible or can remain hidden while still functional.

Solutions Provided:

  • Correct URL format: Ensure the link uses /pages/your-page-name format, not /your-page-name, which triggers 404 errors
  • Page status: Verify the page is created and published in Shopify Admin
  • Visibility approach: Keep the page published but simply exclude it from menus and navigation—no need for redirects if the correct URL is used

Key Takeaway:
Hidden pages in Shopify must still be published to be accessible. The solution is using the proper URL structure and keeping the page out of navigation menus, rather than marking it as hidden/unpublished.

Summarized with AI on October 28. AI used: claude-sonnet-4-5-20250929.

I have created a hidden page as I don’t want others to navigate to it. However when going to the link it goes to a 404 page not found. How do I fix this?

Do I have to make it visible and then make sure it’s not on the menu or any pages and just hope people don’t find it. It is a thank you page which people are redirected to after filling a survey.

“If you don’t want the page to be visible, please remove it from the menu or any other links. However, if you wish to keep the page as is, you’ll need to create a redirect in Shopify.”

Steps to Add Redirects in Shopify:1. Login to Shopify Admin:

  • Go to your Shopify Admin panel.
  1. Go to Content:

    • From the left-hand menu, click on Menus.
  2. Click on URL Redirects:

    • Under the Menus page, find on right hand side on top and click on URL Redirects.
  3. Create a New Redirect:

    • Click on Create URL Redirect.
  4. Enter the Old and New URLs:

    • In the Redirect from field, enter the URL of the page you want to redirect (e.g., /pages/your-hidden-page).

    • In the Redirect to field, enter the destination URL (e.g., / for the homepage or any other page).

  5. Save the Redirect:

    • After entering the details, click Save Redirect.

This will ensure that visitors are automatically redirected to the new page instead of encountering a 404 error when accessing the old URL.

Hi,

Hope this will help

  • Make sure page is created & published.

  • Use the correct link like /pages/your-page-name.

  • Don’t add it to the menu (if you want to keep it hidden)

  • Avoid linking like /your-page-name (you will get 404).