Black Friday Sale! Save up to 50% off!

Unable to rename home.html to index

Oblica Studio
4 Posts
Oblica Studio posted this 04 January 2023
Ask a Question

Hi,

I have used a template to create a new site. This template had Home.html as the landing page. But when I exported the site to HTML, it created index.html as well. When I tried to rename the Home to index in the Nicepage application, it says reserved name has been used. I have another website which I have created some 6 months back using the blank template and there I had index.html. Has something changed since then, How I can keep only one page and that is index.html.

All my internal website links point to Home.html at design time, so I have to host both pages (home.html and index.html) on my server which I don't want.

Hi, I have used a template to create a new site. This template had Home.html as the landing page. But when I exported the site to HTML, it created index.html as well. When I tried to rename the Home to index in the Nicepage application, it says reserved name has been used. I have another website which I have created some 6 months back using the blank template and there I had index.html. Has something changed since then, How I can keep only one page and that is index.html. All my internal website links point to Home.html at design time, so I have to host both pages (home.html and index.html) on my server which I don't want.
Vote to pay developers attention to this features or issue.
7 Replies
Order By: Standard | Newest
GMC74
44 Posts
GMC74 posted this 05 January 2023

It's no possible. The choice to have two files, home and index, was made in the nicepage design phase. So it is not possible to change the name!

It's no possible. The choice to have two files, home and index, was made in the nicepage design phase. So it is not possible to change the name!
Oblica Studio
4 Posts
Oblica Studio posted this 05 January 2023

Sorry, but by design phase you mean, when I created a new site or when Nicepage development team designed the application?
As I mentioned I have another old site which has index.html. Also I tried to create a new blank site and tried to create an empty page, but Nicepage still didn't allow me to name it index.html.

Sorry, but by design phase you mean, when I created a new site or when Nicepage development team designed the application? As I mentioned I have another old site which has index.html. Also I tried to create a new blank site and tried to create an empty page, but Nicepage still didn't allow me to name it index.html.
Support Team
Support Team posted this 06 January 2023

Hello,

Nicepage generates an index.html file automatically. Therefore it is impossible to create a page with the same name. This will cause conflicts during website exporting,
Please let us know if you have any further questions.

...................................................
Sincerely,
Olivia
Nicepage Support Team

Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp

Hello, Nicepage generates an index.html file automatically. Therefore it is impossible to create a page with the same name. This will cause conflicts during website exporting, Please let us know if you have any further questions. ................................................... Sincerely, Olivia Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
Oblica Studio
4 Posts
Oblica Studio posted this 07 January 2023

Thanks, But as I said I had an older site which has index.html. It was created some 6 months back. So how I was able to create index.html then? Was that changed afterwards?

Thanks, But as I said I had an older site which has index.html. It was created some 6 months back. So how I was able to create index.html then? Was that changed afterwards?
MerlinAZ
2774 Posts
MerlinAZ posted this 07 January 2023

The index.html is created when the site is exported. That’s why there’s a home.html + index.html. For some reason the devs think that both files are needed. This has been argued multiple times.

The index.html is created when the site is exported. That’s why there’s a home.html + index.html. For some reason the devs think that both files are needed. This has been argued multiple times.
Oblica Studio
4 Posts
Oblica Studio posted this 07 January 2023

Thanks, that is ridiculous. We need only one landing page. Firebase, where I am hosting my site is happy to have only index.html. But subsequent request (e.g. Menu) refer to home.html, as it was set at the design time. So we are bound to live with redundant pages. Why Nicepage can't simply give us an option for it. Really disappointed.

Thanks, that is ridiculous. We need only one landing page. Firebase, where I am hosting my site is happy to have only index.html. But subsequent request (e.g. Menu) refer to home.html, as it was set at the design time. So we are bound to live with redundant pages. Why Nicepage can't simply give us an option for it. Really disappointed.
DanielTing
24 Posts
DanielTing posted this 12 June 2024

"To avoid indexing and ranking issues in search engines due to duplicate content, it is recommended to use the canonical tag. This tag is an effective tool that allows indicating to search engines which version of the content is preferred.

The solution is quite simple and involves configuring the canonical tag on the home.html page. In the SEO section of the page, you will find the 'Canonical' option. Simply fill in the address field with the URL of your index.html, replacing 'yourdomain' with your actual domain name. For example, if your domain is 'example.com', you would enter 'https://example.com/index.html'.

By completing this action, you are indicating to search engines, especially Google, which page is preferred for indexing and displaying in search results, avoiding potential penalties for duplicate content. Important: Do not use single or double quotes when entering the address in the corresponding field."

"To avoid indexing and ranking issues in search engines due to duplicate content, it is recommended to use the canonical tag. This tag is an effective tool that allows indicating to search engines which version of the content is preferred. The solution is quite simple and involves configuring the canonical tag on the home.html page. In the SEO section of the page, you will find the 'Canonical' option. Simply fill in the address field with the URL of your index.html, replacing 'yourdomain' with your actual domain name. For example, if your domain is 'example.com', you would enter 'https://example.com/index.html'. By completing this action, you are indicating to search engines, especially Google, which page is preferred for indexing and displaying in search results, avoiding potential penalties for duplicate content. Important: Do not use single or double quotes when entering the address in the corresponding field."

Last edited 12 June 2024 by DanielTing

You must log in or register to leave comments