| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Static URL Bar - Please Help!
Ok, firstly thankyou in advance for any help you guys can give for what - I'm sure and hope - is a simple question.
The problem is the website of a small company I work for. I have recently rewritten the entire site for the 2006 season, and everything runs as it should do... ...except the address bar. When accessing the site from a Google search, the page title and URL defaults to the domain name, even though the page actually has proper <title>blah</title> code at the beginning. An even bigger problem is the fact that when you begin to navigate the various pages of the website, the URL bar doesn't alter. The odd thing is that if you go to the main front page, then add 'index.asp' to the domain name and hit enter, the page displays properly, and the URL updates itself as you navigate the site, which is exactly what should by happening. The whole site is written in ASP VBScript, but I must confess this problem has me stumped. How do I get the URL bar to display the current page name right from the first visit to the page, and maintain that on each subsequent page view? |
|
#2
|
||||
|
||||
|
when you have a domain name, some places allow you to do website masking ... this way if you host your site on a free site, no one knows ... let's say you're hosting your site through your local ISP ... your address would be either (for example):
http://your_name.ip_name.com or http://www.ip_name.com/~your_name yet you own a domain and don't want people to know that you're hosting it like this, so you set up your domain with 'Domain Masking' ... this allows your domain name to remain in the address line throughout the entire site. Check the domain registrar for the site and see if that's how it's set up.
__________________
Come JOIN the party!!! Quote of the Month: Sacrifice (Temple): All we ask here is that you give us your heart. Questions to Ponder: If the #2 pencil is the most popular, why is it still #2? iif([sarcasm]=true,iif([you have to ask]=true,"didn't work","ha ha ha"),"not sarcasm") copyright© 2008 sbenj69 |
|
#3
|
|||
|
|||
|
Quote:
Thanks for your advice, but I don't think that's actually the problem. We do own our own domain, and I have recently updated our website this year, having just changed some of the content of the pages (the actual page properties of every page are exactly as they were on the old site). The old site used to always allow the address bar change, and, a few days ago, the new website worked fine as well. Now, though, I cannot get the address bar to stop displaying the domain all the time, unless I manually add /index.asp to the title bar, then navigate, which I obviously can't expect surfers to our site to do. Logically, something has changed in the page properties, but I've spent hours going over everything piece of code in the page properties, but cannot see any reason why this should be happening! |
|
#4
|
||||
|
||||
|
you're your own domain registrar? ... not sure how that works.
|
|
#5
|
|||
|
|||
|
Quote:
It doesn't, you misunderstand me. As you can see from my last post, we own a domain name (as opposed to it being hosted at our ISP). Moreover, this problem didn't exist on the old website, or, indeed, until a relatively short time ago, so obviously it has nothing to do with domain masking; something must have changed in the code of the page. As I can't see what it is, I'm asking for help in understanding how I can force the proper URL to be recognised on an ASP(VBScript) page. |
|
#6
|
||||
|
||||
|
Hi
I would suggest this is a problem with the server and not the scripting, it is down to the IIS, or what ever server you are using to sort this out, I would recommend you post a similar question on the IIS server forum and see if you more help there, cos although i think this is the problem I alas have no idea how to fix it. Hope that helps sorry if it doesn't
__________________
Around a circle you can always draw a bigger circle. EnenDaveyBoy |
![]() |
| Viewing: ASP Free Forums > Web Design > Web Layout > Static URL Bar - Please Help! |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|