Skip to content

Instantly share code, notes, and snippets.

@dam1r89
Created November 23, 2016 01:02
Show Gist options
  • Save dam1r89/c070e954b226f6f1d51b354884e90a7c to your computer and use it in GitHub Desktop.
Save dam1r89/c070e954b226f6f1d51b354884e90a7c to your computer and use it in GitHub Desktop.
# Redirecting
# From www to without www
RewriteCond %{HTTP_HOST} ^www\.domain.rs$
RewriteRule (.*) http://domain.rs/$1 [R=301,L]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment