I recently published my html, css, and js website. It's a guessing game that has a html file for the home screen, and other html files for each game mode. I want to remove the file tag (.html) on the google search bar on my website. I tried fixing this problem using a .htaccess file. However, all tutorials I found just show how to change it when calling a new href from the home html file. As I am using a scroll down to get the desired game mode of the user, I call a new html file from javascript instead. Sorry if this is kind of confusing, but anyone knows what I can try? Thanks!
Secondly, my site is hosted by bluehost. My plan comes with an SSL, and my site shows a lock on my laptop. However, when I search it from my phone, it says it's not secure. Any ideas why?
I'm looking for someone with experience on web development to give me a solution.
CodePudding user response:
With the information you've provided this is maybe caused by the fact that it was made with "raw" html with some CSS file and maybe a JavaScript file to use as a script, therefore, the browser is indeed accessing a html file.
I guess you are going into something like:
You could make a web-app with React or VueJS (I said these two because I am the ones I rather, but it's up to you) and then deploy it. It would remove that issue and it could be a fun exercise (and if it's made with vanilla js you wouldn't have much of a trouble adapting it)
Hope this helps you
CodePudding user response:
I don't understand the problem. Please share the site