Announcement

Collapse
No announcement yet.

Search console strange results?

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

    #46
    Taking your idea a little further Lee: Standard Promotional List Entry Edited:

    Click image for larger version  Name:	SPLEeditedDirecti.jpg Views:	0 Size:	70.5 KB ID:	557524

    Code:
    <!-- ItemType == 0 == Product -->
    <actinic:block if="%3cactinic%3avariable%20name%3d%22ItemType%22%20%2f%3e%20%3d%3d%200" >
    <div class="slide-entry">
    <a href="<actinic:variable name="DirectLink" />"><img src="<actinic:variable name="ItemImage" selectable="false" />" title="<actinic:variable name="CarouselCaption" />"/></a>
    <actinic:block if="%3cactinic%3avariable%20name%3d%22CarouselCaption%22%20%2f%3e%20%21%3d%20%22%22" >
    <div class="carousel-caption">
    <h3><actinic:variable name="CarouselCaption" /></h3>
    </div>
    </actinic:block>
    </div>
    </actinic:block>
    
    <actinic:block if="%3cactinic%3avariable%20name%3d%22ItemType%22%20%2f%3e%20%21%3d%202%20AND%20%0d%3cactinic%3avariable%20name%3d%22ItemType%22%20%2f%3e%20%21%3d%200" >
    <div class="slide-entry">
    <a href="<actinic:variable name="ItemLink" selectable="false" />"><img src="<actinic:variable name="ItemImage" selectable="false" />" title="<actinic:variable name="CarouselCaption" />"/></a>
    <actinic:block if="%3cactinic%3avariable%20name%3d%22CarouselCaption%22%20%2f%3e%20%21%3d%20%22%22" >
    <div class="carousel-caption">
    <h3><actinic:variable name="CarouselCaption" /></h3>
    </div>
    </actinic:block>
    </div>
    </actinic:block>
    
    <actinic:block if="%3cactinic%3avariable%20name%3d%22ItemType%22%20%2f%3e%20%3d%3d%202" >
    <div class="slide-entry">
    <a href="<actinic:variable name="ItemLink" selectable="false" />"><img src="<actinic:variable name="ItemImage" selectable="false" />"/></a>
    </div>
    </actinic:block>
    Attached Files
    Jonathan Chappell
    Website Designer
    SellerDeck Website Designer
    Actinic to SellerDeck upgrades
    Graphicz Limited - www.graphicz.co.uk

    Comment


      #47
      graphicz - Nice one!
      Many Thanks
      Lee
      www.mdnsupplies.co.uk
      www.hookandloopfasteners.co.uk

      Comment


        #48
        I am trying to do the direct hard links that Lee has posted in post #28, but am unable to get it to work.

        I note there is mention in the code of a variable DirectLink, but no mention of setting this up in the post.

        Without a DirectLink variable setup I get errors on upload. If I setup a DirectLink variable (not know what parameters to use) Uploads fine, but all links just link to the current page.

        Can anyone advise on what I need to do, presumably with the DirectLink variable.
        Regards

        Jason

        Titan Jewellery (Swift Design)
        Zirconium Rings
        Damascus Steel Rings

        Comment


          #49
          The DirectLink is a layout not a variable, create a new layout called DirectLink and populate with:

          Code:
          <actinic:variable name="CatalogURL" /><actinic:block php="true">
          $dpecmajor = <actinic:variable name="ECMajorVersion" selectable="false" />;
          $dpispreview = <actinic:variable name="IsPreviewMode" selectable="false" />;
          include_once "getsectionfilename.php";
          echo GetProdPageName("<actinic:variable name="ProductID" selectable="false" />");
          </actinic:block>#/<actinic:variable Name="EncodedProductAnchor" />
          Click image for larger version  Name:	Untitled-1.jpg Views:	0 Size:	98.7 KB ID:	557614

          OR*

          Rather than setting up the layout for DirectLink, just use the bare code in the href, so:

          Code:
          <a href="<actinic:variable name="SearchCGIURL" />?PRODREF=<actinic:variable name="ProductID" />&amp;NOLOGIN=1<actinic:block if="%3cactinic%3avariable%20name%3d%22IsHostMode%22%20%2f%3e" >&amp;SHOP=<actinic:variable name="ShopID" /></actinic:block>">
          Would look like:

          Code:
          <a href="<actinic:variable name="CatalogURL" /><actinic:block php="true">
          $dpecmajor = <actinic:variable name="ECMajorVersion" selectable="false" />;
          $dpispreview = <actinic:variable name="IsPreviewMode" selectable="false" />;
          include_once "getsectionfilename.php";
          echo GetProdPageName("<actinic:variable name="ProductID" selectable="false" />");
          </actinic:block>#/<actinic:variable Name="EncodedProductAnchor" />">
          So, in a best seller layout, you would go from this:

          Click image for larger version

Name:	before-code.jpg
Views:	68
Size:	143.5 KB
ID:	557615

          To this:

          Click image for larger version

Name:	after-code.jpg
Views:	70
Size:	174.9 KB
ID:	557616
          Many Thanks
          Lee
          www.mdnsupplies.co.uk
          www.hookandloopfasteners.co.uk

          Comment


            #50
            Many thanks Lee, all sorted.

            Silly mistake forgetting the selector and assuming it was a variable.
            Regards

            Jason

            Titan Jewellery (Swift Design)
            Zirconium Rings
            Damascus Steel Rings

            Comment


              #51
              Buzby Perfect! no problem, glad your sorted.
              Many Thanks
              Lee
              www.mdnsupplies.co.uk
              www.hookandloopfasteners.co.uk

              Comment


                #52
                I have tried setting up the direct hard links that Lee posted in #28 and have the "getsectionfilename.php" file saved in my Site1 folder but for some reason I don't seem to able to get this file uploaded.

                I have closed the Sellerdeck application, done a site refresh and checked the ProgramData Site1 folder searching for *.php and the file is not included with other php file results listed.

                Any suggestions most welcome.
                Martin
                Mantra Audio

                Comment


                  #53
                  Martin,

                  my understanding is the file doesn’t need to be uploaded. The php works on the fly generating the links upon upload.

                  It has increased my upload time which is why I think the links are generated upon upload.

                  If I’m wrong someone will correct and advise further.
                  Regards

                  Jason

                  Titan Jewellery (Swift Design)
                  Zirconium Rings
                  Damascus Steel Rings

                  Comment


                    #54
                    Originally posted by Buzby View Post
                    Many thanks Lee, all sorted.

                    Silly mistake forgetting the selector and assuming it was a variable.
                    Thanks Jason

                    I have used bare code in the best sellers and new products layouts for now but encountered a problem doing this for the regular recent products layout.

                    I have set up the layout for Direct Link and now have the DirectLink selector shown in the screenshot below:

                    Click image for larger version  Name:	DirectLinkSelector.jpg Views:	0 Size:	79.8 KB ID:	557631

                    However, I still encountered a problem after updating the Regular Recent Products List layout. The update gets rid of the ".../cgi-bin/SH00001.pl?WD/..." and this is replaced with a direct hard link back to the "../acatalog/*" section page and not the product page,, so I have reverted back to previous layout for now - had to do a site refresh to update the change for this layout - very slow process!

                    The recently viewed search results appear to be very prominent in what Google Search Console page indexing reports are picking up as "Alternate page with proper canonical tag" for my site - see screenshot for most recent report:

                    Click image for larger version  Name:	PageIndexingErrors.jpg Views:	0 Size:	247.0 KB ID:	557634

                    It would make a huge difference if we could find a way to just design out those "/cgi-bin/sh000001.pl?WD=elliptical&PN" bits here?

                    Regards
                    Last edited by Mantra; 18-Oct-2024, 07:32 AM. Reason: Updated following upload tests of layout changes
                    Martin
                    Mantra Audio

                    Comment


                      #55
                      I tried the direct link fix again today but sadly no improvement in upload speed (still 2+ hours) and a problem encountered after making the change on the Regular Recent Products List layout so have reverted this back to previous.

                      I have 3800+ indexed products to upload including many duplicates and Google Search results are currently flagging up 5400+ "not-indexed" pages that have no relevance for inclusion in the sitemap for canonical "indexed" pages.

                      This issue arose as a result of Google Search Console picking up strange results for "not-indexed" pages including many containing cgi-script links, so perhaps could there be another way to prevent this simply by adding one of the code line(s) below at the top of the respective brochure / product list layouts for search engines not to flag up an indexing requirement for such listings?

                      Code:
                      <meta name="robots" content="noindex">
                      OR

                      Code:
                      <meta name="googlebot" content="noindex">
                      The latter may be more appropriate if the problem is solely a Googlebot search issue - see link below:
                      https://developers.google.com/search...block-indexing

                      More code may be needed above and below and thanks in advance for any comments or suggestions.
                      Martin
                      Mantra Audio

                      Comment

                      Working...
                      X