What shopsite file holds store settings>store URL

General ShopSite user discussion

What shopsite file holds store settings>store URL

Postby hammer » Tue Sep 20, 2011 2:25 pm

How do I find the file that holds the store URL so I can change it?

This is for an old web site that was set up using a virtual directory and the virtual directory is no longer needed as it is causing problems with the search engines.

In Shopsite 10 Sp2, the current setting is:

hosting preferences >store settings>store URL: http://www.mydomain.com/catalog

I want to get rid of the "catalog" as the above referenced URL is a virtual URL and we do not need to use it. Right now Google is counting the home page twice and it is causing problems with original content being seen twice; i.e.:

http://www.mydomain.com/catalog/index.htm
http://www.mydomain.com/index.htm

The above URLs are the same page with same content, but Google is seeing them as different and crawling them with errors.

What is the shopsite data file that holds the hosting preference for the store URL?

Thank you
hammer
 
Posts: 127
Joined: Thu Mar 17, 2011 8:22 am

Re: What shopsite file holds store settings>store URL

Postby ShopSite Lauren » Tue Sep 20, 2011 4:21 pm

That is the authorization file (auth.file) for your store. In order to move your store to the root domain rather than subfolder, the store will need to be moved to the root, and you will need a new auth.file. For this you will want to talk with the company you purchased (or are leasing) ShopSite from. If you are with a ShopSite partner, they can do the move and change the auth.file for you.
- ShopSite Lauren
Contact me for help with any of your
custom ShopSite template questions.
ShopSite Lauren
 
Posts: 889
Joined: Fri Aug 11, 2006 1:35 pm
Location: Orem, UT

Re: What shopsite file holds store settings>store URL

Postby Jim » Tue Sep 20, 2011 4:41 pm

When you installed the store (or had it installed) an authorization file was created that contains the store url. That url is used for setting where the store publishes pages and where the media files are located. In order to change that url you would need to get a new authorization file with the new url. That file would need to replace the file called <storeid>.auth in the data directory of your store. (NOTE: <storeid> in <storeid>.auth is the login name for your ShopSite backoffice).

After you have replaced the .auth file with the new one, you also need to edit the file <storeid>.aa and remove the /catalog from urls that contain it. The storeid.aa file is in the ss (or bo) directory on linux, freebsd and solaris stores and is in the sc (or sb) directory for windows stores.
Once you have made those changes you will need to go to the images section and do a Reset All Attributes for all image directories so that the new url will be used in the images. You will also need to change any hardcoded references in any text fields that contain links to the /catalog directory. The only location that the ShopSite install places the authorized url in a text field is in Commerce Setup > Order System > Thankyou >Information on the Thank You screen to return to storefront: . So make sure you change that one. But you may have included it in other fields so scan fields for the /catalog text.

After all those changes are made you need to publish the pages in your store again.

Note: since you reference "virtual URL" it leads me to believe that your store is installed on a Windows box. If that is the case you will need to be able to log into the server either directly on the machine or through remote desktop to make the changes. If you are on a linux, freebsd or solaris server you could probably make the changes through ftp or ssh.

If you are unsure of any of the above you should ask your host to make the changes for you or you could really mess up your site.
Jim
Site Admin
 
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah


Return to User Forum

Who is online

Users browsing this forum: Bing [Bot] and 107 guests