Closed (fixed)
Project:
Path redirect
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
1 Dec 2009 at 07:49 UTC
Updated:
15 Feb 2010 at 14:33 UTC
Hello
How could I redirect a fixed path to a node which is changing depending on a View?
for example:
I've created a View with 1 result and giving me the node of the latest node of a taxonomy term. I would like that node to be accesible from a fixed path like: www.site.com/photoblog
so each time a user visits /photoblog it is redirected to node/134 or node/135 or node/187 depending on which picture node is the latest uploaded...
is it possible? Thanks !
Comments
Comment #1
dave reidFor this you'd want to give your view a page display and a path of 'photoblog' within the Views UI. I wouldn't recommend path_redirect for this at all.
Comment #2
hedac commentedmy problem is that it is not the same to display a view of a node. than to visit the node... specially when I need the statistics to update when visit one node.
I think giving more dynamic options to path redirect module would be great... to do things you can't do with apache mod_rewrite
Comment #4
michalczernik commentedAny luck with that? I'm looking for exactly same solution...
Thanks!