In Bubble, the index page is automatically created when you start a new app. While you cannot create a new page and name it "index," you can replace the default index page with another page using the "Make this page the new index" function.
Understanding the Bubble Index Page
The index page serves as the default landing page for your Bubble application – it's what users see when they first visit your app's main URL. Bubble automatically provides this page to get you started.
Here's what you need to know about managing the index page:
- Automatic Creation: The
index
page is generated automatically when you create a new Bubble app. - Unique Name: You cannot create another page and name it
index
. This name is reserved for the main landing page. - Replacement, Not Renaming: You don't rename another page to
index
. Instead, you tell Bubble which existing page should become the newindex
.
How to Replace the Default Index Page
To set a different page as your index page:
- Navigate to the page you want to set as the new index page within your Bubble editor.
- Find the option to designate this page as the index.
- Use the function, typically labelled something like "Make this page the new index".
Based on the reference:
- Using this function reassigns the role of the index page to your chosen page.
- The original
index
page is not deleted; it is automatically renamed toold_index
(or a similar variation, often including a date or number, e.g.,old_index.30-May-2024
).
This process ensures that only one page in your application is designated as the index
page at any given time, maintaining the structure of your app's navigation.