Tagged: x
-
AuthorPosts
-
September 20, 2016 at 8:14 am #1183107
rmossParticipantHey 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!!
September 20, 2016 at 8:31 am #1183129
JoaoModeratorHi 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
September 20, 2016 at 9:26 am #1183198
rmossParticipant<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>September 20, 2016 at 9:40 am #1183216
JoaoModeratorHi 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
September 20, 2016 at 10:55 am #1183313
rmossParticipantOh wow. How did I not notice that?!
Thanks!
September 20, 2016 at 10:59 am #1183319
DarshanaModeratorGlad we were able to help 🙂
First thing is to check for invalid HTML, when using Raw Content element.
Cheers!
September 20, 2016 at 11:12 am #1183330
rmossParticipantAlright 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>September 20, 2016 at 11:16 am #1183335
DarshanaModeratorHi 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 / passwordDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
September 20, 2016 at 11:51 am #1183373
rmossParticipantThis reply has been marked as private.September 20, 2016 at 12:41 pm #1183443
JoaoModeratorHi 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
September 20, 2016 at 2:47 pm #1183637
rmossParticipantThat did the trick!
Thanks again for your help!
September 20, 2016 at 3:35 pm #1183676
JoaoModeratorYou are welcome,
Let us know if you need help with anything else.
Joao
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1183107 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
