Wordpress create widget with link to local file - html

Hi i´m trying to use the text widget to put a link to local file, but dint work, and I dont know why:
I use this:
Drive C
but if I link to real url it works fine:
Google

If by local you mean it is still on your laptop, you will need to upload the file to your WordPress installation's media folder before using it on the site.
The images should be acsessable to the sever hosting the site, either because it is stored directly by the server, or because it is can be acsessed over the Internet.

If by local you mean it is still on your laptop, you will need to upload the file to your WordPress installation's media folder before using on the site.
Due to your response about it being on the client's device I Think they have to upload the file before the server can work with it.

Related

Bolt cms images aren't displayed

The images aren't shown (anymore) on my website, which is using Bolt CMS. The connection to the database is just fine, everything is written correctly in the tables.
When I try to access the systems File Management it gives the error
Attempted to call function "exif_read_data" from namespace "PHPExif\Adapter".
So my guess is that the actual images are saved in a root folder, but that the link to it from the database is disrupted.
Everything is still working fine on my local version and I don't remember making any major changes to the config files.
Any ideas on what could cause the problem?
Thanks!
You don't have the EXIF extension installed/enabled in PHP

Ensuring All Website Files Properly Upload With Dreamweaver

I have been working on a website, viewing it locally on my computer. However, when I upload it to my server, it does not look good at all, as though it is missing files. Is there a way to check to make sure 1) everything uploaded 2) that any files referenced are indeed there and 3) that no files are referenced locally (all files are referenced relative to the site?
In Dreamweaver, you can upload the root folder which will upload everything within it. This is at least true with the latest Creative Cloud version which you can connect directly to your server.
Also if you use Chrome you can right-click, Inspect Element to view the code. You can see if there are any files missing.

problems with file directory ftp

i'm new in using hosting, i have a question about a FTP, why if i upload something (for example a image) to my server i cannot see it from the browser using the directory for example (http://www.mywebsite.com/public_html/images/backgrounds/background.png) if i use that address i get a fil with a "?" sign instead of the image. the only way to see the image is changing http by ftp for example,(ftp://ftp.mywebsite.com/public_html/images/backgrounds/background.png)
please how to find the files with http instead of ftp, to be able to use it in my web page using html
thank you
Typically, the publichtml folder is the root of your domain, which is to say that http://www.mywebsite.com/ points to your/relative/path/to/publichtml/
Using your example of putting a file at /publichtml/images/backgrounds/background.png would mean it should be accessible at http://www.mywebsite.com/images/backgrounds/background.png
Similarly, if you put filename.html in the /publichtml/ folder of your server, you should be able to access it at http://www.mywebsite.com/filename.html - If you put it in a subfolder of /publichtml/, say, at publichtml/example/, it should be accessible at http://www.mywebsite.com/example/filename.html
This can very from one server to another, but in most situations, this is common practice.
Edit: broken formatting.

Simple HTML directory/index.html issue

I feel like a baby for having to do this but bear with me. I'm trying to set up webpage structures on my desktop in a folder. It's got an index.html and a couple folders of its own. One folder, "research", has its own index.html. I'm trying to link to this page from the higher index.html with but instead of taking me to research/index.html it takes me to a 'file-directory view' (for lack of knowing what to call it) of the directory research/
Clearly I could fix this by doing but that's annoying. Thoughts?
if you want to browse locally, you will have to include the file name. in other words:
<a href='research/index.html'>research</a>
The reason it works on remote servers is because replacement is done by the web server so if you want research/ to work then you will need a local web server such as wamp on windows or mamp on mac.

WebSite - download link

I'm just playing around with HTML, and wanted to create a link to access a file in a particular location on the disk (not on the disk where the source code of the web page is located).
I have tried to do the following:
Download My File
but this cannot access the file and gives an error.
What can be the problem, and how do I fix it?
Thanks!
This should work! Just add file:/// in the link URL
Download My File
This will only work if you run the Application offline.
There is no way you can do this with pure html. You will need to use a dynamic web technology such as php or Asp.net.
Can you imagine the security issues if you could download any file you wanted off the web server just by changing path of that link?