Website mapping error

In my website a want to display an entire section in a folder and want the url as gameoftrades.000webhostapp.com/play/

For this I have created an ‘index.html’ file inside ‘thisfolder’
Yet i get a 403 forbidden error

In my .htaccess i have just used the rewrite engine to remove .html at the end of urls
And http to https redirect
Can this be a problem?Screenshot_20191007-194228_Chrome

I’m not sure if you share the URL(s) I can check.

Removing

RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^\.]+)$ $1.html [NC,L]

Then your site loads.

Can you please explain how this helps
Also then my urls would have .html at the end. Any solution?

I’m not sure what you mean?

Try and load your site and let me know if there is an issue with the extensions showing?

This topic was automatically closed after 24 hours. New replies are no longer allowed.