Htaccess file equivalent

Hi all

Does Shopify have an equivalent to an htaccess file? We want to be able to access a url (eg: /en-gb) before we get served a 404 page.

Thank you,
Rob

Hi there, we don’t offer fine grain access restriction like an htaccess file. You can only password protect your entire storefront.

1 Like

Shopify allows you to create redirects for specific URLs using its built-in URL Redirects.

Go to Shopify Admin → Online Store → Navigation → URL Redirects.

Add a redirect from /en-gb (or similar) to a valid page or content.

However, it doesn’t support wildcard redirects or dynamic URL behavior like .htaccess files.