Created
August 5, 2017 00:26
-
-
Save musoftware/e1f23064980f183a78b89cd96c5e2ebe to your computer and use it in GitHub Desktop.
.htaccess for wordpress
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# change the <USR> with your cpanel username | |
# BEGIN WordPress | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteBase / | |
RewriteRule ^index\.php$ - [L] | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteRule . /index.php [L] | |
</IfModule> | |
# END WordPress | |
suPHP_ConfigPath /home/<USR>/public_html | |
<Files 403.shtml> | |
order allow,deny | |
allow from all | |
</Files> | |
change the with your cpanel username
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ok