{"text":"<p>Here's some text in html tags in a json element also using \"quotes\"</p>"}Showing 1 lines of 1 total lines in this snippet.
{"text":"<p>Here's some text in html tags in a json element also using \"quotes\"</p>"}Showing 1 lines of 1 total lines in this snippet.
RewriteCond %{HTTPS} off
# First rewrite to HTTPS:
# Don't put www. here. If it is already there it will be included, if not
# the subsequent rule will catch it.
RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
# Now, rewrite any request to the wrong domain to use www.
# [NC] is a case-insensitive match
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteRule .* https://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]Showing 9 lines of 14 total lines in this snippet.
# This hides php from the url
RewriteEngine On
RewriteCond %{REQUEST_FILENAME}.php -f
RewriteCond %{REQUEST_URI} !/$
RewriteRule ^(.*)$ $1\.phpShowing 5 lines of 5 total lines in this snippet.
RedirectMatch 301 ^/.*$ https://www.newdomain.com/
Showing 1 lines of 9 total lines in this snippet.
git remote -v origin https://github.com/USERNAME/REPOSITORY.git (fetch) origin https://github.com/USERNAME/REPOSITORY.git (push)
Showing 3 lines of 11 total lines in this snippet.