Page 1 of 1

Page alias/redirect?

Posted: Wed Oct 18, 2006 7:54 pm
by hansom
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.

Re: Page alias/redirect?

Posted: Tue Oct 24, 2006 12:22 am
by mattandaniel
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?

Posted: Thu Oct 26, 2006 4:19 am
by robsta
Yup I had to slapĀ  a




on the page's metadata to get it to work... which is a bit painful... but 'needs must'

Re: Page alias/redirect?

Posted: Fri Oct 27, 2006 3:54 pm
by Pierre M.
Send a redirect (301, 302...) at the protocol level (HTTP), not inside the page.
Use your webserver or an updated ContentAliases module.
PM

Re: Page alias/redirect?

Posted: Fri Oct 27, 2006 10:51 pm
by Dr.CSS
This can also be done in the menu with the Content Type drop down, make the page a Link and fill in the fields...

Re: Page alias/redirect?

Posted: Sat Oct 28, 2006 4:44 am
by Elijah Lofgren
hansom 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.
You may find MovedPages useful: http://dev.cmsmadesimple.org/projects/movedpages

Hope this helps,

Elijah

Re: Page alias/redirect?

Posted: Wed Nov 01, 2006 5:10 pm
by hansom
Elijah Lofgren wrote:You may find MovedPages useful: http://dev.cmsmadesimple.org/projects/movedpages
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.