Forums / Setup & design / How does virtual URL forwarding work?

How does virtual URL forwarding work?

Author Message

Badger Mushroom

Friday 04 March 2005 9:11:10 pm

Hi, I was wondering if you have any ideas how URL forwarding work in ezpublish?

Say, I migrated a site to ezpublish, but I would like to keep some old URLs for sake for SEO. Say, I moved my content from /badgers/mushroom.htm to /badgers_mushroom, but I would still like to keep /badgers/mushroom.htm. Is this possible with ezpublish 3.5 URL forwarding? Or is that a completely different animal?

Gabriel Ambuehl

Saturday 05 March 2005 12:26:38 am

I think that's more of a case for mod_rewrite.

Visit http://triligon.org

Badger Mushroom

Saturday 05 March 2005 6:01:18 am

Oh okay. Then may I ask what exactly does virtual URL forwarding do?

Thanks.

Gabriel Ambuehl

Saturday 05 March 2005 6:29:51 am

To be honest, I couldn't really figure it out either. Might just try it...

Actually it seems like the URL translation feature in setup of 3.5 might do what you want (if it doesn't bother you too much to enter the old urls by hand ;-). It does, however, redirect you to the new URL, not show the new content under the old URL.

Visit http://triligon.org

Kristian Hole

Saturday 05 March 2005 6:39:15 am

Virtual URL forwarding forwards from one virtual url to an existing virtual url. Example you want a shortcut "/faq" to the node "/documentation/faq" on your site. Then you use a virtual url.

System URL forwarding on the other hand forwards from a "nice" url to a system url (which typically consists of module name and some parameters). Example: Nice url "/about", system url: "/content/view/full/2". "Nice" urls are created automatically when you publish an object.

Here is some documentation about ezpublish urls:
http://ez.no/ez_publish/documentation/ez_publish_basics/ez_publish_urls

Hope this was helpful.

Kristian

http://ez.no/ez_publish/documenta...tricks/show_which_templates_are_used
http://ez.no/doc/ez_publish/techn...te_operators/miscellaneous/attribute