Button download not working - turns URL's slash to underscore
Hi,
Problem: Using button shortcode, the "/" (forward slash) in download URLs is changed to "_" (underscore). This means files cannot be downloaded.
Here's the shortcode:
[button title="Download tip (PDF)" icon="icon-doc-text" icon_position="left" link="" target="_blank" color="#" font_color="#ffffff" large="0" class="" download="/download/tips/pdf/How-To-Answer-What-Do-You-Do.pdf"]
This is the download dialog box showing the incorrect URL:
FYI: The same URL works in link="". I deactivated all plugins to see if there was a conflict but it did not fix the problem. Also used full path to file (i.e. http://...) but no luck.
How can this be fixed?
Thanks.
Problem: Using button shortcode, the "/" (forward slash) in download URLs is changed to "_" (underscore). This means files cannot be downloaded.
Here's the shortcode:
[button title="Download tip (PDF)" icon="icon-doc-text" icon_position="left" link="" target="_blank" color="#" font_color="#ffffff" large="0" class="" download="/download/tips/pdf/How-To-Answer-What-Do-You-Do.pdf"]
This is the download dialog box showing the incorrect URL:
FYI: The same URL works in link="". I deactivated all plugins to see if there was a conflict but it did not fix the problem. Also used full path to file (i.e. http://...) but no luck.
How can this be fixed?
Thanks.
Comments
With full path this should work. Please try once again with full path and if you are sure this won`t work, then please send us access to your wp dashboard on pm with explanation where exactly this happen and also send us full link to file that should be downloaded.
Tried full path and it still replaces / with _ in URL, as this screenshot shows:
How do I send pm to you so I can give you WP access?
Can I use my inbox here to send you a pm?
After changing the shortcode as you explained, it works in Chrome but it does not work in Firefox v.32.0.3 where it opens the file in the same window, and not in IE v.11 where it opens the file in a new window.