If the site is working then the folder path in the configuration files is correct for *that* installation.
Not particularly hard to do if a close eye isn't kept on the source/destination folders when using FTP.
Shouldn't be difficult.
Step#1. Make a backup of the entire site (everything in the 'first' public_html folder and below)
Step#2. Delete *everything* in the /public_html/shop/ folder.
Step#3. Copy (or move) everything in the /public_html/public_html/newsite/shop/ folder to the (now empty) /public_html/shop/ folder.
Step#4. Edit the two configure.php files by removing all references to /public_html/newsite/shop/ and replacing them with /shop/
Step#5. Check that the store is functioning correctly.
Step#5b If the site version is V1.5.1 or older install and run the fix Cache Key mod
http://www.zen-cart.com/downloads.php?do=file&id=8
Step#6. Delete the 'public_html' folder that resides in the 1st 'public_html' folder (IOW, get rid of the 'nesting').
Step#7. Check that all is still OK with the site.
Step#8. Celebrate your success with an ice cold beer (or whatever turns you on). :)
Step#9. Make another backup of the public_html folder and all it contains (as this will help avoid any future confusion should you ever need to perform a restore).
Cheers
RodG
Bookmarks