Jump to content

URL path and subpaths with final .html


csaeum
 Share

Recommended Posts

URL path and subpaths

I would like to build my URL's like this.

http://www.example.com/seite1.html
http://www.example.com/seite2.html

http://www.example.com/seite1/unterseite1.html
http://www.example.com/seite2/unterseite2.html

http://www.example.com/seite1/unterseite1/unterseite1.html
http://www.example.com/seite2/unterseite2/unterseite2.html

I can go there and set many things, but I have not found that yet.

Is that possible and how or does one have to design a new module for that?

Ryan, it would be possible to include something in the core if it is not yet possible.

Link to comment
Share on other sites

There have been several threads regarding rewriting page URLs but most of them went towards different directions.

You could probably hook into several things and rewrite URLs.

I don't have a proper solution for this right now but I'm quite curious about the WHY.
Why do you want a URL structure like that?
It feels kind of outdated or Contao-like nowadays.

If it's because of OLD vs. NEW setup and URLs you could go different ways and redirect the old structure to the new structure.

  • Like 2
Link to comment
Share on other sites

How does your PW site-structure look like?

Does the parent / child structure match your desired URL structure?

And I agree with @wbmnfktr - this kind of structure belongs to a dusty museum, and not a site built in 2019...

Why do you need .html suffixes at all? Is it for legacy reasons? It feels wrong and cumbersome for so many reasons...

 

  • Like 2
Link to comment
Share on other sites

Is it really an old relic of this structure.
Yes this comes from my Contao times and for me this has proven itself.

I have already found some threads where it was discussed.

I also realize that many SEO's are arguing about it. But my knowledge and my experiences show that it is better not to do a folder structure with all but to put down a few pages in a folder.

So not always every page with "/" ends to leave but if then synonymous times directly off a few .html in it.

Yes it may be "old" and a "museum relic" but many people associate much with the good old ".html"

Sure, you could take away this final "/" and then have an alternative to the permanent folders and would then sometimes put in a folder, data. Only myself would like it better if you had the ".html" behind it.

I think it's good that @ryan is already here for us. But further flexibility would be even better.

Where would you spare yourself the umrouten also tw.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...