Go Back   Web Hosting UK Forums | Linux Windows Dedicated Server and cPanel VPS Hosting Forum > Support > php issues.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-29-2008, 03:27 PM
Senior Member
 
Join Date: Dec 2006
Posts: 544
Send a message via MSN to karimali831
Default Linking probs :(

Every time the browser is showing the full link... when I want it just to show "page.html" example if I used

<a href="page.html">blabla</a>
save this page...

the browser will show the full link
http://domain.com/page.html
So how can I get it to open just the page and the full URL?

Thanks for your help
Reply With Quote
  #2 (permalink)  
Old 01-29-2008, 08:18 PM
Senior Member
 
Join Date: Jan 2007
Posts: 939
Default

Not sure what you mean by this! But you can't stop the browser address bar showing the full url address, so page.html in the root of your directory will always have an address http://domain.com/page.html
__________________
West Dorset Community
Reply With Quote
  #3 (permalink)  
Old 01-29-2008, 09:27 PM
Administrator
 
Join Date: Mar 2006
Posts: 1,702
Default

I think this is possible using Frames. You can call new page within a frame if you wish to hide webpage name in address bar. you will need to insert some code within your .htaccess as well as the main webpage which will open the frame. let me know if you need assistance with the code as we have similar frames for suspended websites which call our suspended page even though the URL in address bar is that of the suspended website.
__________________
Web Hosting UK - ASP MSSQL Hosting - cPanel Linux Hosting
AIM : webredback || msn : andrew @ webhosting.uk.com
Toll Free : 0808 262 0855
Reply With Quote
  #4 (permalink)  
Old 01-29-2008, 11:57 PM
Senior Member
 
Join Date: Dec 2006
Posts: 544
Send a message via MSN to karimali831
Default

That's why I need this, for frames... from the orginal page if I wanted to use "'#top" the frame would get it from the orginal page

E.g.

Orginal page = domain.com/#top
Frame = domain.com/#top = Won't work

Can you please provide me this code?
For .htaccess file right?
Reply With Quote
  #5 (permalink)  
Old 01-30-2008, 10:50 AM
Senior Member
 
Join Date: Jan 2007
Posts: 939
Default

Sorry i didn't realise you were talking about frames.
Can you supply your code for the frames you have created?

For instance, if you have 2 frames say a left column named 'left', and a main column for the rest of the page called 'main'
Then putting the contents of page.html into the main frame you would use :
<a href='page.html' target='main'> blabla </a>
__________________
West Dorset Community
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 04:23 AM.
Copyright 2002-2007 WebHosting.uk.com. All rights reserved.
Web Hosting UK Forum