When Inheritance ISN'T Such A Good Idea...
Hi; Search engines don't like Web sites with deep directory structures. I use such structure to develop my Web sites to take advantage of inheritance. I keep all my Python scripts in a separate directory as well as the basic content of each page. This, of course, makes things neat and tidy in my Zope. So I don't want to simply throw everything in the root dir! Is there a way to call scripts and Template Pages from other pages such that it renders as a simple URL without deep directories (e.g., http://mysite.com/main.html ) or frames? TIA, beno
beno wrote:
Search engines don't like Web sites with deep directory structures.
Why do they care about the deep of a directory structure? Limites in the fields storing URL or what? I that case how much, and which search engines? Do you have any references? -- Johan Carlsson Tel: + 46 8 31 24 94 Colliberty Mob: + 46 70 558 25 24 Torsgatan 72 Email: johanc@easypublisher.com SE-113 37 STOCKHOLM
At 12:29 PM 8/1/2003 +0200, you wrote:
beno wrote:
Search engines don't like Web sites with deep directory structures.
Why do they care about the deep of a directory structure? Limites in the fields storing URL or what? I that case how much, and which search engines?
Do you have any references?
I have worked with one of the top 10 SEO experts in the world. The reason they care is because of spamdexting: spaming the indexes. beno
Search engines don't like Web sites with deep directory structures. I use such structure to develop my Web sites to take advantage of inheritance. I keep all my Python scripts in a separate directory as well as the basic content of each page. This, of course, makes things neat and tidy in my Zope. So I don't want to simply throw everything in the root dir! Is there a way to call scripts and Template Pages from other pages such that it renders as a simple URL without deep directories (e.g., http://mysite.com/main.html ) or frames?
Just to be picky, it's acquisition rather than inheritance. Certainly they're similar concepts, but not quite the same. There is a beast called TransparentFolder that does what you describe: reverse acquisition. http://www.zope.org/Members/hathawsh/TransparentFolders It has some known performance consequences. If you really mean "call", then you can do things like "root.scripts.someScript". If you mean "link to", then I'm afraid that things in general live where they live. There are also things like PortableHole, MovedObject, References, et al. (Also Redirector and Rewriter, which I never did get working.) --jcc -- "My point and period will be throughly wrought, Or well or ill, as this day's battle's fought."
At 11:26 AM 8/1/2003 -0500, you wrote:
Search engines don't like Web sites with deep directory structures. I use such structure to develop my Web sites to take advantage of inheritance. I keep all my Python scripts in a separate directory as well as the basic content of each page. This, of course, makes things neat and tidy in my Zope. So I don't want to simply throw everything in the root dir! Is there a way to call scripts and Template Pages from other pages such that it renders as a simple URL without deep directories (e.g., http://mysite.com/main.html ) or frames?
Just to be picky, it's acquisition rather than inheritance. Certainly they're similar concepts, but not quite the same.
There is a beast called TransparentFolder that does what you describe: reverse acquisition. http://www.zope.org/Members/hathawsh/TransparentFolders
It has some known performance consequences.
If you really mean "call", then you can do things like "root.scripts.someScript". If you mean "link to", then I'm afraid that things in general live where they live.
There are also things like PortableHole, MovedObject, References, et al. (Also Redirector and Rewriter, which I never did get working.)
Thanks for the direction. beno
participants (4)
-
beno -
Chris Withers -
J Cameron Cooper -
Johan Carlsson