Jump to content

What does all this mean?


johnsmith153

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.