matt-h:
Hi
I've successfully installed the module and have one question :)
I temporarily want my default homepage to be index.html rather than my zen cart homepage which is index.php.
I've added 'DirectoryIndex index.html index.php' to my htaccess file but unless I remove all the rewritecond rules it doesn't have any effect.
Is it possible to have both the Directory index rules and the rewritecond rules work?
Thanks
Hi Conor, I'm new to zen cart. Thanks for your module & support. I've briefed all pages, till here @ 100 page searching for solution for my problem. Like, above poster, i think i'm having the same problem where I like my page first as index.html
If i removed/remarked these two lines (as below), ceon uri mapping module is working fine but no longer able to access index.html (being skipped).
If these 2 lines are activated(un-remark) then i'll get page "404 Not Found" when clicking on the product (which has been uri mapped) and my index.html page is accessible as the first page
RewriteCond %{HTTP_HOST} ^mydomain.com$ [NC]
Here is my .htaccess:-
DirectoryIndex index.html index.php index.htm
-FrontPage-
IndexIgnore .htaccess /.?? *~ *# /HEADER /README /_vti
<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthName hadiah4u.com
AuthUserFile /home/public_html/_vti_pvt/service.pwd
AuthGroupFile /home/public_html/_vti_pvt/service.grp
RewriteEngine On
RewriteCond %{HTTP_HOST} ^mydomain.com$ [NC]
Don't rewrite any URIs ending with a file extension (ending with .[xxxx])
RewriteCond %{REQUEST_URI} !.[a-zA-Z]{2,4}$ [OR]
RewriteCond %{REQUEST_URI} .(html)$ [NC]
Don't rewrite admin directory
RewriteCond %{REQUEST_URI} !^/admin.* [NC]
Don't rewrite editors directory
RewriteCond %{REQUEST_URI} !^/editors.* [NC]
Don't rewrite cPanel directories
RewriteCond %{REQUEST_URI} !/cpanel.* [NC]
RewriteCond %{REQUEST_URI} !/frontend.* [NC]
Handle all other URIs using Zen Cart (index.php)
RewriteRule (.*) index.php?%{QUERY_STRING} [L]
====================================
Could you please kindly advise how should I work around this
problem? I still prefer my first page is https://www.mydomain.com/index.html
Thank you.