Results 1 to 6 of 6

how to move index.php

This is a discussion on how to move index.php within the osCmax v1.7 Discussion forums, part of the osCmax v1.7 Forums category; Hi Guys, Nearly ready to let my site loose after a lot of trial and error but would like to ...

      
  1. #1
    New Member
    Join Date
    Nov 2003
    Posts
    5
    Rep Power
    0


    Default how to move index.php

    Hi Guys,

    Nearly ready to let my site loose after a lot of trial and error but would like to move the catalog/index.php out of the catalog folder and into the root so it will become the default page. How should I go about it? Great product btw, keep up the excellent work.

    Simon

  2. #2
    Anonymous
    Guest


    Default

    just copy all files in the catalog dir to the root dir

  3. #3
    New Member kodersoftware's Avatar
    Join Date
    Oct 2003
    Posts
    17
    Rep Power
    0


    Default

    or use a meta tag refresh/redirect on index.html, transferring the visitor instantly to /catalog/. only drawback there is search engines trying to index, but at least you'd still have your standard installation in the default folder.

  4. #4
    New Member
    Join Date
    Sep 2003
    Posts
    5
    Rep Power
    0


    Default

    The simple way to do this is to make an entry in your .htaccess file to assign the catalog directory to be the default place the webserver looks for a starting page.

    In your .htaccess file, add:
    DirectoryIndex index.html index.htm /catalog/index.php

    It will look for files in the order listed above. If it doesn't find it, then it moves to the next.

    Dan

  5. #5
    Anonymous
    Guest


    Default

    Quote Originally Posted by Redbeard
    The simple way to do this is to make an entry in your .htaccess file to assign the catalog directory to be the default place the webserver looks for a starting page.

    In your .htaccess file, add:
    DirectoryIndex index.html index.htm /catalog/index.php

    It will look for files in the order listed above. If it doesn't find it, then it moves to the next.

    Dan
    Hello,
    I tried this, and when I tried to login to the admin panel it was as if it did not exist. Can you please assist. I am trying to make my catalog my default page so no one has to type mydomain.com/catalog

  6. #6
    Anonymous
    Guest


    Default

    Quote Originally Posted by Redbeard
    The simple way to do this is to make an entry in your .htaccess file to assign the catalog directory to be the default place the webserver looks for a starting page.

    In your .htaccess file, add:
    DirectoryIndex index.html index.htm /catalog/index.php

    It will look for files in the order listed above. If it doesn't find it, then it moves to the next.

    Dan
    Hello,
    I tried this, and when I tried to login to the admin panel it was as if it did not exist. Can you please assist. I am trying to make my catalog my default page so no one has to type mydomain.com/catalog

Similar Threads

  1. Move Left Column Down
    By torweb in forum osCmax v2 Customization/Mods
    Replies: 1
    Last Post: 05-01-2006, 04:15 PM
  2. How would I move the 'add to cart' toolbar above?
    By groggory in forum osCmax v2 Customization/Mods
    Replies: 1
    Last Post: 01-26-2006, 07:41 PM
  3. Move to TOP category doesn't work
    By Robrob in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 02-07-2004, 01:30 PM
  4. How Do I Move Delete and Move Boxes Around?
    By OyedeleG in forum osCommerce 2.2 Modification Help
    Replies: 2
    Last Post: 03-18-2003, 01:37 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •