how create a intro
Posted: Fri Jan 07, 2011 9:36 pm
please somebody help me.
I want create intro before index.php in my website.
I want create intro before index.php in my website.
OpenCart Community Forum - Discuss shopping cart and e-commerce solutions.
https://forum.opencart.com/
Code: Select all
DirectoryIndex index.html, index.php
can you show me, your sample .htaccess??johnnet wrote:from what i've learned, i modify .htacess header with these code.index.html/htm/ anything that your server supports. hope it helpsCode: Select all
DirectoryIndex index.html, index.php
Code: Select all
DirectoryIndex index.html /admin/index.php
# Prevent Directoy listing
Options -Indexes
# Prevent Direct Access to files
<FilesMatch "\.(tpl|ini)">
Order deny,allow
Deny from all
</FilesMatch>
# SEO URL Settings
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)\?*$ index.php?_route_=$1 [L,QSA]
thanks, i will try..johnnet wrote:Code: Select all
DirectoryIndex index.html /admin/index.php # Prevent Directoy listing Options -Indexes # Prevent Direct Access to files <FilesMatch "\.(tpl|ini)"> Order deny,allow Deny from all </FilesMatch> # SEO URL Settings RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)\?*$ index.php?_route_=$1 [L,QSA]