[EventCalendar] Urgent: permalinks for events show date posted
Steve Winton
stevewinton at gmail.com
Sat Mar 3 09:44:09 UTC 2007
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
More information about the EventCalendar
mailing list