htaccess redirect no extension up to three variable cloudflare free ssl certificate
PHP 0 Commentshtaccess redirect no extension up to three variable cloudflare free ssl certificate mod_rewrite Module PHP .htaccess Tutorial in hindi How To Use SEO url
if you redirect on https so first take ssl certificate free or paid
like that cloudflare provide free ssl certificate
First signup cloudflare = add website = change Nameservers (in godaddy with cloudflare given login godaddy account = go to DNS record = Nameservers change )
if subdoamin so ( login cloudflare = Go DNS = Add record ( Select A = Name Subdoamin (tech) ( like tech.domain.com = just enter tech), ip (166.62.02.113) enter show in bottom side near ttl (type (A), name (domain.com) , content (166.62.02.113), ttl (auto), ) )) )
and than used this code
RewriteEngine On RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301] May be try this RewriteEngine On RewriteCond %{HTTP_HOST} ^domain\.com [NC] RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$ https://www.domain.com/$1 [R,L]
this code used for redirect on www RewriteEngine On RewriteCond %{HTTP_HOST} !^www\. [NC] RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]
Donload file htaccess redirect with pagination