Thread: Redirects

Results 1 to 9 of 9

Hybrid View

  1. #1
    Join Date
    Feb 2012
    Location
    mostly harmless
    Posts
    1,809
    Plugin Contributions
    8

    Default Re: Redirects

    I curious... What led to the decision to scrap the old data (database - sounds like 1.5.0) completely (instead of just performing a rebuild on the new version)?


    Usually one can just export the old database... Then perform a clean install w/ demo data (clean set of files in a new folder + new database + same db_prefix and db_charset)... Once the install is complete (and verified functioning), One can drop the new database (and replace with a clone of the old database)... Then one can run the database upgrade from zc_install... This process preserves all of the data (and the IDs) in the database and most likely would have avoided any need for attempting to redirect URLs...

    But now that you are where you are... You can stick with the new URLs (and go live)...

    Or if you have not yet gone live with the new store and have good notes on all of the settings you have changed / configured... It may be worth going back to the database clone + upgrade db step... Then re-applying your changes (and re-installing any plugins)... This would be the "best bet" for retaining all of the URLs (and historical order and customer data)... If going this route, be sure to do a full backup (database and files) first (so you don't lose all your work).
    The glass is not half full. The glass is not half empty. The glass is simply too big!
    Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
    Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker

  2. #2
    Join Date
    Apr 2009
    Posts
    188
    Plugin Contributions
    0

    Default Re: Redirects

    Quote Originally Posted by lhungil View Post
    I curious... What led to the decision to scrap the old data (database - sounds like 1.5.0) completely (instead of just performing a rebuild on the new version)?


    Usually one can just export the old database... Then perform a clean install w/ demo data (clean set of files in a new folder + new database + same db_prefix and db_charset)... Once the install is complete (and verified functioning), One can drop the new database (and replace with a clone of the old database)... Then one can run the database upgrade from zc_install... This process preserves all of the data (and the IDs) in the database and most likely would have avoided any need for attempting to redirect URLs...

    But now that you are where you are... You can stick with the new URLs (and go live)...

    Or if you have not yet gone live with the new store and have good notes on all of the settings you have changed / configured... It may be worth going back to the database clone + upgrade db step... Then re-applying your changes (and re-installing any plugins)... This would be the "best bet" for retaining all of the URLs (and historical order and customer data)... If going this route, be sure to do a full backup (database and files) first (so you don't lose all your work).
    I had no clue how to manipulate the old DB and reinstall it. I thought about looking into it but was concerned, based on my lack of ability to recover the site completely after a crash, that the DB was corrupted also. So, rather than take a chance on importing a defective/flawed DB, I elected to just start over with everything being fresh. I naively thought that I would be able to find some way to do a global redirect for those pages out there on the search engines. Part of my problem with all this is my lack of knowledge of how the DB interfaces with the cart itself.....you don't know what you don't know and in some cases you don't even know that you should ask a particular question early on to eliminate dead end efforts.....if that makes sense.

    I must admit that I learned a lot more during this installation than I had in the past where I allowed my ISP to do the initial install. This time, since my ISP was still back at v1.5.1 I elected to install v1.5.4 myself..... So next time I won't be so afraid to try and will probably be ready to attempt a DB import.
    Last edited by Music Man; 7 Apr 2015 at 04:45 PM.

 

 

Similar Threads

  1. v154 Failing redirects
    By Limey in forum General Questions
    Replies: 6
    Last Post: 14 Oct 2015, 03:13 PM
  2. v153 404 redirects
    By Andy-C27 in forum General Questions
    Replies: 10
    Last Post: 23 Sep 2014, 07:50 AM
  3. 302 redirects
    By dwessell in forum General Questions
    Replies: 1
    Last Post: 1 Jul 2011, 08:15 PM
  4. Page redirects
    By celticwebsolutions in forum General Questions
    Replies: 11
    Last Post: 24 May 2010, 09:31 AM

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