jerseyjoe Posted March 13, 2007 Share Posted March 13, 2007 I've got a store almost ready for publication. I built it on a shared server before the DNS was transferred. While being built, the internal links all reflected that fact IP#/serveraccount/store/ After doing the DNS transfer, most of the internal links now show as domain/store But some links, such as the site docs, still show the IP#/serveraccount/store as the link. I've tried using a WYSWIG editor to do a global replace but that doesn't work because it can't read PHP. In looking into CC, I think I understand that this is controlled in the file store/includes/global.inc.php specifically by the line that says $glob['rootRel'] = '/~serveraccount/store/'; Question: If I change that to $glob['rootRel'] = '/domain.com/store/'; will that do it? Or must I change other files, too? Quote Link to comment Share on other sites More sharing options...
Guest Brivtech Posted March 13, 2007 Share Posted March 13, 2007 I'm guessing other files could be affected as well - For instance template and styles files. Really though, it's the global root rel that needs the attention because other file references usually work from that. Quote Link to comment Share on other sites More sharing options...
jerseyjoe Posted March 13, 2007 Author Share Posted March 13, 2007 I'm guessing other files could be affected as well - For instance template and styles files. Really though, it's the global root rel that needs the attention because other file references usually work from that. Well, I edited the file, replacing the line as contemplated - and it screwed up all the category images. To see the issue, visit http://qcigars.com and note the links as you roll your cursor over the links in the Site Docs box. Now, in Shop By Category, click on "Q Collection" and roll your cursor over the category images and note the links. ANyone know how to fix that? Quote Link to comment Share on other sites More sharing options...
Guest Brivtech Posted March 13, 2007 Share Posted March 13, 2007 The link you gave gives a linkless homepage image. Quote Link to comment Share on other sites More sharing options...
jerseyjoe Posted March 13, 2007 Author Share Posted March 13, 2007 The link you gave gives a linkless homepage image. sorry, it's http://qcigars.com/store Quote Link to comment Share on other sites More sharing options...
Guest devstudent Posted March 13, 2007 Share Posted March 13, 2007 Hey Joe, I think there is a simular question, with answers for you in this post, looks like there are a couple more edits you need to make... http://www.cubecart.com/site/forums/index....showtopic=21744 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.