.htaccess with www and without www - Printable Version +- GetSimple Support Forum (http://get-simple.info/forums) +-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3) +--- Forum: Installation & Setup (http://get-simple.info/forums/forumdisplay.php?fid=5) +--- Thread: .htaccess with www and without www (/showthread.php?tid=6173) |
.htaccess with www and without www - xxdex - 2014-04-22 how to change a .htaccess to working with or without a www. i have a page with a begin at start "www".. and i want to force web users.. to go to a page without a www. at begin.. i know that is a 301 forwarding.. but i dont know how to use it with a get simple: this is a original file: PHP Code: RewriteEngine on i'm was try with a: PHP Code: RewriteEngine On RE: .htaccess with www and without www - Everyone - 2014-04-22 I'm no apache expert and I deal with it only if I have to, but as far as I'm aware, this should work: Code: # Usually RewriteBase is just '/', but |