@extends('admin.layouts.master') @section('title', 'Remove Public') @section('maincontent') @include('admin.layouts.topbar',$data)
{{ $error}}
@endforeach{{ __('To remove the public from the URL create a .htaccess file in the root folder and write following code.') }}
<IfModule mod_rewrite.c> RewriteEngine On RewriteRule ^(.*)$ public/$1 [L] </IfModule>
{{ __('To remove the public from URL and Force HTTPS redirection create a .htaccess file in the root folder and write the following code.') }}
<IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{HTTPS} !=on RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301,NE] RewriteRule ^(.*)$ public/$1 [L] </IfModule>