Jump to content
xisto Community
Sign in to follow this  

Help With Links using /page instead of http://site.com/page

Recommended Posts

hi, im having a bit of a problem... i know that this is possible, but not sure how :S

how can i have a link to another directory on my site, say the setup is like this

Index|	||	|___Dir 1--> Page 1|				  --> Page 2||____Dir 2--> Page 3			   --> Page 4

Just wondering how i could link from page 1 to page 4 without using http://forums.xisto.com/no_longer_exists/

if you understand. :S

I know that for linking to subdirectories, its just /subdir/page

Notice from BuffaloHELP:
Try not to use "site (dot) com" it's actually a site. Instead try sitename or domain_name

Share this post

Link to post
Share on other sites

Use Relative addressing by inserting "../" in the link paths to "go back one folder".

I wrote a small test for doing this once and I still have it uploaded, so here is the URL: http://forums.xisto.com/no_longer_exists/.

Do a view source of each page to see how the "../" can be used. The "../" takes you back one directory on the path, but then you need to add the folder names to travel down towards the target file. Only other way is to use php coding, or another scripting language.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.