Removing page names from url titles.
This is an open discussion with 4 replies, filed under Troubleshooting.
Search
Try url_router extension. This does exactly what you are after.
root page params - does exactly that :) - Takes a page and if there are set parameters which do not match with any symphony page will redirect them to another page of your choice.
The URL Router incorporated Root Page Params in the last major version increase.
All you would have to do with the URL Router is have your homepage as the handle content
an the parameter is what the about-us
will resolve to. That way, calling http://www.example.com/about-us
will instantly resolve to http://www.example.com/content/about-us
Ah perfect thanks guys.
Create an account or sign in to comment.
I'm trying to setup the site that I'm working on to have an area for content. Each piece of content is a single page of the site.
So for example if someone make a new piece of content with the title "About Us" the corresponding url would be
http://www.example.com/content/about-us
I'm trying to figure out how to remove the page name from the URL structure so I would get
http://www.example.com/about-us
Am I going about this the right way or should I try something else?
Thanks