Jump to content

yyCC

Members
  • Posts

    6
  • Joined

  • Last visited

Community Answers

  1. yyCC's post in Redirect 'www' pages to 'non www' pages .htaccess was marked as the answer   
    If there is just one subdomain or a limited amount you can do it one by one with:
     
    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^www.subdomain.domain.com$ [NC] RewriteRule ^(.*)$ http://subdomain.domain.com/$1 [R=301]   Otherwise it gets more complicated with the rewrite rules and I won't get into that.
×
×
  • Create New...