How do I

Username (e.g. epiz_XXX) or Website URL


How do I force https://, www. and remove .html all at the same time ive researched it but i cant find one to do it all and if i add the researched solutions together i get issues

Try using this htaccess code (overwriting the existing htaccess file you have in the htdocs folder) and see if it works:

RewriteEngine On
RewriteCond %{HTTP:X-Forwarded-Proto} http [NC]
RewriteRule ^(.*)$$1 [L,R=301,NC]

RewriteCond %{THE_REQUEST} /([^.]+)\.html [NC]
RewriteRule ^ /%1 [NC,L,R]

RewriteCond %{REQUEST_FILENAME}.html -f
RewriteRule ^ %{REQUEST_URI}.html [NC,L]
1 Like :confused:

ok fixed it now ty

hmm it worked once now it doesnt

edit: it works on but not https://obscure.downloads

Just use Options +MultiViews +FollowSymLinks on this hosting. It disables all file extentions.

1 Like

ok thanks i think thats it working now ty guys for all the help

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.