apache - Wordpress .htaccess doesn't remove www from website's URL -
looking @ code, should working (its working other websites/subdomains i'm working on)
# begin wordpress <ifmodule mod_rewrite.c> rewriteengine on rewritebase / rewriterule ^index\.php$ - [l] rewritecond %{request_filename} !-f rewritecond %{request_filename} !-d rewriterule . /index.php [l] rewritecond %{http_host} ^www\.(.*)$ [nc] rewriterule ^(.*)$ http://%1/ [r] </ifmodule> # end wordpress
edit: website on redirect loop now.
fixed going wordpress settings > general > website url , adding "www." domain :)
Comments
Post a Comment