[EventCalendar] Urgent: permalinks for events show date posted
Alex Tingle
alex at firetree.net
Sat Mar 3 13:11:55 UTC 2007
Steve, Karl,
The changes that Karl has been complaining about are by design. EC posts
are now much more like normal WP posts than before. Therefore they show
up in archives on their posting date - unless you suppress that
behaviour with "Keep Events Separate".
The reason for this was that my primary customer (my wife) wanted to
advertise her events in her blog. Just having a line show up in
"Upcoming Events" wasn't enough. She was making a second (normal) post,
just to point to the event and provide a discussion forum for it. Now,
the same post can serve both functions, which is far more natural. "Keep
Events Separate" is intended to keep events off the front page, which is
more like the old behaviour.
I think the best solution to your "misleading" permalinks, is to set up
a new permalink structure just for events, as Steve has suggested. If
you get that working, then please post it back here so we can all
benefit.
-Alex
--
On Sat, 3 Mar 2007 09:44:09 +0000
"Steve Winton" <stevewinton at gmail.com> wrote:
> Karl,
>
> I see what you mean.
>
> I think there should be a fairly elegant solution to this by employing
> the rewrite_rules_array filter and having 2 sets of rewrite rules (one
> for your pre-EC3.1 posts, and one for your post-EC3.1 posts). I'd like
> to look into this further to test my theory, as I think this would be
> a common problem for users upgrading to 3.1. I'm a little busy right
> now, but I hopefully I can find some time next week to knock up a
> little plugin to solve this issue!
>
> Cheers,
> Steve
>
> On 3/2/07, Karl Bedingfield <karl at bedingfield.biz> wrote:
> > I've gone back to 3.04 as I have been unable to get any answer as to why my
> > future posts were showing in permalinks as date posted instead of future
> > date. As you can see, reverting back to 3.04 rectifies the problem:
> > http://www.elyonline.co.uk/archives/2007/03/02/camra-elysian-beer-festival-2007/
> > where as with 3.1 I had
> > http://www.elyonline.co.uk/archives/2007/01/30/camra-elysian-beer-festival-2007/
> > which shows date it was posted.
> >
> > Karl
> >
> >
> > On 02/03/07, Karl Bedingfield <karl at bedingfield.biz> wrote:
> > > Darn, the other problem is that my future events are also showing in my
> > archives page as when posted when in the past no future dates used to show
> > here: http://www.elyonline.co.uk/archive-index/
> > >
> > > Does anyone have any clues why this would be happening now?
> > >
> > > I am a little clueless right now.
> > >
> > > Thanks
> > > Karl
> > >
> > >
> > > On 02/03/07, Steve Winton <stevewinton at gmail.com> wrote:
> > >
> > > > I wouldn't say this was a major problem. You might consider changing
> > > > your permalink structure to something like:
> > > >
> > > > /archives/%postname%/
> > > >
> > > > so that the post date doesn't appear at all in the permalink. This
> > > > should be ok, as the %postname%, or slug, is guaranteed to be unique,
> > > > I believe.
> > > >
> > > > If this doesn't suit your needs then you can do some pretty fancy
> > > > stuff with permalinks and rewrite rules in WP using the
> > > > rewrite_rules_array filter. I can post some more details on this, if
> > > > required, or just search the WP discussion forums over at
> > > > http://wordpress.org/support/!
> > > >
> > > > Cheers,
> > > > Steve
> > > >
> > > > On 3/2/07, Karl Bedingfield < karl at bedingfield.biz> wrote:
> > > > > Hi there,
> > > > >
> > > > > I have a major problem. I just noticed that all my future permalinks
> > do not
> > > > > show the future date but the date the event was posted.
> > > > >
> > > > > See here:
> > > > >
> > http://www.elyonline.co.uk/archives/2007/01/30/camra-elysian-beer-festival-2007/
> > > > > although the event date is 2007/03/02
> > > > >
> > > > > Any ideas how I fix this please?
> > > > >
> > > > > --
> > > > > Regards
> > > > > Karl Bedingfield
> > > > > _______________________________________________
> > > > > Blog: http://wpcal.firetree.net/
> > > > > EventCalendar at firetree.net mailing list
> > > > > Unsubscribe:
> > http://penguin.firetree.net/eventcalendar
> > > > >
> > > > >
> > > >
> > >
> > >
> > >
> > > --
> > > Regards
> > > Karl Bedingfield
> >
> >
> >
> > --
> > Regards
> > Karl Bedingfield
>
> _______________________________________________
> Blog: http://wpcal.firetree.net/
> EventCalendar at firetree.net mailing list
> Unsubscribe: http://penguin.firetree.net/eventcalendar
--
:: Let me solve your problems: http://www.firetree.net/consulting/
:: alex.tingle AT firetree.net +44-7901-552763
More information about the EventCalendar
mailing list