Moving the home page to the root. |
Post Reply |
Author | |
kittens
Newbie Joined: 31-December-2006 Status: Offline Points: 0 |
Post Options
Thanks(0)
Posted: 31-December-2006 at 5:11pm |
Putting the Home page as well as header and footer in the root from the directions:
My question is do I really open this file and save as? Or do I move the file over which prompts the question to update the hyperlinks? Di I open and "save as" so I can have duplicate files of header.asp, footer.asp, and home.asp in both the root and the /productcart/pc/ folder?
|
|
kittens
Newbie Joined: 31-December-2006 Status: Offline Points: 0 |
Post Options
Thanks(0)
|
Bump? Page 439-440 in the user guide. SEO for Product Cart. ProductCart v3: Moving the home page to the root directory This document contains information about how to move the page "home.asp" to the root directory of your Web site so that your Web site home page can be your ProductCart v3 home page. Assumptions: The "productcart" directory has not been renamed. If you have renamed it, no problem. Just adjust the links below accordingly.The "productcart" directory is in the root. That is, the file "home.asp" is two levels down from the root and will be moved two levels up. If this is not the case, change some of the links mentioned below so that they are consistent with your directory structure. An example: You can see an example of the home page moved up 2 levels and renamed "index.asp" here: Original location: Hhttp://www.earlyimpact.com/demos/apparel/pc/home.aspH New location: Hhttp://www.earlyimpact.com/demos/index.aspH Limitations: you will not be able to use the AJAX-based product preview feature in the new home page. You can still have AJAX active in the rest of the store. More details on this below. The following is a list of tasks to be performed. Please make sure you follow these instructions carefully. Place also note that Early Impact does not provide technical support on implementing these code changes. Move "header.asp" and "footer.asp" Open "footer.asp " with your HTML editor and save it to the root directory (again, here we are assuming that the root is 2 levels up). The HTML editor will likely recalculate all links automatically for you (e.g. in Dreamweaver, answer yes to the "Update Links?" question). Do the same with "header.asp". If you have any images referenced in JavaScript code, the HTML editor will typically not edit those links. Make sure you manually review the code to see if there are any file locations that need to be updated. Move and edit "home.asp" Open "home.asp" and perform the same task. Here too, all the links will be automatically updated, but since you need to use a header and footer that are in the same directory, you will have to change those include statements back to pointing to header.asp and footer.asp in the same directory (now the root directory). That is: after the links have been recalculated, do a search for "header.asp" in the file and remove the path that has been added to the file location (e.g. change file="productcart/pc/header.asp" to file="header.asp"). Do the same with the locations of the files "footer.asp" and "homeCode.asp". Move and edit "homeCode.asp" and related files Open "homeCode.asp" and perform the same task. All the links will be automatically updated. This file loads a few other files to handle the display of products on the page. You will have to move those files to the root as well, and edit the statements that include them inside "homeCode.asp". Specifically: • Open the file "pcShowProductP.asp", save it two levels up, let the HTML editor recalculate links in it, and then edit "homeCode.asp" so that the previously recalculated link is edited back to point to a local file. That is: file="productcart/pc/pcShowProductP.asp", should be edited back to file="pcShowProductP.asp" • Do the same for these files: pcShowProductH.asp, pcShowProductL.asp, pcShowProductM.aspEdited by kittens - 10-January-2007 at 12:01pm |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |