WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.6 is now available!


Will it continue with WB? It goes on! | Geht es mit WB weiter? Es geht weiter!
https://forum.websitebaker.org/index.php/topic,32340.msg226702.html#msg226702


The forum email address board@websitebaker.org is working again
https://forum.websitebaker.org/index.php/topic,32358.0.html


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker

Your donations will help to:

  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!

You can donate by clicking on the button below.


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • General Community »
  • Global WebsiteBaker 2.8.x discussion »
  • Pages?
  • Print
Pages: [1]   Go Down

Author Topic: Pages?  (Read 14195 times)

orko3001

  • Guest
Pages?
« on: December 06, 2009, 11:29:50 PM »
Why does WB have pages? Surley WB needs only one page that queries the DB with an ID that is posted to it...

Cheers.
Logged

Offline Luisehahne

  • WebsiteBaker Org e.V.
  • **
  • Posts: 4548
  • Gender: Male
Re: Pages?
« Reply #1 on: December 07, 2009, 03:04:15 AM »
Think it's better for searchenginges

Dietmar
Logged
Note: Once the code has been generated, it is easy to debug. It's not a bug, it's a feature!

danfuh

  • Guest
Re: Pages?
« Reply #2 on: December 07, 2009, 03:39:58 AM »
You don't need mod_rewrite to get clean and searchengine riendly urls
Logged

orko3001

  • Guest
Re: Pages?
« Reply #3 on: December 07, 2009, 10:06:33 AM »
Yes, so if it's not better for search engines what other reason is there?
Logged

Argos

  • Guest
Re: Pages?
« Reply #4 on: December 19, 2009, 11:35:49 PM »
Meaningful page urls look better for people, are more easy to understand, remember, and communicate. Sites are primarily for people, not for search engines. Sometimes the technically most efficient way is not the best way.
Logged

orko3001

  • Guest
Re: Pages?
« Reply #5 on: December 20, 2009, 09:29:11 AM »
Again you don't need pages to have 'meaningful' and 'human friendly' urls:

http://roshanbh.com.np/2008/03/url-rewriting-examples-htaccess.html

so why have them?
Logged

Offline kweitzel

  • WebsiteBaker Org e.V.
  • **
  • Posts: 6983
  • Gender: Male
Re: Pages?
« Reply #6 on: December 20, 2009, 10:46:30 AM »
The real answer can only be given by Ryan. But ask yourself a question:

Would you be able to use mod rewrite in this extend like in your Link? Even if yes, 99% of our users can not. Should they be denied SEO and human friendly URLs?

cheers

Klaus
Logged

orko3001

  • Guest
Re: Pages?
« Reply #7 on: December 20, 2009, 10:53:41 AM »
My answer is 99% yes (if not 100%). It's only an upload of a simple text file. It's not a full upgrade of the system. The better question is - should the users be denied the opportunity to learn about this simple trick?

Cheers
Logged

orko3001

  • Guest
Re: Pages?
« Reply #8 on: December 20, 2009, 11:05:25 AM »
It's not even a mod...
Logged

Waldschwein

  • Guest
Re: Pages?
« Reply #9 on: December 20, 2009, 11:13:55 AM »
Hello!

Please consider .htaccess is _not_ a system requirement of WebsiteBaker 2.8! There are also non-apache configurations like IIS or some with PHP in CGI mode.

In the end everybody can get rid easily of "pages" - just delete the folder /pages and define it in the settings of WB.

Why there is pages - I think it has to do with the placebo .phps for every site. Consider Ryan wrote this in 2004 with compatibility to PHP4.1. http://web.archive.org/web/20041103010806/www.WebsiteBaker.org/pages/home.html

Yours Michael
Logged

Argos

  • Guest
Re: Pages?
« Reply #10 on: December 20, 2009, 12:06:40 PM »
Quote from: orko3001 on December 06, 2009, 11:29:50 PM
Why does WB have pages? Surley WB needs only one page that queries the DB with an ID that is posted to it...
Why do you ask? Is it for some reason, or just curiosity?
Logged

Offline PurpleEdge

  • Posts: 231
  • Gender: Male
    • the northern beaches
Re: Pages?
« Reply #11 on: December 28, 2009, 11:21:13 AM »
I'll weigh in here because the essentially-empty pages that website baker creates annoy me too. It's not a problem for sites with only a few pages, but what about sites with hundreds of pages?

If there is an easy way to eliminate the need for them, then I'm all for it!

I'm interested at the moment, in particular, because I have been referred to the ModX cms, which is similar to WB in many ways, and doesn't use empty pages! I would prefer to stick with WB because I am starting to get to know it, but the empty pages annoy me, and are not necessary with a few simple lines in the htaccess file - as explained at the ModX site!

So, if someone can explain to me what I need to do - I'm listening! :-)
« Last Edit: December 28, 2009, 11:23:09 AM by PurpleEdge »
Logged

Waldschwein

  • Guest
Re: Pages?
« Reply #12 on: December 28, 2009, 11:34:36 AM »
Hello!

I know that problem with the /pages - and it is really not really the best way. The only problem about it as I said before: WebsiteBaker is a PHP4 CMS, not a PHP5. It is working not only on Apache servers, but also on Microsoft IIS.
In fact due that "requirements" it's not easy to get rid of the (in my eyes) not admin-friendly pages. I think - when WebsiteBaker is moving away from that pages (I hope) quite not a single frontend module is working anymore, also quite much has to be recoded in Core. That would be a good step - but a really big one. So that's a task for the new-coded upcoming new version, but not for WebsiteBaker 2.x.
I don't know if there were attempts to get rid of /pages - but if there were, they are only custom recodes, that might not work anywhere else... And will explode the whole CMS, if there is installed "a normal" add-on.

Yours Michael
Logged

Argos

  • Guest
Re: Pages?
« Reply #13 on: December 28, 2009, 12:53:44 PM »
Quote from: PurpleEdge on December 28, 2009, 11:21:13 AM
I'll weigh in here because the essentially-empty pages that website baker creates annoy me too. It's not a problem for sites with only a few pages, but what about sites with hundreds of pages?
I'm not a coder, so maybe I don't understand the problem, but what's wrong wit even hundreds of empty pages? The're just empty files and folders on your webspace, without any impact on space or speed as far as I know. I try to understand what's the problem exactly... or is it just the wish for coders to see a system that is as "clean" as possible? Like I want to build HTML/CSS that is as clean as possible, even if sloppier code may works just as well in reality?
Logged

Offline PurpleEdge

  • Posts: 231
  • Gender: Male
    • the northern beaches
Re: Pages?
« Reply #14 on: December 28, 2009, 01:31:52 PM »
Quote from: Argos on December 28, 2009, 12:53:44 PM
... or is it just the wish for coders to see a system that is as "clean" as possible?

Yes, that is the answer. If there was some other purpose for these pages then maybe they could be justified, but if they are just to allow clean URLs then alternative techniques which are "cleaner" should be used.

It also affects the code needed to create the pages for every new page, and delete and re-create them when the page name is changed etc etc.
« Last Edit: December 28, 2009, 01:35:23 PM by PurpleEdge »
Logged

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • General Community »
  • Global WebsiteBaker 2.8.x discussion »
  • Pages?
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2