The solution for Short (SEO Friendly) URL's

snaak

hi,
When I push the submit button I got redirected to http://www.domain.com/pages/?_page=pages.
Is this an error in the .htaccess file? Or do you know a workaround.

Ruud

Quote from: snaak on December 13, 2010, 08:25:38 PM
question: there is a problem when submitting form. In the help section this is mentioned only no solution is given. Any idea how to fix this?
I have several sites with forms that work ok, what is your problem?
[url=https://dev4me.com/modules-snippets/]Dev4me - WebsiteBaker modules[/url] - [url=https://wbhelp.org/]WBhelp.org[/url]

snaak

question: there is a problem when submitting form. In the help section this is mentioned only no solution is given. Any idea how to fix this?

SickBoy75

Quote from: Ruud on May 20, 2010, 01:51:12 PM
If you (or a webmaster) ever creates a page called admin or media (or any other WB directory) you will be in trouble.
The /pages (or whatever you name it) is there for a reason.


good to know, i'm the only one admin this web, so no problem.

The trouble is that the WB direectory will be deleted, isn't it??

For new instalations i will use a SEO word instead of /pages, for me it's enough

chio

Does someone here REALLY think, Google cares about the str_length of URLs?

Non SEF-URLs look like /index.php?bl=12784534&blu=12342kXX&ble=9duz34jsdf&sup=sdf8sdjsdf345()

WB generates PERFECT SEF-URLs. The only issue is that URLs depend on Menu-Titles.

Ruud

If you (or a webmaster) ever creates a page called admin or media (or any other WB directory) you will be in trouble.
The /pages (or whatever you name it) is there for a reason.
[url=https://dev4me.com/modules-snippets/]Dev4me - WebsiteBaker modules[/url] - [url=https://wbhelp.org/]WBhelp.org[/url]

SickBoy75

I don't really understand the problem...

I also didn't like the www.myweb/pages/home.php, so i remove the /pages in the WB config.... and thats all!!!

and i don't have any problem with menus or any other thing.

I also changed the /bakery (which is a default) to make it more SEO, and post the mod on this forum

PurpleEdge

#5
Snoork - have a look at this link...

https://forum.websitebaker.org//index.php/topic,15507.0.html

Ruud

Sorry no, not in the way this "hack" is made.

You could try the other solution that Hans>NUL suggested.
[url=https://dev4me.com/modules-snippets/]Dev4me - WebsiteBaker modules[/url] - [url=https://wbhelp.org/]WBhelp.org[/url]

snark

is there a simple way to maintain the levelstructure so that the problem with pages with the same menutitle will not occur..

so that  www.website.com/pages/seofriendlyurl.php

will be

www.website.com/seofriendlyurl

and

so that  www.website.com/pages/subpage/seofriendlyurl.php

will be

www.website.com/subpage/seofriendlyurl




Hans>NULL

/dev/null Ort ohne Wiederkehr

Ruud

#1
Despite WebsiteBaker produces url's that are believed to be SEO friendly, a lot of people ask for even more friendly URL's.

I created a set of stand alone files (Not a module/snippet) that will enable url's in WebsiteBaker like www.mysite.tld/about_us instead of www.mysite.tld/pages/about_us.php.

The are 3 parts involved:

1. a .htaccess that detects any parameter not being a directory or file and forward that parameter to a script.
2. a script that will do a lookup for the parameter and find the correct page.
3. a Droplet that will transform any internal link on a page to the "short" form.

More explanation and a download can be found on http://short.dev4me.nl/howto/

Please note this approach might not work for every website! Please test before using it in production websites!!

Please let the community know if this works for you.

Download: http://short.dev4me.nl/download/


Ruud
(edit: corrected links)
[url=https://dev4me.com/modules-snippets/]Dev4me - WebsiteBaker modules[/url] - [url=https://wbhelp.org/]WBhelp.org[/url]