Redirect http to https

I have a model and I always to use, I dont know if is necessary

It is creating the problem:
https://mydomain.com/123
will always become
https://mydomain.com/var/www/mydomain.com/public/123
[which will likely return 404 error always]

Can I delete that line?

Delete both lines:

RewriteEngine On
RewriteBase /var/www/mydomain.com/public
1 Like

Hi @freelancer0282

not really. If you have a model, you have to know what that model is doing.

If not, it's not a model, it's always wrong.

Please learn and understand what your "model" is doing.

1 Like

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