Announcement

Collapse
No announcement yet.

Use relative CGI-BIN urls in catalog pages

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Use relative CGI-BIN urls in catalog pages

    Use relative CGI-BIN urls in catalog pages. I'm having difficulty in understanding this statement.

    Is it possible to have more than one website pointing to the same shop and have the url show as www.domainname/acatalog/product_page where domain name is either site accessing the same shop.

    If so how is this achevied or have I missunderstood
    Use relative CGI-BIN urls in catalog pages as stated in network set-up.

    Can anyone explain please

    Many thanks
    Andy

    #2
    I just think it means for actinic to use ../cgi-bin rather than www.thisdomain.cgi-bin when it generate pages
    Owner of a broken heart

    Comment


      #3
      Yes, it is possible to have more domains to point to the same shop. Catalog always uses relative URLs for static content (images, HTML pages) and the <BASE HREF> HTML tag is used to have the correct domain. The URL for the BASE HREF tag is determined during the first script call. E.g. if you have domain1 and domain2 (both points to the same place) then you can visit your site by using either domain. If you start with domain1 then you will see domain1 in your browser's address bar while navigating on static pages.
      The script calls are using absolute URLs by default (there are several reasons to do so). Therefore whatever URL is used to visit your site (e.g. domain1) the script links are always forwarding you to the domain specified as CGI URL. This can be confusing to the shopper as the URL in the address bar varies (e.g. the buyer checks the goods on mysite but do the checkout on yoursite ). Hence the store branding feature (relative CGI URLs). Once you check this option absolute CGI URLs will be generated into the pages. So the address bar will contain the same domain during the whole shopping.

      I hope this made it a bit more clear.

      Regards,
      Zoltan
      Actinic Software
      www.actinic.co.uk

      Comment


        #4
        Thanks for the quick response. Its a little clearer now. Just one thing I cant figure is how to link to a product say from domain one to a catalog hosted on domain 2.

        what would the hyperlink code be to paste into a static html page which is part of domsin 2.

        For example I have been testing V6 catalog on this site
        http://www.jlocater.co.uk/acatalog/Basic_Products.html

        so if I wanted to point to http://www.jlocater.co.uk /acatalog/Basic_Products.html
        from another site I have which is http://www.trophyhut.co.uk but have the link reslove to http://www.trophyhut.co.uk/acatalog/Basic_Products.html
        how would I achieve this? I cant see how this will work from http://www.trophyhut.co.uk/acatalog/Basic_Products.html as no acatlog directory exsists on the http://www.trophyhut.co.uk site.

        Sorry if this sounds confusing I hope someone understands me I'm not sure if what I'm asking is acheviable.

        Many thanks
        Andy

        Comment


          #5
          If your web server is configured properly and both domain resolves the same web space then you can use the product links.

          See http://knowledge.actinic.com/users/k...dmin/acatalog/ in the KB about the product links (BTW this URL is also a product link ).

          Obviously the CGI URL used for the product link should be relative.

          Regards,

          Zoltan
          Zoltan
          Actinic Software
          www.actinic.co.uk

          Comment


            #6
            Many Thanks Zoltan

            Comment


              #7
              Relative CGI-BIB urls in catalog pages

              Originally posted by zmagyar
              Yes, it is possible to have more domains to point to the same shop. Catalog always uses relative URLs for static content (images, HTML pages) and the <BASE HREF> HTML tag is used to have the correct domain. The URL for the BASE HREF tag is determined during the first script call. E.g. if you have domain1 and domain2 (both points to the same place) then you can visit your site by using either domain. If you start with domain1 then you will see domain1 in your browser's address bar while navigating on static pages.
              The script calls are using absolute URLs by default (there are several reasons to do so). Therefore whatever URL is used to visit your site (e.g. domain1) the script links are always forwarding you to the domain specified as CGI URL. This can be confusing to the shopper as the URL in the address bar varies (e.g. the buyer checks the goods on mysite but do the checkout on yoursite ). Hence the store branding feature (relative CGI URLs). Once you check this option absolute CGI URLs will be generated into the pages. So the address bar will contain the same domain during the whole shopping.

              I hope this made it a bit more clear.

              Regards,
              Referring to the above, I know this is an old thread but it was very relevant to what I'm trying to do. In fact I'm trying to do this and more.

              1. I have many domain names (some alises and some totally separate), which I wish to link to the same shop but I wish this to be transparent to the customer.

              2. I'm trying to set up SSL certificates and I guess I would be safest having this just at the check out stage but I am getting some problems with this, which hopefully I shall be able overcome.

              3. I wanted to hard code my menus but obviously wanted them to be relaive-coded as opposed to hard coded, so as to keep the multiple stores transparent. But then I come across the problem of how to hard-code the link to the CGI-BIN as a relative code and also to allow the customer to leave the cart/checkout and go back to where they were without the original store name url changing. In other words I want them to be able to pop in and out of the cart without the base url changing but need to hard code that somehow.

              Any suggestion would be gratefully received !! Thanks.
              Richard
              www.worldofenvelopes.com

              Comment


                #8
                Be aware that multiple domains resolving to the same website is considered "black hat SEO" by some search engines and can result in de-listing

                Comment

                Working...
                X