Page title for custom routs defaults to {shopname} . {shopname} #2312
Unanswered
theMoeLafi
asked this question in
Help
Replies: 1 comment
-
Most likely just need to do custom override for single page on custom routes. https://shopify.dev/custom-storefronts/hydrogen/framework/seo#overwrite-for-a-single-page |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I am building a project using the Hydrogen store template. I have added custom routs in the rout directory for new pages (outside /routs/pages/...) I am noticing that the title for that page in the browser tab defaults to {shopname} . {shopname} and cannot be changed.
I have added the custom rout as a page in Shopify CMS and added SEO title there. am pulling this info in the custom rout's index and adding it to the component. but still the title shows up as default. this doesnt happen to custom routs inside the /page directory.
I have tried this using the prop type="defaultSeo" and type="page"
is there some sort of registry for custom routs to avoid default behavior ? or another way to get this to work?
thanks !
Beta Was this translation helpful? Give feedback.
All reactions