Results 1 to 2 of 2

Thread: Flexi Slideshow relative URL causing broken links per google

  1. #1
    Join Date
    Oct 2015
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Flexi Slideshow relative URL causing broken links per google

    1) Script Title: Flexi Slideshow

    2) Script URL (on DD): http://dynamicdrive.com/dynamicindex14/flexislide.htm

    3) Describe problem: contentcontainer+='<a target="_blank" href="'+variableslide[currentslide][1]+'">' causes a combining of URLs and thus broken links per Google. I have replaced all variable links with hard coded domain name to avoid this issue but cannot figure out how to correct this one last standing. If I place domainname.com in it causes a doubling up.

    href="'+variableslide[currentslide][1]+'"
    to
    href="www.domainname.com'+variableslide[currentslide][1]+'"
    causes
    http://www.domainname.comwww.domainn...+variableslide[currentslide][1]+

    as is, the combined URL result is that the variableslide href attaches to the end of all posts not related to the slideshow in the google review:
    page-Bear_Creek_Salmon_Festival_--_When_-10_/_03_/'+variableslide[currentslide][1]+'

  2. #2
    Join Date
    Jul 2008
    Location
    Derbyshire, UK
    Posts
    3,033
    Thanks
    25
    Thanked 599 Times in 575 Posts
    Blog Entries
    40

    Default

    contentcontainer+='<a target="_blank" href="'+variableslide[currentslide][1]+'">' causes a combining of URLs and thus broken links per Google
    What does this mean? How are the links broken in Google? The links are defined in the variableslide array at the start of the script and, from what I can see in the demo, appear as typed. Could you elaborate further because I don't understand how/where Google would report that they are broken. They look fine in the browser.

    "combining of URLs" / "combined URL result" <-- Again, I don't understand what you mean by these phrases.

    I can't see that anything is broken in the demo page here so if they are only broken for you, please provide a link to *your page* so we can see if/where you're going wrong. If the problem presents itself in a particular browser, please say which.

    That said, this is a very old slideshow so you might be better upgrading to something more modern and robust, like this http://www.dynamicdrive.com/dynamici...nslideshow.htm
    Focus on Function Web Design
    Fast Edit (A flat file, PHP web page editor & CMS. Small, FREE, no database!) | Fast Edit BE (Snippet Manager) (Web content editor for multiple editable regions!) | Fast Apps

Similar Threads

  1. DD Script is causing Google Malware Warning!
    By jimboat in forum Dynamic Drive scripts help
    Replies: 3
    Last Post: 09-06-2014, 02:29 PM
  2. Flexi slideshow image links?
    By KITKAT in forum Dynamic Drive scripts help
    Replies: 1
    Last Post: 06-05-2011, 12:16 AM
  3. Strange relative links
    By chopficaro in forum PHP
    Replies: 1
    Last Post: 05-08-2010, 05:02 AM
  4. links at the center appear broken
    By leonidassavvides in forum HTML
    Replies: 1
    Last Post: 04-23-2008, 02:49 PM
  5. Program to check broken links?
    By Freeman in forum The lounge
    Replies: 6
    Last Post: 08-24-2007, 04:04 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
  •