Search
 
SCRIPT & CODE EXAMPLE
 

SQL

htaccess 301 whole domain

RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} !new-example.com$ [NC]
RewriteRule ^(.*)$ http://new-example.com/$1 [L,R=301]
Comment

redirection 301 htaccess nom de domaine

#Redirection vers le nom de domaine principal
<IfModule mod_rewrite.c>
        RewriteEngine On
        RewriteCond %{HTTPS} !=on [NC,OR]
        RewriteCond %{HTTP_HOST} !^www.domain1.com [NC]
        RewriteRule ^(.*) https://www.domain1.com/$1 [R=301,L]
</IfModule>
Comment

PREVIOUS NEXT
Code Example
Sql :: oracle job schedules 
Sql :: mysql not 
Sql :: mysql select field if condition 
Sql :: sql searching via key word 
Sql :: list all functions and procedures in postgres query 
Sql :: grab part of a string sql 
Sql :: convert minutes to hours in sql 
Sql :: SQL Switch Databases 
Sql :: drop unique 
Sql :: how to save postgresql query 
Sql :: equi joins in oracle 
Sql :: oracle sql count occurrences of value in column 
Sql :: trigger in mysql 
Sql :: read sql file in python pandas 
Sql :: set up mssql in mac m1 
Sql :: sqlalchemy filter by relationship 
Sql :: how to find 2nd highest salary in mysql 
Sql :: sql and operator 
Sql :: mysql insert into multiple tables 
Sql :: ruby sqlite 
Sql :: inner join vs outer join 
Sql :: between operator 
Sql :: fanyi 
Sql :: sql to linq converter 
Sql :: oracle database status v$logfile 
Sql :: sqlite dropping multiple tables 
Sql :: how to list all values of a column that start with a letter in sql 
Sql :: PDOException: SQLSTATE[HY093]: Invalid parameter numb 
Sql :: create sql table from script inline primary key constraint 
Sql :: less than date query sqlachemy 
ADD CONTENT
Topic
Content
Source link
Name
4+6 =