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

Popular posts from this blog

javascript - oscilloscope of speaker input stops rendering after a few seconds -

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -