skip to Main Content

Stop WWW for sub-domain with htaccess – Apache

my subdomain.example.com redirecting to www.subdomain.example.com. Htaccess code : # ensure www. RewriteCond %{HTTP_HOST} !^www. [NC] RewriteRule ^ https://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301] # ensure https RewriteCond %{HTTP:X-Forwarded-Proto} !https RewriteCond %{HTTPS} off RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] ### END WWW & HTTPS I am looking…

VIEW QUESTION

RedirectMatch 301 remove query string / URL Parameters – Apache

i need a Solution for the google search console error links and RedirectMatch 301 remove query string / URL Parameters in my htaccess: Google Search Console Links: https://www.domain.de/?main_page=index&zenid=umf5etlrmr4blnuiq0e4jsp6l2&cPath=15_326&sort=20a&alpha_filter_id=68 https://www.domain.de/index.php?main_page=product_reviews_write&products_id=9985&cPath=5_380&number_of_uploads=0 https://www.domain.de/?main_page=index&cPath=46_47&sort=20a&alpha_filter_id=70 https://www.domain.de/?currency=USD&main_page=products_new&disp_order=7&page=141 https://www.domain.de/?main_page=index&zenid=mj6nsb9r53goiu6e13nb80tfq7&cPath=1_160&sort=20a&alpha_filter_id=70 https://www.domain.de/?currency=USD&main_page=index&cPath=3_137 https://www.domain.de/?main_page=index&cPath=46_76&sort=20a&alpha_filter_id=84 https://www.domain.de/?main_page=index&cPath=5_6&sort=20a&alpha_filter_id=85 https://www.domain.de/index.php?main_page=index And many more. I…

VIEW QUESTION
Back To Top
Search