When Want redirect root domain or subdomain Http to https in Laravel project The reason behind Http to https redirection is the .htaccess manage on the root of your domain or subdomain.
if you hit your domain/public you will be accessible of your project
if you want to directly show the project on the domain you manage .htaccess with the following:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^(.*)$ public/$1 [L]
</IfModule>
Solution:
Change .htaccess code on your root domain/subdomain with the following codes
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
RewriteRule ^(.*)$ public/$1 [L]
</IfModule>
Unlimited Edu Firm is School & College Information Management System. School or College can manage student & staff detail with the different helpful module.
Now You can manage your online class using zoom meeting. Schedule Zoom meeting in Edu Firm and take your regular class from home during COVID-19.
for the schedule of meeting demo:
login with our admin demo panel (username: admin@edufirm.com, password: 123)
Unlimited Edu Firm is School & College Information Management System. We will explain Edu Firm Install on Cpanel Live Server basic steps. Before we start the installation, check Requirement & Permission.
3. Set your app URL like http://demo.unlimitededufirm.com 4. Setup Database Detail Using Method 1 or Method 2
Method 1:
Goto Database\seeds location
Open UsersTableSeeder.php
//Edit these code and set you Name, Email, Password for Super Admin to login project.
DB::table('users')->insert([
'name' => '**Name Here**',
'email' => '**Email Here**',
'password' => bcrypt('**Password**'),
'status' => 1
]);
5. Create .htaccess on the root with the following code to redirect the public folder.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^(.*)$ public/$1 [L]
</IfModule>
6. Please delete if you found any previous cache on bootstrap/cache/config.php. delete config.php from here. 7.Hit your hosted URL & access IMS 8.If you log in the first time use your Super Admin ID and Password. Help: see step no.2 methods 1 or methods 2 for id and password reference.