Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

Can someone Please explain paths to me

New Here ,
Mar 26, 2007 Mar 26, 2007

Copy link to clipboard

Copied

I have a ms access database. One of the fields is a link to the details page. The link is the path to the doucment on my testing server (IIS). The links path is to the server: http://localhost.
I don't see how these links will be found when I upload the site to a host, so there must be something wrong in my design. However, I couldn't see any other way to do it. The way it's set up is the user clicks on a link to class category. The class category page is dynamic and may have 20 classes, and a link to the details page. The details page includes thiings like the class name, date, and instructor, start and end times, as well as the shopping car and registration forms.
Have I done this correctly, and if so, when I upload the site how can the details pages be displayed since the path is written to the database. Thanks.
TOPICS
Server side applications

Views

174
Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Mar 26, 2007 Mar 26, 2007

Copy link to clipboard

Copied

LATEST
Can you make your links relative, rather than absolute.

That is instead of

http://localhost/pages/index.html
it would be in the databse as :

/pages/index.html

So, whether it is on the the local server, or the live, the links works.

Make the links relative to the "site" root.

Google relative vs absolute links for more info...

Lisa

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines