hi there, I usually keep things as simple as possible with my navigation and templates and have used dynamic folders for sub-navigation. This time I decided to use nested pages for the About section of the site as I wanted the pretty URLs to be:
www.abc.com/about/general-information/
www.abc.com/about/history/
www.abc.com/about/testimonials/
i.e. no .html suffixes
as it looks more consistent than suddenly coming across .html pages
The first 2 links can share a template but the testimonials page is listing the cloned pages of another template called testimonials_repository.php and showing a photo in the right hand column.
I had thought that redirects or masquerades would allow me to get what I was after. But redirects would give me www.abc.com/testimonials/ (i.e. losing the about/) and masquerades is for use with index.php
I will probably put in a check for the page ID and if it's the testimonials page I'll do the listing and photo and the client will have to ignore all the other parts of the template showing up in the Admin Panel.
I wonder if this is the best solution?
www.abc.com/about/general-information/
www.abc.com/about/history/
www.abc.com/about/testimonials/
i.e. no .html suffixes
as it looks more consistent than suddenly coming across .html pages
The first 2 links can share a template but the testimonials page is listing the cloned pages of another template called testimonials_repository.php and showing a photo in the right hand column.
I had thought that redirects or masquerades would allow me to get what I was after. But redirects would give me www.abc.com/testimonials/ (i.e. losing the about/) and masquerades is for use with index.php
I will probably put in a check for the page ID and if it's the testimonials page I'll do the listing and photo and the client will have to ignore all the other parts of the template showing up in the Admin Panel.
I wonder if this is the best solution?