Why surge show page not found if we the file name is not index.html? [closed] - html

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
Suppose you have an HTML file named abc.html. If you deploy this to surge, it will be deployed but page not found error will be displayed. If you rename it to index.html and re deploy, the page is displayed. Why?

I suppose that if you go to youURL.surge.sh/abc.html it will display fine.
Looks like surge servers are complying to the defaults of the web by serving an index.html when one is present.

Related

Want to add french version to the website and trouble in lauching it due to 'index.html' [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed last month.
Improve this question
I want to add a drop-down so that people can see the French version of my website.
When I double-click the ‘index.html’ file, it works fine from the local computer, but I’m having trouble hosting it on GitHub. Here is the link to the repository- https://github.com/Kkhurana007/blog_le07decembre.github.io
Create a dummy index.html file which contain path of original index.html file path. Duplicate file for accessing your home page.
My Index Page

How to determine format of image from page [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
What's the image format on this web page.
How to determine that? I check html code and found nothing.
Thanks for your help
https://lh6.googleusercontent.com/proxy/xZbt3v_VA_d47bCCIGK6XOufya_92N1c0MDOHLmwmczS6OaKG6jfvj9wsxCxDtW8XpBB4mBrSrnPBlJ71FAEHkOLny32TgF3bYpN1ymo3hPK4g=w3840-h2160-p-k-no-nd-mv
in present you can't do that because the static( in which images are stored) path have been secured so that not anyone can access the folders in which all images and static items have been stored

Website Testing [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
Say I have a website called www.website.com, which is online and hosted.
I am currently working on a other website(lets call it wwww.website2.com) and would like to send it to someone so he can have a look at it.
The way how I want to do this, is basically create the following link:
www.website.com/website2 - From which he will be able to view the content of www.website2.com
I am not to sure how I can do that.
Would appreciate your help a lot.
Thanks! :)
You can just add a folder to www.website.com called "website2". Then go to: www.website.com/website2 and (when there is an index.html (or index.php) in that folder, it'll show you that website.

how to create multiple pages in html [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
Can someone please inform me the code to create multiple webpages in HTML? I have the homepage completely finished, however I do not know how I can branch off from there and create webpages. Thanksya!
Create a new page in another file in the same directory, new_page.html. If you want to be able to go to that page from your homepage, add a link in the body like
Link text here

How to find out which file from a theme is being used on a web page? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I have a theme being used on a website, and I need to figure out which html file from the theme is being used on a particular web page of the website?
Is there a way to find that out?
Right click --> View Page Source. Then there's a ton of stuff there but all the HTML code should be there, including the structure of it.