Results 1 to 4 of 4
  1. #1
    Join Date
    Dec 2014
    Posts
    5
    Plugin Contributions
    0

    Default Changed my store folder and now my site redirects to the old one!

    I changed my folder from /zencart to "/". I edited the configuration files specified in the directions given in most places. Everything works, but when I go to http://mydomain.com (with no www) it redirects to http://www.mydomain.com/zencart. I have no redirects specified in my Cpanel, and I have not edited anything. I searched all my website files and cannot find ANYTHING to explain why my website redirects.

    Any help is much appreciated.

  2. #2
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Changed my store folder and now my site redirects to the old one!

    As far as Zen Cart is concerned, the store URL is generated ONLY from the contents of /includes/configure.php
    So, maybe you tried to edit the file but its changes didn't save because the file was read-only on your server for security reasons?

    Or maybe you've created a .htaccess file in the root of your site (ie: at /public_html/.htaccess ) and in there you've created some redirects you'd forgotten about?
    .

    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
    Dec 2014
    Posts
    5
    Plugin Contributions
    0

    Default Re: Changed my store folder and now my site redirects to the old one!

    The .htaccess file in my public_html folder is completely empty. I verified the file was changed on the server.

    Quote Originally Posted by DrByte View Post
    As far as Zen Cart is concerned, the store URL is generated ONLY from the contents of /includes/configure.php
    So, maybe you tried to edit the file but its changes didn't save because the file was read-only on your server for security reasons?

    Or maybe you've created a .htaccess file in the root of your site (ie: at /public_html/.htaccess ) and in there you've created some redirects you'd forgotten about?

  4. #4
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: Changed my store folder and now my site redirects to the old one!

    Quote Originally Posted by rrdein View Post
    The .htaccess file in my public_html folder is completely empty. I verified the file was changed on the server.
    Please post the contents of your /includes/configure.php file. Obfuscate the Database account/login details before posting.

    Cheers
    RodG

 

 

Similar Threads

  1. Changed site root folder and now have bad htaccess problem(s)
    By bodkin77 in forum General Questions
    Replies: 8
    Last Post: 30 Apr 2013, 10:57 AM
  2. Changed to a new site---How do I look at old orders now?
    By mjlampe in forum General Questions
    Replies: 2
    Last Post: 11 Oct 2012, 05:27 AM
  3. Use 301 redirects to forward old site to new
    By Feznizzle in forum General Questions
    Replies: 4
    Last Post: 14 Oct 2011, 12:58 AM
  4. Pointed domain name to store folder and now my links dont work...help!
    By jnb41578 in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 8 Jul 2011, 02:51 AM
  5. changed languages folder, now admin is busted
    By ferret4 in forum General Questions
    Replies: 9
    Last Post: 23 Apr 2009, 12:57 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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR