Hi,
How can I create a page that doesn't contain any content but instead is an alias for another page? What I want to achieve is that when the url http://example.com/foo is accessed it either redirects to http://example.com/foo/bar or, alternatively, returns the same content that the latter url would have returned. Is this possible?
TIA.
Page alias/redirect?
-
mattandaniel
Re: Page alias/redirect?
There is the ContentAliases module, but it's not compatible with the latest cmsms build yet, as far as I know
Re: Page alias/redirect?
Yup I had to slap a
on the page's metadata to get it to work... which is a bit painful... but 'needs must'
on the page's metadata to get it to work... which is a bit painful... but 'needs must'
-
Pierre M.
Re: Page alias/redirect?
Send a redirect (301, 302...) at the protocol level (HTTP), not inside the page.
Use your webserver or an updated ContentAliases module.
PM
Use your webserver or an updated ContentAliases module.
PM
Re: Page alias/redirect?
This can also be done in the menu with the Content Type drop down, make the page a Link and fill in the fields...
- Elijah Lofgren
- Power Poster

- Posts: 811
- Joined: Mon Apr 24, 2006 1:01 am
Re: Page alias/redirect?
You may find MovedPages useful: http://dev.cmsmadesimple.org/projects/movedpageshansom wrote: Hi,
How can I create a page that doesn't contain any content but instead is an alias for another page? What I want to achieve is that when the url http://example.com/foo is accessed it either redirects to http://example.com/foo/bar or, alternatively, returns the same content that the latter url would have returned. Is this possible?
TIA.
Hope this helps,
Elijah
Note: I don't have time to take on any more projects. I'm quite busy. I may be too busy to reply to emails or messages. Thanks for your understanding. 
-
hansom
Re: Page alias/redirect?
Thanks for taking time to reply, but from what I understand MovedPages doesn't help me here. What I would like is the ability to instead of writing content for a specific page specify another page that the former is an alias for (or link to if you so like). For example I may have a page at the location /Stuff/Things but also a page /Things that simply redirects the user to /Stuff/Things. I had imagined there was a Content Type that made this possible.Elijah Lofgren wrote:You may find MovedPages useful: http://dev.cmsmadesimple.org/projects/movedpages

