URL Structure

I have the following example page and wondered if it is better to have the shortest URL possible, e.g. http://www.example.com/services/myservice.php or is it better to have just http://www.example.com/myservice.php

Will having a sub directory relating to the page be beneficial, e.g /services/?

Thanks

Google’s advice is to keep it simple and readable.

^that

It may be one thing to have your filesystem structure like
discourse/app/assets/javascripts/discourse/components/select-box/select-box-filter.js.es6 but you certainly wouldn’t want anything that deep for your site navigation.

Not that visitors wouldn’t be able to navigate if a site was organized like that, but not everyone is techy enough that they would consider it normal.

IMHO, if it makes sense to you to keep “myservice” top level, do that, if it makes more sense to have it as a “sub”, do that. The trick is to find a balance between having everything in one big lump and having everything branched off into its own nook.

1 Like

URL structure should be friendly and tabs should be added with breadcrumb related.

Shorter URL is more better than longer. It more easy to understand and read.