GetDotted Domains

Viewing Thread:
"Why dosen't ../ work on freeola server"

The "Freeola Customer Forum" forum, which includes Retro Game Reviews, has been archived and is now read-only. You cannot post here or create a new thread or review on this forum.

Fri 25/10/13 at 10:04
Regular
Posts: 2
Hello everyone,

Grateful for any help.

Could someone please take a look at this page

w ww.gravesendctc.org.uk /riderecord/oldriderecord//roughstuff.html
(please note spaces in URL as forum wouldn't let me post it otherwise)

and see if it can be worked out why when clicking the 'back to ride record page' boxes it dosen't work.

The browser should move up a folder level and go to
w ww.gravesendctc.org.uk /riderecord/Ride-record-page.html

The code is on line 168 and 172 of the page. I need to use ../ in various places on the site but it dosen't work anywhere. Have got round it in other places by using absolute URL's for now.

I thought it was strange that it didn't work so I uploaded onto a test server and it worked fine.

Does anyone know what is going on?

Thanks for any help
from
Richard
Sun 27/10/13 at 19:54
Regular
"Feather edged ..."
Posts: 8,536
And nitro_goat replied ...

"That is very true !
That's very simple (nice one) - i cannot believe you won a prize for it lol !
Freeola are very generous ! "

Lucky ;¬)

but not exactly the same as ../ is it
Sun 27/10/13 at 17:50
Moderator
"Are you sure?"
Posts: 5,000
Thanks for updating us - and glad to hear you are all sorted :¬)


>>"Specifying the folder after ../ dosen't seem to work."

As I mentioned you can link directly to a folder as long as you have the correctly named files in place.

My old 2006 post might help: Simple Web Address

Any problems just ask...
[s]Hmmm...[/s]
Sun 27/10/13 at 14:18
Regular
Posts: 2
Hi,

Thanks very much for your help.
It seems it was the double slash before the file name that was stopping the link from coming back.

I took those out and it works.

Specifying the folder after ../ dosen't seem to work.

Thanks again
problem solved
from
Richard
Fri 25/10/13 at 19:06
Regular
"Feather edged ..."
Posts: 8,536
Good spot Hmmm ... it seems it was the double forward slash (//)... it works for me aswell. All's well :¬)

Must have been my eye operation this morning ... not seeing too well at the moment:¬(
Fri 25/10/13 at 16:04
Moderator
"Are you sure?"
Posts: 5,000
It seems to be working for me unless you've changed your code since posting? Or I've misunderstood you...

NB. If you are going to /folder then you need to have an index.htm (or html/php) else you have to mention the full file name - not sure if that was something you were trying to do?

NB2. It's always a good idea to keep all file names lower case, else you will get caught out eventually as file names are case-sensitive! :¬)

EDIT: When I say it's working for me I took out one of your slashes as I thought that was a typo!? Did you mean to use // ?
../ does work and you don't need absolute URLs so I think you just need to sort out your file hierarchy.

It might be work playing with some simple folder and files names.
Let us know how you get on.


[s]Hmmm...[/s]
Fri 25/10/13 at 13:59
Regular
"Feather edged ..."
Posts: 8,536
RichS wrote:
The browser should move up a folder level and go to
www.gravesendctc.org.uk /riderecord/Ride-record-page.html


Hi RichS ...

You are trying to reference a file within a sub-directory, so have you not tried this coding instead ...

../riderecord/Ride-record-page.html

Try it and see what happens :¬)
Fri 25/10/13 at 10:04
Regular
Posts: 2
Hello everyone,

Grateful for any help.

Could someone please take a look at this page

w ww.gravesendctc.org.uk /riderecord/oldriderecord//roughstuff.html
(please note spaces in URL as forum wouldn't let me post it otherwise)

and see if it can be worked out why when clicking the 'back to ride record page' boxes it dosen't work.

The browser should move up a folder level and go to
w ww.gravesendctc.org.uk /riderecord/Ride-record-page.html

The code is on line 168 and 172 of the page. I need to use ../ in various places on the site but it dosen't work anywhere. Have got round it in other places by using absolute URL's for now.

I thought it was strange that it didn't work so I uploaded onto a test server and it worked fine.

Does anyone know what is going on?

Thanks for any help
from
Richard

Freeola & GetDotted are rated 5 Stars

Check out some of our customer reviews below:

Many thanks!
You were 100% right - great support!
Continue this excellent work...
Brilliant! As usual the careful and intuitive production that Freeola puts into everything it sets out to do, I am delighted.

View More Reviews

Need some help? Give us a call on 01376 55 60 60

Go to Support Centre

It appears you are using an old browser, as such, some parts of the Freeola and Getdotted site will not work as intended. Using the latest version of your browser, or another browser such as Google Chrome, Mozilla Firefox, or Opera will provide a better, safer browsing experience for you.