There’s a way to do it but it’s not clean unfortunately.
Basically instead of “go to page” actions you’re going to use external URL.
For this example I’m going to assume you have a repeating group of lists of products, each product has 1 or more categories and you’re going to a page called “product” which has a data type of “product”.
You’re going to do “Open an external website” action & the structure will look like this:
Basically as long as the first path after domain is an actual bubble page & the last path is the product slug you can fill in any paths you want in between.
if bubble could just save us all some time and allow us to set nested paths inside the slug that would be great
You can do this with go to page action. The page to navigate to can not have content type set. Data to send for go to page action is the path list.
I do this in my apps for speed (go to page action), SEO (path list) and multi language site (first item in path list after page name is language then the remainder of path list).
On the page I just have a group with data type as product and data source is search with constraint using get data from URL which looks at the appropriate path list item number. I can use the same search for SEO title, desc and structured data and it only performs the search once as Bubble support has confirmed for me.
Never even considered doing it without a page content type, genius! @boston85719
Do you know if this all translates over to search console and google scraping well? As in do they index it with
/category name/product name/etc as you’d expect?
Bubble uses the page content type & slugs to actually populate site map if I’m not mistaken. Just curious how google sees it.
I create my own sitemap. I store onto the data type a data field the URL for the specific entry (really I have one for each language, but could probably just do as a list field for multiple languages). I then export CSV, then use the CSV to create my sitemap file with Sublime Text.
Yes, I’ve got 100 out of 100 on 3 out of the 4 metrics that are in our control, unfortunately, Performance on my blog articles can’t get above 60, but varies and hovers in the mid 30s b/c of Bubble and my product pages are around 25-40.
Only thing that became tricky was multiple languages and the app primary language versus the users language since when I first set it up Google came to index but got redirected b/c of default language different from language of the URL, so now I just run the language off the URL path list item and ignore the Users language preference…but for single language app it is pretty straight forward.
I was really struggling with Bubbles’ lack of features and in hours worth of back and forth via email with support, an agent told me we can send data as text via the go to page workflow action if the page has no content type…with that little nugget of information I was able to get all the on page SEO despite Bubbles’ lack of features for it.
I have also created manual sitemap. Can you tell me how should i upload on bubble. I am not able generate url which I can add on GSC for that particular file.
Hi Boston, I’m not understanding how you get /en/ in the url. And how you have 3 paths (blog/en/3rd-path-content). From my understanding I cannot put a “/“ in a slug and I cannot even natively have that many paths - only 2 (/page/thing). I’m still reading your replies to me over and over. Thank you.