Results 1 to 5 of 5
  1. #1
    Join Date
    Feb 2006
    Posts
    230
    Plugin Contributions
    0

    cart error What do I need in .htaccess to redirect to my new site?

    Hi, I just moved to a new server (with php 5.3.+ so that I could use zen 1.5.1 and had to do a clean install (with a DB restore & upgrade) from the old server.

    My old site was www.herbschina.com/zen and my new is www.herbschina.com/zen1.5
    what do I need in my .htaccess file to redirect customers to my new setup??

    Thanks.

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

    Default Re: What do I need in .htaccess to redirect to my new site?

    Why do you want to change the URL?

    Why not just make your new site use the same URL as the original site did?
    .

    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.

  3. #3
    Join Date
    Feb 2006
    Posts
    230
    Plugin Contributions
    0

    Default Re: What do I need in .htaccess to redirect to my new site?

    Thanks for the reply.
    Can you guide me as to how to do it? I know to change my catalog file and both configure.php files. But what other files require changing.

    Thanks.

  4. #4
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: What do I need in .htaccess to redirect to my new site?

    Quote Originally Posted by marvin View Post
    Can you guide me as to how to do it? I know to change my catalog file and both configure.php files. But what other files require changing.
    That's it.

    Described further here: http://www.zen-cart.com/content.php?...that-directory
    .

    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.

  5. #5
    Join Date
    Feb 2006
    Posts
    230
    Plugin Contributions
    0

    Default Re: What do I need in .htaccess to redirect to my new site?

    Thanks DrByte you're great.

 

 

Similar Threads

  1. v151 Need to redirect from old site links (including search engine links) too new site
    By swdynamic in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 15 Jun 2015, 04:40 AM
  2. v151 htaccess redirect from old subdirectory site to new subdomain site
    By Millie63 in forum General Questions
    Replies: 5
    Last Post: 29 May 2014, 10:31 PM
  3. I need help with .htaccess redirect!
    By htmt in forum Basic Configuration
    Replies: 0
    Last Post: 26 Apr 2011, 02:53 PM
  4. Need help for .htaccess redirect
    By Mandrex in forum General Questions
    Replies: 5
    Last Post: 30 Apr 2010, 08:54 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