Welcome, Guest. Please login or register.
Did you miss your activation email?
May 27, 2012, 06:22:49 AM

Login with username, password and session length
Search:     Advanced search
Interested in joining the WebsiteBaker team?
For more Information read here or on our new website.
155555 Posts in 21715 Topics by 7737 Members
Latest Member: gx-world
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: Static Links  (Read 449 times)
RedGnomos

Offline Offline

Posts: 65


« on: January 25, 2008, 01:39:44 AM »

Hi,

I have a number of static image links for my template at the very top. I am attempting to link them to the pages I have created in the admin section. Now when I load the index page e.g. 127.0.0.1/test/index.php, the static links are referenced as 127.0.0.1/test/page1.php, 127.0.0.1/test/page2.php, etc. However when I click on them, they obviously don't load since the pages are created in the directory 'pages'. Now if I have the links as 127.0.0.1/test/pages/page1.php, and were to load that page from index.php it works fine however when I decide to click on 127.0.0.1/test/page2.php, it references itself as 127.0.0.1/test/pages/pages/page2.php. Is there a way around this?
Logged
RedGnomos

Offline Offline

Posts: 65


« Reply #1 on: January 25, 2008, 01:53:02 AM »

I managed to resolve it. Thanks.
Logged
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!