Print Page | Close Window

Moving Home page to root

Printed From: ProductCart E-Commerce Solutions
Category: ProductCart
Forum Name: Using ProductCart
Forum Description: Running your store with ProductCart
URL: https://forum.productcart.com/forum_posts.asp?TID=3180
Printed Date: 25-July-2025 at 8:12pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Moving Home page to root
Posted By: St_Pierce
Subject: Moving Home page to root
Date Posted: 04-November-2009 at 11:33am
Hi All,
I'm moving my home page to the root directory and all seems to have gone well so far, but my problem is when I try http://www.mydomainname.com - www.mydomainname.com I get a blank screen.  If I try http://www.mydomainname.com/home.asp - www.mydomainname.com/home.asp it works and displays my home page.
 
How do I get my home page to display with just http://www.mydomainname.com - www.mydomainname.com ?  Is it related to index.asp or the setting of a default home page somewhere?
 
Thanks in advance for any help! 
St_Pierce



Replies:
Posted By: intour
Date Posted: 05-November-2009 at 6:15am
Hi St_Pierce
 
Ask your hosting company to add home.asp in IIS or rename home.asp to index.asp
 
Nigel


-------------
http://www.innerview.co.uk - Innerview
Productcart Platinum Reseller
Web Design/Hosting/Virtual Tours


Posted By: St_Pierce
Date Posted: 07-November-2009 at 8:50am
Thanks Nigel!!  That did the trick!
 
One other thing I noticed  is that when I turn the store "off" in the store settings of the control panel.  Then go to my domainanme.com page , I get "The page cannot be found" error and I see why;  The "msg.asp" page is trying to be called from the root.
 
The page "pcStartSession.asp" has the following code...
 
'****** ' Check if store is ON or OFF '***********
 If scStoreOff="1" then
        response.redirect "msg.asp?message=83"
 End If
 
Would it be better to change the code or just copy the msg.asp page to the root?
 
Thanks again for all your help!


Posted By: Hamish
Date Posted: 07-November-2009 at 9:20pm
Hi St_Pierce,
      The documentation for moving the home page has had quite a few updates in the last couple of days. Your post prompted another, but it's worth reviewing the process again.
For your specific question see : http://wiki.earlyimpact.com/how_to/move_home_page_retain_ajax#copy_and_edit_home.asp -
http://wiki.earlyimpact.com/how_to/move_home_page_retain_ajax#copy_and_edit_home.asp


-------------
Editing ProductCart Code?

See http://wiki.earlyimpact.com/developers/editcode" rel="nofollow - WIKI Guidelines for Editing ProductCart's ASP Source Code




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net