Sight
1
Hi there,
I tried to publish a test website by leaving the .html extension in the custom page name and also by deleting it. Both approaches worked alternately:
For example:
Leaving the .html extension:
• test.com/pagename.html worked
• test.com/pagename did not work
Deleting the .html extension:
• test.com/pagename worked
• test.com/pagename.html did not work
Now I am wondering if I could simply delete the .html extension to gain a clean URL, or if there might be some implications?
Thanks!
primo
2
the safest and easier way to get clean urls is to set the page inside a folder, and then rename the page to index.html
lets say you want the url to be test.com/pagename
to achieve this, you’d create the folder pagename
, and the actual page name would be index.html.
Its super easy within Sparkle, just tick the folder box below the page name and then rename it!
2 Likes
Sight
3
Thank you!
So just to be clear every page name that I place in folder would be index.html
foldername/index.html
For example:
index.html
/about-us/index.html
/team/index.html
/work/index.html
and so on?
Thanks
Sight
5
Thank you, I just needed a second confirmation about this. ![:slight_smile: :slight_smile:](https://community.sparkleapp.com/images/emoji/apple/slight_smile.png?v=12)