skip to Main Content

Multiple languages + Htaccess – SEO

I need for a domain to manage languages (en/it/pt/es) plus remove www. and force https RewriteEngine On # -> www.example.com to example.com RewriteCond %{HTTP_HOST} www.example.com RewriteRule (.*) http://example.com/$1 [L,R=301] # -> http -> https RewriteCond %{SERVER_PORT} 80 RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}…

VIEW QUESTION

HTACCESS for given url – SEO

I'm trying to write REWRITERULE for NEW url. old url : https://www.ex.com/hindu-bbb-10/2 old htaccess: RewriteCond %{HTTP_HOST} ex.com$ [NC] RewriteCond %{REQUEST_URI} (bbb|ggg) RewriteRule ^(.+?)/(.+?)(/?)$ seo/index.php?cat=$2&title=$1 [NC,L] by using above htaccess I could get values from REQUEST like as folllows [cat] =>…

VIEW QUESTION
Back To Top
Search