Results 1 to 6 of 6
  1. #1
    Join Date
    May 2005
    Posts
    51
    Plugin Contributions
    0

    Default Redirect default home page?

    I've looked everywhere in the forums but didn't see a solution for what I'm trying to do...

    If I enter a URL with a cPath (category ID) that doesn't exist I go to Zen Cart's "Home" page, the contents of which can be controlled through the admin panel. Instead of this home page, how can I redirect the browser to a static HTML page somewhere else? Is this possible?

  2. #2
    Join Date
    May 2005
    Posts
    51
    Plugin Contributions
    0

    Default Re: Redirect default home page?

    Bump.

    Any ideas?

  3. #3
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Redirect default home page?

    If I enter a URL with a cPath (category ID) that doesn't exist I go to Zen Cart's "Home" page,
    I have not see this???

    Use the admin > tools > developers toolkit > last/bottom left box and search for "http://zen-cart.com" and look through the results for the href ones and the files that they are in. and replace with this to maintain the shop portability:
    Code:
    '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">';

  4. #4
    Join Date
    May 2005
    Posts
    51
    Plugin Contributions
    0

    Default Re: Redirect default home page?

    What I meant was not zen-cart.com but the home page for my zen-cart installation. So if I have the cart installed at http://mydomain.com/store, when they visit http://mydomain.com/store, I want them to go to http://mydomain.com. Any subpages or categories should be fine, but Zen-Cart's default home page should redirect somewhere else.

  5. #5
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Redirect default home page?

    Find this
    Code:
    '<a href=" ' . HTTP_SERVER . DIR_WS_CATALOG . ' ">';
    Change what is between the quotes to your page link

  6. #6
    Join Date
    May 2005
    Posts
    51
    Plugin Contributions
    0

    Default Re: Redirect default home page?

    Did the trick. Thanks a lot!

 

 

Similar Threads

  1. Redirect to home page... how?
    By incircolo in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 10 Oct 2011, 11:15 PM
  2. Home link links to default home page
    By roekoe in forum Addon Language Packs
    Replies: 0
    Last Post: 9 May 2011, 12:44 PM
  3. Auto redirect from home page to zen cart home
    By gizmo_girl in forum Basic Configuration
    Replies: 5
    Last Post: 4 Nov 2008, 03:46 PM
  4. redirect page to be default....
    By zerocrew in forum General Questions
    Replies: 4
    Last Post: 15 Aug 2007, 12:20 AM
  5. How to redirect Home Page
    By gg66 in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 31 Jan 2007, 07:39 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