February 04, 2012, 07:28:19 PM

Web Content book

Author Topic: Awb url structure.  (Read 854 times)

Offline MoonWolf

  • Newbie
  • *
  • Posts: 26
  • Karma: +0/-0
Awb url structure.
« on: September 16, 2010, 08:35:01 AM »
Hi,

I would like to be able to save blank fields under url structure settings.
If i empty the field it automaticly sets back a defaultvalue.  for ex. /pages under page structure.

At the moment i have to manualy edit the database to make this happen.
This is so i can use rewriteing like this: RewriteRule /(.*).html$ /pages.php?keyword=$1 [L]

if i make / only in settings awb will generate http://mydomain.com//page.html and that doubleslash is breaking the page.

Regards,
MoonWolf

Offline AdSenseBoy

  • Software Publisher
  • Administrator
  • Sr. Member
  • *****
  • Posts: 466
  • Karma: +3/-0
  • Just another geek
    • Business Blog of AdSenseBoy
Re: Awb url structure.
« Reply #1 on: September 16, 2010, 01:09:16 PM »
MoonWolf, thanks for your request. However, this feature could not be added because of security and performance reasons.


Let's say that AWB allows storing pages on main URL (like awbgenius.com/somepage.html). But what happens if you have keywords like 'sitemap', 'partners', or similar words which are reserved for some additional pages? If any visitor requests for page like awbgenius.com/sitemap.html, AWB will don't know what page (original sitemap or content page about keyword 'sitemap') to serve. It may also cause some security issues, so you are playing with fire if you perform these "hacks" now.


It could be possible after making some extra rules, but it will also require complete rewriting of AWB software, therefore it's impossible to use empty (blank) URLs now.
I'm looking forward to serve you!
AdSenseBoy

Offline Jeremy

  • Full Member
  • ***
  • Posts: 138
  • Karma: +1/-0
Re: Awb url structure.
« Reply #2 on: September 16, 2010, 03:51:46 PM »
I'm fine about URLs, I use default settings anyways

Offline MoonWolf

  • Newbie
  • *
  • Posts: 26
  • Karma: +0/-0
Re: Awb url structure.
« Reply #3 on: September 16, 2010, 04:49:27 PM »
Well i don't see this as a security reson. first off i can make sure myself that i don't use single keywords like sitemap or categories . Second of all Since the .htaccess file contain the rewriterule for pages on the last row all other revriterules will be applied before. So sitemap.xml will still go to the sitemap. The only loss IF i would use such keyword is that i will loose that keyword.

I use this feature curently on my sites without any trouble but i can't use save button since i manualy edited database and it will reset my changes.  I don't see this as playing with fire since i look over all keywords (no single ones) i put in and the rewriterules are as they should be :).

Anyway. this is not a must for me since i can edit easily the DB manualy but it would be smoother if it werent restricted.

Regards,
MoonWolf

MoonWolf, thanks for your request. However, this feature could not be added because of security and performance reasons.


Let's say that AWB allows storing pages on main URL (like awbgenius.com/somepage.html). But what happens if you have keywords like 'sitemap', 'partners', or similar words which are reserved for some additional pages? If any visitor requests for page like awbgenius.com/sitemap.html, AWB will don't know what page (original sitemap or content page about keyword 'sitemap') to serve. It may also cause some security issues, so you are playing with fire if you perform these "hacks" now.


It could be possible after making some extra rules, but it will also require complete rewriting of AWB software, therefore it's impossible to use empty (blank) URLs now.

Offline AdSenseBoy

  • Software Publisher
  • Administrator
  • Sr. Member
  • *****
  • Posts: 466
  • Karma: +3/-0
  • Just another geek
    • Business Blog of AdSenseBoy
Re: Awb url structure.
« Reply #4 on: September 17, 2010, 01:52:12 AM »
Yes, I understand that you do not use keywords like sitemap (or other reserved keywords), but I need to think about each single client when making upgrades to any tool, and some clients might surely have these keywords entered.
I'm looking forward to serve you!
AdSenseBoy

Offline JagMan

  • Full Member
  • ***
  • Posts: 112
  • Karma: +0/-0
Re: Awb url structure.
« Reply #5 on: September 17, 2010, 04:23:29 AM »
I just checked some sites and they have keyword 'sitemap' :) It's because I use big lists of keywords from Wordtracker, so I don't review each word manually.

Offline MoonWolf

  • Newbie
  • *
  • Posts: 26
  • Karma: +0/-0
Re: Awb url structure.
« Reply #6 on: September 17, 2010, 06:27:41 AM »
Well my voice can't be heard everytime i guess. :)

However those who use for ex 'sitemap' as keyword do they modify the .htacess and then changes the urlstructure to blank. Or a better question.. would they do it if it were possible? I get the feeling that AWB mostly is used for a quick set and forget system. Like Jagman stated that he don't even check all keywords. would they even bother changing the structure?

Anyway. I don't "need" it since i can "hack" it myself :)

Happy weekend,
//MoonWolf

Offline Jeremy

  • Full Member
  • ***
  • Posts: 138
  • Karma: +1/-0
Re: Awb url structure.
« Reply #7 on: September 18, 2010, 09:04:19 AM »
I get the feeling that AWB mostly is used for a quick set and forget system. Like Jagman stated that he don't even check all keywords. would they even bother changing the structure?

I don't tweak lots of settings. Default settings work pretty well on my sites, so I just install it and forget.

Offline no_dj

  • Full Member
  • ***
  • Posts: 156
  • Karma: +1/-0
Re: Awb url structure.
« Reply #8 on: September 19, 2010, 05:13:54 AM »
Isn't it (install & forget) the main goal of Automatic Website Builder? :)

Offline MoonWolf

  • Newbie
  • *
  • Posts: 26
  • Karma: +0/-0
Re: Awb url structure.
« Reply #9 on: September 19, 2010, 09:08:08 AM »
Ofcourse it is a install and forget. But what i mean is that i think most people do quick install and forget. install > make categories > set keywords > leave.

I want to do more.

//MoonWolf