Author Topic: Redirecting non-www to www  (Read 4467 times)

admin

  • Administrator
  • Newbie
  • *****
  • Posts: 38
  • Karma: +0/-0
Redirecting non-www to www
« on: October 26, 2014, 08:03:34 PM »
add to your .httaccess file after RewriteEngine On

For all www requests
Add:
Code:
Only registered users can see contents. Please click here to Register or Login.
For all non-www request ( replace my-domain with your domain )
Add:
Code:
Only registered users can see contents. Please click here to Register or Login.
#1 Reason => Stops duplicate content in Google