skip to Main Content

Laravel redirecting to /public/public/

In my Laravel project, the .htaccess in the application root redirect to /public. The page loads and I can navigate through the webapp. But https://myproject.com/public/public/mysite is displayed in the URL. When I refresh the page, I get a 404 error…

VIEW QUESTION

.htaccess file conflict with another rule – CPanel

Options -MultiViews RewriteEngine on Header set Strict-Transport-Security "max-age=31536000" env=HTTPS Redirect /index https://example.com/ RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)/$ /$1 [L,R] # <- for test, for prod use [L,R=301] RewriteCond %{HTTP_HOST} ^www.(.*)$ [NC] RewriteRule ^(.*)$ https://%1/$1 [R=301,L] RewriteCond %{HTTP_HOST} https://example.com/$ [NC] RewriteRule…

VIEW QUESTION

htaccess load parked domain name in subfolder – WordPress

I have a parked domain that I want to load from a sub-folder. In my root public_html folder I have the following in my .htaccess: RewriteEngine on RewriteCond %{HTTP:Host} ^(?:www.)?parkeddomain.com(?:|/)$ RewriteCond %{REQUEST_URI} !^/_domains/myparkeddomain_com(?:|/)$ RewriteRule ^(.*)$ /_domains/myparkeddomain_com/$1 [NC,L,NS,QSA] The problem is…

VIEW QUESTION
Back To Top
Search