: How to set up URL masking on gh-pages and GoDaddy I have a domain that currently redirects www.example.com to example.com. It is hosted on gh-pages. However, there is a resource link I access
I have a domain that currently redirects example.com to example.com.
It is hosted on gh-pages.
However, there is a resource link I access from index.html called privacy.html via <a href=privacy.html>Privacy Policy<a>.
When the user clicks that link, he/she gets redirected to example.com/privacy.html rather than example.com/privacy.
How do I set this up so it doesn't have any .html at the end?
More posts by @Hamm4606531
1 Comments
Sorted by latest first Latest Oldest Best
If you host your site on github pages and you want to access your file name without extension, then make sure your index.html page is hosted on parent directory/folder.
For example. for privacy page, host your index.html like this
/privacy/index.html
This page can accessible in browser with - /privacy/ also with /privacy/index.html
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.