johnsmith153 Posted December 16, 2010 Share Posted December 16, 2010 What does all this do? If I entered domain.com in the address bar, then where is the entry page? I don't think it's public/index.php #php_flag display_errors 0 Options -Indexes Options +FollowSymLinks # If a https page request is not part of the store, rewrite it to the http location <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{SERVER_PORT} 443 RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^index.php - RewriteCond %{SERVER_PORT} 443 RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^admin.php - RewriteCond %{SERVER_PORT} 443 RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ http://www.domain.com/$1 [L] #RewriteCond %{SERVER_PORT} 443 #RewriteRule ^$ http://www.domain.com/ [L] </IfModule> # 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 Link to comment https://forums.phpfreaks.com/topic/221892-what-does-all-this-mean/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.