Results 1 to 4 of 4
  1. #1

    Default Two forward dashes in main page code

    Hello everyone,

    This may sound silly, but I have noticed when I do a "view page source" from my main page, I see the following

    <base href="http://www.chanceyscharms.com//" />
    <link rel="canonical" href="http://www.chanceyscharms.com//" />

    Notice the two "//" at the end of each of these lines just after the website name. Is this normal? I have never seen two there before and need to know if I should correct it or this is a normal feature of ZC 1.5? I have used Zen Cart in the past for different websites and again, I have never noticed this.

    Thanks!
    jcinsc76

  2. #2
    Join Date
    Jan 2004
    Posts
    58,288
    Blog Entries
    3
    Plugin Contributions
    106

    Default Re: Two forward dashes in main page code

    You've been editing your configure.php files, and you've put a trailing / on the end of your HTTP_SERVER and/or HTTPS_SERVER definitions.

    You don't want a trailing slash on those because the '/' in DIR_WS_CATALOG is automatically added (and DIR_WS_CATALOG should always start with '/' or be only '/')
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3

    Default Re: Two forward dashes in main page code

    Quote Originally Posted by jcinsc76 View Post
    Hello everyone,

    This may sound silly, but I have noticed when I do a "view page source" from my main page, I see the following

    <base href="http://www.chanceyscharms.com//" />
    <link rel="canonical" href="http://www.chanceyscharms.com//" />

    Notice the two "//" at the end of each of these lines just after the website name. Is this normal? I have never seen two there before and need to know if I should correct it or this is a normal feature of ZC 1.5? I have used Zen Cart in the past for different websites and again, I have never noticed this.

    Thanks!
    jcinsc76

    Thank you for the response. Where would I go to take this out? What file would I need to edit?

    Thanks.
    J

  4. #4

    Default Re: Two forward dashes in main page code

    Please dis-regard my last question. I figured it out and removed the second "/". Thanks again!

    J

 

 

Similar Threads

  1. Help with CSS code for buttonRow forward
    By CybaGirl in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 13 Jan 2012, 04:09 PM
  2. how to change this two osc code into zc code?
    By sunrise99 in forum General Questions
    Replies: 3
    Last Post: 21 Nov 2011, 05:30 AM
  3. Two categorie windows on main page
    By timolein in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 13 Oct 2009, 08:10 AM
  4. Customer can't find redemption code or figure out how to forward gift certificate
    By mtkatgirl in forum Creating Discounts/Coupons, Gift Certificates, Newsletters
    Replies: 1
    Last Post: 17 Feb 2009, 03:30 PM
  5. 2 Questions - Category on Main page? and Two Stores?
    By PeterMan in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 12 Jul 2006, 02:24 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •