Forum Moderators: open
Any ideas about what the problem is?
I really dont want to put absolute links everywhere.
Thanks
The way Front Page does certain kinds of code is quite often "different" from the accepted standard, and therefore creates difficulties.
To be honest, most often I'll use absolute URLs, but not always. I have never, ever had a problem with standard coded relative URLs.
I'd suggest running your pages through an HTML validator. If it's not working, I'm afraid there's no choice but to make some changes. There is software available to do global search and replace, but there is always difficulty with software such as Front Page that uses proprietary features. It's OK to stay with the software as long as you avoid its features that differ from accepted, commonly used HTML standards.
Here's an interesting article on relative vs. absolute addressing:
Here's the HTML validator:
Sorry Marcia but that statement doesn't hold water in my experience. I would be interested in seeing some examples to the contrary.
I refer to JohnEagles original statement:- "I use Frontpage 2000 and it generates all the relative links OK. No browser problems. (checked with linkbot)"
John, exactly which engines are causing the problems? Perhaps that will help us identify the cause.
Onya
Woz
The only site navigation was some kind of FP-generated navigation bar across the top. The site owner replaced it with regular HTML links, which looked the same when done, and added regular text links to the page bottoms, in addition.
The site then got crawled, and got the rankings he wanted (all still there). There's no example to show, however, since it was changed.
Therefor, the problem seems to be a more subtle one rather than being an FP one simply because he uses FP.
Let's await John's reply for more information.
paynt > You'll probably have to do a mass search and replace to be sure this error is fixed...
paynt, can you give us an example of what you think the problem is please?
Onya
Woz
I am using FP as it is the easiest to quickly get code up. I use Dreamweaver 3 to validate and check some of the code.
I guess the big question is: As a new webmaster (self taught) it seemed easier to use relative links especially as I am working on a family of web sites that share some data. Should I really be doing this? Most of the sites I have looked at do not seem to use many, if any , relative links.
For me I like clean code and straight directions. I’ve never had problems like this with Dreamweaver and when I used FrontPage previously I would then open the page in Arachnophilia and clean up code before uploading the page. I just learned not to trust the FrontPage wouldn’t insist on screwing up my code.
Marcia’s comment
>>…The way Front Page does certain kinds of code is quite often "different" from the accepted standard…>>
Does ring true in my experience. I know this wasn’t a FrontPage specific question but with the engines focus on clean code I feel it’s a very important issue to point out to folks who may not know that FrontPage could be causing them problems. I just spent a very hectic month removing FrontPage Publishing from a client’s site. Oh my goodness you cannot possibly realize what a mess FrontPage creates when you publish with it.
Anyway, I may not have captured the true essence of the original question. I do appreciate the reference to the article you pointed out Marcia, Relative Addressing vs Absolute. That does appear to answer questions regarding addressing.
i.e. <a href="../../index.shtml"> is MY code in page [mydomain.com...]
It generates if you click it, in a browser, [mydomain.com...]
the spider gets: [mydomain.com...]
I am sorry I misled you.
John
I have had a problem with this. It would not work this way, I had to use ../filename.ext
From a directory called /Graphics/
This code works for table background on /Graphics/index.html:
background="../images/bg_blue1.gif"
All of the links are absolute except this one, which also works:
<A HREF="Tiles/FabricBackgrounds">
So that leads to www.domain.com/Graphics/Tiles/FabricBackgrounds/index.html
Wow - how could I have missed noticing shtml, not html! John, are you using server side includes?