|
|
 |
Re: FN-FORUM: Extension-less files in Dreamweaver
date posted 16th January 2005 17:17
Paul, the drawback mentioned on Sitepoint's site says:
"There was previously one major drawback to this method. Google, and
perhaps other search engines, would not index pages set up in this
manner, as they interpreted the URL as being malformed. I contacted a
Software Developer at Google and made them aware of the problem and I
am happy to announce that it is now fixed.
There is the potential that other search engines may ignore pages set
up in this manner. While I don't know of any, I can't be certain that
none do. If you do decide to use this method, be sure to monitor your
server logs for spiders to ensure that your site is being indexed as
it should."
So just to be on the safe side, it'd be nice to exclude the extension
half-way through. It looks nicer anyway, for all those who do look at
the URL.
On 16 Jan 2005 18:20:18 -0000, Paul Silver [EMAIL REMOVED] wrote:
> Personally I'd have said anyone who is going to type in a whole URL
> isn't going to be bothered by putting '.php' or .anythingelse at the
> end. I think most people get to sites by remembering the root URL and
> navigating from there, or through a search engine, or a bookmark (not
> particularly in that order.) Even my techie (non-web) mates are amazed
> when I remember whole URLs rather than just the site name. I don't have
> any statistics or studies to back this opinion up, just what I've seen
> people do using the web.
>
> Therefore, I'd just use .whatever on the sites where you want to use DW.
>
> On the other way this thread is going: I'm a bit sniffy about using DW
> to maintain sites, but that's my coding-elitist side coming through.
> Both DW and Contribute are very handy tools for maintenance at a certain
> level.
>
> On 16 Jan 2005 16:50:10 -0000, "Joe Freeman" said:
> > I've always done it with a php file that looks at the URL, then
> > request the necessary page either from file or from a database. Not
> > very pretty to have '.php' half-way through a URL - IMO. But for now I
> > guess I'll just stick with that. I prefer to just work with files
> > directly with Dreamweavers FTP functionality (so they are the same
> > where ever I am), so changing the filename each time would be a bit of
> > a hastle really.
> >
> > So I guess it's not really possible to open extension-less files -
> > seems like a bit of a design flaw really - can't even open htaccess
> > files.
> > On 16 Jan 2005 16:27:00 -0000, Tony Crockford [EMAIL REMOVED]
> > wrote:
> > > At 15:31 on Sunday, 16 Jan 2005, Joe Freeman wrote:
> > > > Because I want to use friendly URLs and use Dreamwever to edit the page.
> > > isn't friendly url's about using directories and mod-rewrite, rather than
> > > extensionless files?
> > >
> > > alternatively, why don't you use extensions locally for dreamweaver and
> > > then strip them off when you upload them to the server?
> > >
> > > wouldn't take much effort to have a script that adds and extension or
> > > removes an extension from all files in a directory
|
 |
|