Rach_el Posted December 12, 2008 Share Posted December 12, 2008 How can I make the catalog/index.php my defualt home page.? My default page is currently index.html Any help greatly appreciated :rolleyes: Link to comment Share on other sites More sharing options...
activeweb Posted December 12, 2008 Share Posted December 12, 2008 How can I make the catalog/index.php my defualt home page.?My default page is currently index.html Any help greatly appreciated :rolleyes: What kind of server r u running? IIS or Apache? By the way u can rename index.html to something else (like index2.html) this way u can make index.php default home page Link to comment Share on other sites More sharing options...
Guest Posted December 13, 2008 Share Posted December 13, 2008 There's a couple ways to do it. Like activeweb said, you could simply rename your .html file to something else and then your index.php file will become your default home page. If you want to keep index.html the same file name but want index.php to be your home page do this: 1. Create a new file in your root directory and give it the name .htaccess (if you don't already have that file - if you already have that file, simply open it and do the following). 2. Open your .htaccess file and enter this line of code in it: DirectoryIndex index.php index.html 3. Save This should now make index.php your home page without the need of renaming any files. Link to comment Share on other sites More sharing options...
♥FWR Media Posted December 13, 2008 Share Posted December 13, 2008 I've had a few wines now so I could be wrong but it seems to me this thread is so far missing the point. I understand the poster to be saying (and please correct me if I'm wrong) My site currently loads www.mysite.com/index.html and my shop currently loads as www.mysite.com/catalog/index.php What I want is .. For people going to www.mysite.com to see my shop front. If I am wrong please accept my apologies .. if not .. read on .. Move all of the files in /catalog to your root directory (public_html probably) You then need to alter two configure.php files .. One is in includes the other in admin/includes Find all instances of catalog/ and delete them .. I'll clarify that .. define('DIR_WS_HTTPS_CATALOG', '/catalog/'); would become .. define('DIR_WS_HTTPS_CATALOG', '/'); Hope that helps or at least makes some sense. Ultimate SEO Urls 5 PRO - Multi Language Modern, Powerful SEO Urls KissMT Dynamic SEO Meta & Canonical Header Tags KissER Error Handling and Debugging KissIT Image Thumbnailer Security Pro - Querystring protection against hackers ( a KISS contribution ) If you found my post useful please click the "Like This" button to the right. Please only PM me for paid work. Link to comment Share on other sites More sharing options...
dynamyt100 Posted December 13, 2008 Share Posted December 13, 2008 I've had a few wines now so I could be wrong but it seems to me this thread is so far missing the point. I understand the poster to be saying (and please correct me if I'm wrong) My site currently loads www.mysite.com/index.html and my shop currently loads as www.mysite.com/catalog/index.php What I want is .. For people going to www.mysite.com to see my shop front. If I am wrong please accept my apologies .. if not .. read on .. Move all of the files in /catalog to your root directory (public_html probably) You then need to alter two configure.php files .. One is in includes the other in admin/includes Find all instances of catalog/ and delete them .. I'll clarify that .. define('DIR_WS_HTTPS_CATALOG', '/catalog/'); would become .. define('DIR_WS_HTTPS_CATALOG', '/'); Hope that helps or at least makes some sense. Try this : Make a new file index.php and place this code in it, obviously change your site name and place it directly into the root folder. It will then redirect the user to your catalog page...... <?php header('Location:http://www.hartsphoto.co.za/catalog'); ?> Dave Link to comment Share on other sites More sharing options...
Rach_el Posted December 20, 2008 Author Share Posted December 20, 2008 Many Thanks for your replies. Moving all files out of the Catalog file was enough to fix my small problem. Should of read the install instructions more thoroughly! :rolleyes: Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.