is there a way to edit .htaccess so that when I include links on my HTML pages with the <a href> tag, I can abbreviate links within the same site? For example, if I want to have a link from
index.html in the parent directory to /plans/index.html (which is a subdirectory) I want to be able to just write <a href="/plans/">Here</a> in the HTML. Conversely, when linking back to index.html on the parent directory, I'd want to just write <a href="/">.
I tried fooling around with .htaccess to redirect links but apparently it does it only when that link is entered into the browser by the visitor. Is there another way to be doing this? ANy help would be appreciated!
augustinus 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.