Search
 
SCRIPT & CODE EXAMPLE
 

PHP

use htaccess to redirect in cpanel laravel

RewriteEngine on
RewriteCond %{HTTP_HOST} ^example.com$ [NC,OR]
RewriteCond %{HTTP_HOST} ^www.example.com$
RewriteCond %{REQUEST_URI} !project/public/
RewriteRule (.*) /project/public/$1 [L]
Comment

use htaccess to redirect in cpanel lsrsvel

DirectoryIndex index.php

RewriteEngine On 
RewriteRule ^$ public/index.php [L]
RewriteRule ^((?!public/).*)$ public/$1 [L,NC]
Comment

PREVIOUS NEXT
Code Example
Php :: replace key name in associative array 
Php :: PDF Library Persian Language UTF-8 Support mPDF Lib 
Php :: accessing class in php 
Php :: cara cek versi php di laptop 
Php :: laravel 9 remove public from url 
Php :: codeigniter get view as string 
Php :: string length php online 
Php :: check session sweet alert 
Php :: listing table in laravel blade 
Php :: auto check a category when creating new post 
Php :: symfony retun json 
Php :: Start composer on DAFP 
Php :: old codestar gallery 
Php :: woocommerce_default_catalog_orderby desc 
Php :: laravel onclick all notification reads 
Php :: find common value from sub arrays 
Php :: same name selection in phpstorm mac 
Php :: get session token in wp_login hook 
Php :: yii form custom label 
Php :: php check if weekends 
Php :: app/Controllers/Home.php 
Php :: php soap wordpress parsing 
Php :: PHP vprintf — Output a formatted string 
Php :: header redirect php 
Php :: Condition 
Php :: php remove value from array if exists 
Php :: faire un fichier zip en php 
Php :: Call to undefined method :last() 
Php :: wc php retrieve the order Id on Order pay page 
Php :: php convert datetime to timestamp 
ADD CONTENT
Topic
Content
Source link
Name
7+7 =