Mod_rewrite question
Posted: Fri 11. Mar 2005, 16:06
Hi
I was wondering if the mod rewrite function for phpwcms could be made to include the pathway of where you are in the site - like a breadcrumb - for example at the moment however deep you are in the site the url is always written like this
http://www.mysite.com/photography.phtml
This is great but is it posible to include the hierarchy of the site in the url - ie if the section 'photography'' is a child of the section 'Portfolio' it would be written like this:
http://www.domain.com/portfolio/photography.phtml
I noticed that in previous versions of wcms you could use '/' in an alias and thus produce this effect (as long as you had a base href link in the template) . This is no longer possible in the current DEV release.
Some may say this is not really neccessary but I think it looks more professional.
Cheers
I was wondering if the mod rewrite function for phpwcms could be made to include the pathway of where you are in the site - like a breadcrumb - for example at the moment however deep you are in the site the url is always written like this
http://www.mysite.com/photography.phtml
This is great but is it posible to include the hierarchy of the site in the url - ie if the section 'photography'' is a child of the section 'Portfolio' it would be written like this:
http://www.domain.com/portfolio/photography.phtml
I noticed that in previous versions of wcms you could use '/' in an alias and thus produce this effect (as long as you had a base href link in the template) . This is no longer possible in the current DEV release.
Some may say this is not really neccessary but I think it looks more professional.
Cheers
