As mentioned in this thread, following are a couple ways to implement a home (index) page that can display dynamic content without using the URL path or a plugin.
Basically, by using either “#” or “?” and manually parsing the URL, there is no 404 and no redirect…
- https://sudsy.bubbleapps.io/?johndough
- https://sudsy.bubbleapps.io/#janedough
- https://sudsy.bubbleapps.io/?non-existent-user
(Do not confuse the “sudsy” name of the above app with my “sudsy-demo” app, which showcases the Sudsy Page plugin. The above app does NOT use the plugin.)
And here it is in edit mode…
It’s important to understand the behavior and SEO implications of the “page fragment” (hash symbol) technique. Google does NOT consider different fragments as distinct resources, which means the unique content generated based on the fragment will not be indexed as a separate “page”.
That’s also why changing only the URL fragment (such as linking to a different fragment on the same page) won’t even show the new content without explicitly reloading the page. (…although the Sudsy Page plugin gets around this, which is pretty sweet.)
This could, of course, be used on any Bubble page. It’s just not as “clean” as using path params.