Here is my website url of pub folder https://www.marketplace.jawadditaksal.org/pub/
when I installed Magento in the server by default Magento adds two .htaccess files: one in the domain directory and one in /pub, which I have renamed to ".htaccess_no" because at that time website css was not working so in the pub folder I renamed the htacess file from "htacess" to "htacess_no" and website was working and which is now working also.
But the problem is when user open the url https://www.marketplace.jawadditaksal.org/pub/ its shows the website in a wrong way, what is the solution of the pub folder index file, how normally Magento websites handle pub folder. should I add empty index file in the pub folder?
.htacessat present its name ishtacess_nobut problem is when someone manually open the website pub folder websitename/pub then on that case it shows the pub folder index file which looks bad – winnersingh Mar 27 '19 at 13:28htacesstohtacess_nobecause if i did not change the name of thehtacessin the pub folder then the main website is not working – winnersingh Mar 27 '19 at 13:36/pubits seems like some thing opens but css not working, so that is why I redirect that to main website. – winnersingh Mar 29 '19 at 13:44