Add www subdomain to shopify website

While I was working on my shopify website I noticed something, that my website domain does not show www subdmain in my web browser which I think is a problem. So I checked some other website for eg. shopify website itself has the subdomain www shown.

Screenshot 2025-01-14 165907.png

If there is anything wrong in the question I have asked, it is due to my lack of knowledge about domains.

Any help is appreciable. Thank You

website- https://www.corenhance.store/

Hi @corenhance

When you set up your Shopify store, the platform automatically configures your primary domain to be used without the “www” subdomain (e.g., yourstorename.com instead of www.yourstorename.com). Both versions (with and without “www”) can point to the same website, but Shopify, by default, uses the non-www version.

If my reply is helpful, kindly click like and mark it as an accepted solution.
Thanks!
Use our Big Bulk Discount app to boost your sales! :rocket: (https://apps.shopify.com/big-bulk-discount). Easy to set up and perfect for attracting more customers with bulk discounts. Try it now and watch your revenue grow!

1 Like

Hi @websensepro

In the settings>domain I have set the www version as the primary domain and in the address bar the domain is the www version. But in the seo section the page url is the non-www version of my domain.

@corenhance

Shopify automatically generates canonical tags, but sometimes they might not respect the primary domain configuration if there is a customization in your theme.

To check for canonical URL tags:

  • Go to Online Store > Themes, then click on Actions > Edit Code.

  • Look for the theme.liquid file and check for a line of code similar to this:

    html

And save changes

If my reply is helpful, kindly click like and mark it as an accepted solution.
Thanks!
Use our Big Bulk Discount app to boost your sales! :rocket: (https://apps.shopify.com/big-bulk-discount). Easy to set up and perfect for attracting more customers with bulk discounts. Try it now and watch your revenue grow!

1 Like

Hi @websensepro ,

Thank you

I have added the code but it didn’t madeany change