Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default php script to redirect to different folder

    Hello.
    I want to install zen cart in a folder under my web root .. but insted fo typing www.domain.com/zenfolder .. to access store .. i want user redirected to store by just typing www.domain.com..
    is there any way to do that withought adjusting anything on server ??

    thanks

  2. #2
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: php script to redirect to different folder

    The most effective way to change that is to move the files:
    http://www.zen-cart.com/wiki/index.p...Change_Folders

    Alternatively, you could work with your host to write a suitable .htaccess redirect script for you. There are some examples of this floating around the forum if you feel this is the route for you.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. Different redirect pages for different products
    By TerenceWatts in forum Setting Up Categories, Products, Attributes
    Replies: 6
    Last Post: 18 Feb 2013, 08:21 PM
  2. v136 Redirect script to My shop
    By IDW in forum General Questions
    Replies: 7
    Last Post: 24 Feb 2012, 06:14 PM
  3. Folder redirect - installed into wrong folder
    By tenthmuse in forum General Questions
    Replies: 2
    Last Post: 31 May 2011, 11:48 PM
  4. Premature end of script headers: php-script
    By doubletiger in forum General Questions
    Replies: 8
    Last Post: 2 Jul 2006, 09:53 PM

Posting Permissions

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