Hi everybody,
I’m running into an issue that I think is basically what is described in this closed thread, or at least a similar issue: https://www.wix.com/velo/forum/coding-with-velo/critical-bug-using-seo-on-dynamic-pages-not-solved-for-4-months-and-today-solved-in-4-hours
I have a client site that is using dynamic pages to display products from a database collection. I’m only using dynamic pages for the item detail pages, not the list pages. In the SEO settings for the dynamic pages, I am using a field from my database called {SEO Title} in the title setting field (screenshot: https://capture.dropbox.com/6GGOcxZOGDohs74W ).
The page title seems to show up fine if I go to a product category page and click on a product to go to that product’s detail page (Example: go to https://www.usled.com/ev-chargers and click on a product. Screenshot showing title in browser tab: https://www.dropbox.com/s/ybm5auppps68vby/Screenshot%202022-03-23%2009.56.45.png?dl=0 ).
However, if I were to copy the url of that same detail page (example: https://www.usled.com/ev-chargers-1/turboevc-120kw-electric-vehicle-charger) and just paste it into a browser tab and go to it directly, the product title doesn’t show up in the tab. If I open my developer console and look for the title tag, it’s there, but it only says “| US LED, Ltd”, instead of the product’s SEO title from the database , “TurboEVC 120kW DC Fast EV Charger | EV Charging Stations”. (screenshot: https://www.dropbox.com/s/6ixr68c26ym7fi8/Screenshot%202022-03-23%2009.58.17.png?dl=0))
For what it’s worth, the product’s page title will also go away if I hit refresh after landing on it from the category page. So the title really only loads/display correctly in exactly one (1) instance.
And finally, it looks like the SEO titles aren’t getting indexed properly in Google. If I google “US LED EV chargers”, this is what I get: https://capture.dropbox.com/qKkpLLtBTGKrkYL7. Notice that the very first result is a product in the EV Charger category (specifically: https://www.usled.com/ev-chargers-1/turboevc-7.7kw-32a-electric-vehicle-charger),,) but the SEO title doesn’t show up, and when I click the link to that product from the search results, it just shows “| US LED, Ltd.” as the title instead of the proper SEO title for that product.
What is causing this problem, and is there something I need to change in order to fix it? In the thread I linked above, the problem seemed to have something to do with using {Title} in the title field, but I’m using a different field.