
Originally Posted by
conor
Hi,
By default if your site uses
define('DIR_WS_CATALOG', '/');
in your configure.php file then your homepage should just be /
If that isn't happening for you then you should check your htaccess file and your configure.php settings. You should also check if you have any hard-coded index.php?main_page=index links on your site.
I'm afraid that's as much help as I can be as anything else is probably a problem with your server/site setup which would need someone to take a look at manually. Good luck with this.
All the best...
Conor
ceon
Configure.php is set to use / here is a copy of my htaccess file... I don't think anything is missing. If you have a min to give it a quick glance that would be great
Code:
RewriteEngine on
# redirects any URL that includes: record_company.php/password_forgotten.php
RedirectMatch Permanent ^/(.*[record_company.php]+)/(password_forgotten.php)$ /page_not_found.php
# redirects any URL that includes: /images/wp- with 'wp-' being anything that ends with '.php'
# this allows for images named such as 'wp-header.jpg' to work
RedirectMatch Permanent ^/(.*[images]+)/(wp-.*\.php)$ /page_not_found.php
# Don't rewrite any URIs ending with a file extension (ending with .[xxxx])
RewriteCond %{REQUEST_URI} !\.[a-zA-Z]{2,4}$
# 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]
# Don't rewrite blog directory
RewriteCond %{REQUEST_URI} !^/blog.* [NC]
RewriteCond %{REQUEST_URI} ^blog.* [NC]
# Handle all other URIs using Zen Cart (index.php)
RewriteRule (.*) index.php?%{QUERY_STRING} [L]
Bookmarks