codeSnippets(All);

Hide .php from URL in .htaccess

# This hides php from the url
RewriteEngine On
RewriteCond %{REQUEST_FILENAME}.php -f
RewriteCond %{REQUEST_URI} !/$
RewriteRule ^(.*)$ $1\.php

Showing 5 lines of 5 total lines in this snippet.

GitHub change/set remote URL

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.