All Questions
Tagged with relative-path hyperlink
48 questions
0
votes
1
answer
173
views
Custom icon to a link in USB Drive with relative path
I have to distribute a project in several USB Drives. Inside them there's a folder containing the entire project (which will be made hidden) and a link to it with a custom icon applied.
The problem is ...
1
vote
0
answers
196
views
Links with relative path in <iframe> doesn't work based on the loaded html file location
Now I am running web app at https://example.com
And there, I am gonna open the html file from my "PC - local file system" and render its content in iframe.
But the file-content contains ...
0
votes
0
answers
87
views
External reference to a relative pathname starting with "dot-dot"
My Sphinx project needs links to a "sister project" whose home directory has the same parent directory as my project. Thus, the relative link from my project's index.html to a page in the ...
0
votes
1
answer
86
views
How can I scroll to a specific Y-axis point on another page?
I'm trying to figure out how to navigate to a specific point of a page (ID) from another page and, at the same time, lower the y coordinate to the desired point. For now I have used the simple ...
1
vote
1
answer
1k
views
Relative linking in Wordpress
I'm creating a website in WordPress that has child pages for multiple locations.
For example, the main page has a Home, About, and Contact pages + 15 service pages.
And the location pages have the ...
0
votes
1
answer
456
views
HTML <a> Link href Doesn't Work with "Embedded Spaces" in a "Relative Path"
I have searched everywhere I can think of and can't find a single example of an "a" href which contains a relative path on localhost with embedded spaces.
I am trying to download a json file ...
1
vote
3
answers
2k
views
Vuejs index.html <link> tags not respecting relative path
I am trying to deploy a built Vue app on a web server NOT using the root path and my relative links are referencing the root. Has anyone successfully tackled this?
I have tried setting publicPath to "...
0
votes
0
answers
218
views
Relative path links are not working in iphone
I created an SVG menu for a single page website. When I use the menu from my computer everything works fine, but when I try to access from my phone, the links are not working. I noticed that the issue ...
0
votes
1
answer
1k
views
relative link in vue returns with nothing
I have got two components in vue, one with lightbox for images and one for playing audio. I got relative links to the assets but either the images or the audio is being displayed and played. First I ...
4
votes
1
answer
1k
views
Root-relative links in HTML sites that work both locally and on the web
Root-relative links are usually accomplished by prefacing a href attribute with /, like so:
<a href="/path_to_file">
The problem is that this doesn't work with locally run sites, as the / will ...
0
votes
1
answer
44
views
Having issues when trying to link my html pages via an relative path
I am trying to link my home page to various other pages using the code below.
<a href = “./My Website.html”>Home</a>
<a href = “./Career.html”>Career</a>
However when ...
-1
votes
1
answer
40
views
PHP creates relative link issue
I have some PHP code which creates a cookie and saves part of the URL as a value, then recalled to be part of a link. Problem is doesn't really matter what I do the link includes a relative path when ...
1
vote
3
answers
3k
views
Setup wordpress site from live to local, URLs are not working
3/26: I created the Wordpress website on a live server. I downloaded a copy to my XAMPP server. I exported the database and created a local one. I modified the wp-config.php file to connect to it. ...
1
vote
2
answers
6k
views
How to access root directory in html?
I am just beginning HTML and I wanted to know how to use root directory in HTML?
I have a css and js folder in the root directory and I linked it(using relative URL) for the index.html in that ...
0
votes
1
answer
290
views
html relative address to css style sheet not working
I have a linux folder structure as follows for an apache server on a raspberry pi:
/var/www/html/index.html
/var/www/css/style.css
/var/www/php/someCode.php
index.html is as follows:
<!DOCTYPE ...