Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1183107
    rmoss
    Participant

    Hey guys,

    I have some RAW HTML on a page, and for some reason, the links are not working and take me to a 404 error when clicked. I know the pages exist (they are PDF docs uploaded to the site) and the links are correct. What could be going on?

    The page is address http://dominionpayroll.com/flsa-preparation/ (the links in question are the colored boxes at the end of the page, they are supposed to launch another window with the PDF docs)

    I am using WP V4.6.1 and X V4.6.2. I am using the visual composer, not cornerstone.

    Thanks!!

    #1183129
    Joao
    Moderator

    Hi There,

    Please share with us the code you used on your RAW Element.

    Do not forget to wrap on the code box here just above where you type on X Forum,

    Thanks

    Joao

    #1183198
    rmoss
    Participant
    <div class="feature-block"><a href=http://dominionpayroll.com/next/wp-content/uploads/Federal_FLSA_Guide.pdf/><img src="http://dominionpayroll.com/next/wp-content/uploads/FLSA-Exemp-Guide.png" style="width:200px;height:auto;border:0"></a></div>
    
    <div class="feature-block"><a href=http://dominionpayroll.com/next/wp-content/uploads/FLSA_Changes_Decision_Making_Guide.pdf/><img src="http://dominionpayroll.com/next/wp-content/uploads/FLSA-Dec-Guide.png" style="width:200px;height:auto;border:0"></a></div>
    
    <div class="feature-block"><a href=http://dominionpayroll.com/next/wp-content/uploads/FLSA_Changes_Implementation_Guide.pdf/><img src="http://dominionpayroll.com/next/wp-content/uploads/FLSA-Imp-Guide.png" style="width:200px;height:auto;border:0"></a></div>
    
    <div class="feature-block"><a href=http://dominionpayroll.com/next/wp-content/uploads/Overtime-Changes-Fact_Book_Dominion-Payroll.pdf/><img src="http://dominionpayroll.com/next/wp-content/uploads/FLSA-OverT-Guide.png" style="width:200px;height:auto;border:0"></a></div>
    
    <div class="feature-block"><a href=http://dominionpayroll.com/next/wp-content/uploads/FLSA-Overtime-Infographic.pdf/><img src="http://dominionpayroll.com/next/wp-content/uploads/PDF-SS-e1473970290491.jpg" style="width:200px;height:250px;border:0"></a></div>
    #1183216
    Joao
    Moderator

    Hi There,

    Your links are missing ” ”

    this:

    
    <a href=http://dominionpayroll.com/next/wp-content/uploads/Federal_FLSA_Guide.pdf/>

    Should look like this:

    <a href="http://dominionpayroll.com/next/wp-content/uploads/Federal_FLSA_Guide.pdf/">

    Hope that helps,

    Joao

    #1183313
    rmoss
    Participant

    Oh wow. How did I not notice that?!

    Thanks!

    #1183319
    Darshana
    Moderator

    Glad we were able to help 🙂

    First thing is to check for invalid HTML, when using Raw Content element.

    Cheers!

    #1183330
    rmoss
    Participant

    Alright so I put quotes around all of my links, but they still aren’t working. Here is the code I have now:

    <div class="feature-block"><a href="http://dominionpayroll.com/next/wp-content/uploads/Federal_FLSA_Guide.pdf/"><img src="http://dominionpayroll.com/next/wp-content/uploads/FLSA-Exemp-Guide.png" style="width:200px;height:auto;border:0"></a></div>
    
    <div class="feature-block"><a href="http://dominionpayroll.com/next/wp-content/uploads/FLSA_Changes_Decision_Making_Guide.pdf/"><img src="http://dominionpayroll.com/next/wp-content/uploads/FLSA-Dec-Guide.png" style="width:200px;height:auto;border:0"></a></div>
    
    <div class="feature-block"><a href="http://dominionpayroll.com/next/wp-content/uploads/FLSA_Changes_Implementation_Guide.pdf/"><img src="http://dominionpayroll.com/next/wp-content/uploads/FLSA-Imp-Guide.png" style="width:200px;height:auto;border:0"></a></div>
    
    <div class="feature-block"><a href="http://dominionpayroll.com/next/wp-content/uploads/Overtime-Changes-Fact_Book_Dominion-Payroll.pdf/"><img src="http://dominionpayroll.com/next/wp-content/uploads/FLSA-OverT-Guide.png" style="width:200px;height:auto;border:0"></a></div>
    
    <div class="feature-block"><a href="http://dominionpayroll.com/next/wp-content/uploads/FLSA-Overtime-Infographic.pdf/"><img src="http://dominionpayroll.com/next/wp-content/uploads/PDF-SS-e1473970290491.jpg" style="width:200px;height:250px;border:0"></a></div>
    #1183335
    Darshana
    Moderator

    Hi there,

    Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:

    – Link to your site
    – WordPress Admin username / password

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    #1183373
    rmoss
    Participant
    This reply has been marked as private.
    #1183443
    Joao
    Moderator

    Hi There,

    The problem doesn´t seem to be on your Code but on the URLs itself or the permissions on the folder.

    Note that the browser is case sensitive, are you sure those URLS that you are using.

    If you type those URLS on your browser they also don´t work.

    If you change those URLS for : http://dominionpayroll.com/next/wp-content/uploads/DPS-Checklist-Package.pdf it works.

    Hope that helps

    Joao

    #1183637
    rmoss
    Participant

    That did the trick!

    Thanks again for your help!

    #1183676
    Joao
    Moderator

    You are welcome,

    Let us know if you need help with anything else.

    Joao

  • <script> jQuery(function($){ $("#no-reply-1183107 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>