the code is run and it shows ‘NOT FOUND’. So what to do!!!
Hey, @VihanPatill18 welcome to the forums!
You need a file named index.html
that’s not in any folders but in the root directory.
1 Like
to quickly move all files to the root folder, run in shell:
mv Replit/{.,}* .
rm -r Replit
1 Like
Didn’t know that was possible. You could always just jave the index.html
thats in the root be a redirect
1 Like
mister here is a pro hacker
1 Like
Here is an example of a website that redirects to the folders index:
(Code, run to see) https://replit.com/@EarthRulerr/Redirect-example#index.html