osCmax v2.5 User Manual
Results 1 to 6 of 6

Catalog Install Folder & Redirect Question?

This is a discussion on Catalog Install Folder & Redirect Question? within the osCmax v2 Installation issues forums, part of the osCmax v2.0 Forums category; I have installed OscMax in mydomain.com/catalog folder. Is there away to make my store accesible from my root domain without ...

      
  1. #1
    srq
    srq is offline
    Member
    Join Date
    Sep 2009
    Posts
    62
    Rep Power
    3


    Default Catalog Install Folder & Redirect Question?

    I have installed OscMax in mydomain.com/catalog folder.

    Is there away to make my store accesible from my root domain without having to copy/move the catalog folder to my domain root. Maybe using some redirect rule in htaccess. (I do not know much about htaccess redirect)

    Is this something commonly done with OscMax installs?
    Any pitfalls in doing this?
    Any problems with SEO or SSL when using redirects?
    Any suggestions or comments?

    Thanks ...

  2. #2
    osCMax Development Team met00's Avatar
    Join Date
    Oct 2005
    Location
    wherever I happen to be at the moment
    Posts
    854
    Blog Entries
    2
    Rep Power
    26


    Default Re: Catalog Install Folder & Redirect Question?

    all paths in OSCMax are soft-linked via the /includes/configure.php file. Therefore, if you move everything to the root "/" instead of "/catalog" then all you have to do is change the path on the /includes/configure.php to use the root "/" insted of "/catalog/"

    There is no need to mess with .htaccess
    so endith the lesson
    <think>sometimes I just sit's and thinks</think>
    "Here you are with a hand full of holes, a thumb up your ass, and a big grin to pass the time of day with." - TWB

  3. #3
    osCMax Development Team
    ridexbuilder's Avatar
    Join Date
    Jul 2008
    Location
    Haggisland
    Posts
    3,014
    Rep Power
    36


    Lightbulb Re: Catalog Install Folder & Redirect Question?

    The simpler way, IMO:
    Create index.php in /public_html, with
    Code:
    <?php 
    header( 'Location: http://mydomain.com/catalog' ) ; 
    ?>
    that way should you need to install any complimentary package eg. forum, then the systems remain isolated.
    Hosting plans with installation, configuration, contributions, support and maintenance.

  4. #4
    srq
    srq is offline
    Member
    Join Date
    Sep 2009
    Posts
    62
    Rep Power
    3


    Default Re: Catalog Install Folder & Redirect Question?

    Thanks Met00 & Ridex for you responses.

    Ridex - That was the main reason why I wanted to keep the catalog isolated from the root since I will be adding a blog to the site in the future. I think what you are proposing will work the same as redirecting to the catalog folder from the root domain. Is there any SEO issues in this implementation? Is this considered a permanent redirect from the point of view of SEO?

  5. #5
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default Re: Catalog Install Folder & Redirect Question?

    Or using .htaccess works.

    Add this to .htaccess in your document root :

    DirectoryIndex catalog/index.php index.php
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  6. #6
    osCMax Development Team
    ridexbuilder's Avatar
    Join Date
    Jul 2008
    Location
    Haggisland
    Posts
    3,014
    Rep Power
    36


    Post Re: Catalog Install Folder & Redirect Question?

    I guess either method works.

    Certainly I've noticed no odds in SEO performance and tell Google to look in catalog/ for example.
    What I like about my method, is that you can create an index.html.closed which you can rename to index.htm (along with renaming index.php to index.php.open). This way it's simple to produce a 'cover page' if the whole shopping site needs to go down.
    In addition, the index.php can be replaced by index.html, if you wish to create a 'portal' for other parts of your site. In your case an index.html with a site introduction, with links to the 'shop/store' and blog.
    Last edited by ridexbuilder; 12-17-2009 at 02:26 PM.
    Hosting plans with installation, configuration, contributions, support and maintenance.

Similar Threads

  1. .htaccess on /catalog/admin folder?
    By jusluv2ski in forum osCmax v2 Installation issues
    Replies: 4
    Last Post: 10-11-2009, 11:03 AM
  2. How to redirect page from www.store.com/catalog to just .com
    By Anonymous in forum osCmax v1.7 Discussion
    Replies: 4
    Last Post: 02-23-2004, 06:34 AM
  3. Install in ROOT or CATALOG Folder???
    By Masalai in forum osCommerce 2.2 Installation Help
    Replies: 6
    Last Post: 12-29-2003, 04:05 PM
  4. Redirect to default.php question
    By Dr_Evil in forum osCommerce 2.2 Installation Help
    Replies: 3
    Last Post: 06-02-2003, 01:57 PM
  5. Redirect to the right directory after install.
    By zman in forum osCommerce 2.2 Installation Help
    Replies: 1
    Last Post: 11-27-2002, 12:40 PM

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
  •