Severity: Warning
Message: preg_match(): Compilation failed: unmatched closing parenthesis at offset 38
Filename: hooks/Check_user.php
Line Number: 222
Backtrace:
File: /home/u377916119/domains/myprojecthd.in/public_html/application/hooks/Check_user.php
Line: 222
Function: preg_match
File: /home/u377916119/domains/myprojecthd.in/public_html/application/hooks/Check_user.php
Line: 89
Function: getOS
File: /home/u377916119/domains/myprojecthd.in/public_html/application/hooks/Check_user.php
Line: 12
Function: anylisis
File: /home/u377916119/domains/myprojecthd.in/public_html/index.php
Line: 315
Function: require_once
in this tutorial we will discuss about how to remove public on laravel url . you use following step and remove public on your project url
.htaccess
-------------------------------------------------------------------------------------
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)/$ /$1 [L,R=301]
RewriteCond %{REQUEST_URI} !(\.css|\.js|\.png|\.jpg|\.gif|robots\.txt)$ [NC]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_URI} !^/public/
RewriteRule ^(css|js|images)/(.*)$ public/$1/$2 [L,NC]
-------------------------------------------------------------------------------------
After this step . public keyword removed on your project url