HardMagic/Pedadida/gh-pages/.htaccess - Htaccess File

HardMagic/Pedadida/gh-pages/.htaccess

# BEGIN WordPress

RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ - [L]

# add a trailing slash to /wp-admin
RewriteRule ^wp-admin$ wp-admin/ [R=301,L]

RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteRule ^(wp-(content|admin|includes).*) $1 [L]
RewriteRule ^(.*.php)$ $1 [L]
RewriteRule . index.php [L]

RewriteCond %{SERVER_PORT} ^9080$
RewriteRule ^(.*)$ http://my.site.com:%{SERVER_PORT}/index.php [NC,L]

# END WordPress

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME, SERVER_PORT

Comments

Apache