Support

Home Forums Event Espresso Premium Can't change permalink settings

Can't change permalink settings

Posted: December 11, 2014 at 1:08 am

Viewing 13 reply threads


skleijer

December 11, 2014 at 1:08 am

Only the default permalink setting functions on the site. Any other setting will break the links to the pages and events. Any idea how to solve this?

My system information is:
WordPress Versie:
4.0.1
PHP Versie:
5.3.29-1~dotdeb.0
MySQL Versie:
5.1.73
Event Espresso Version:
4.4.6.p

Kind regards,
Sya


skleijer

December 11, 2014 at 1:23 am

Solved by dissabeling the plugin Bullet Proof Security.


skleijer

December 11, 2014 at 2:12 am

Sorry, I was too quick. Right now, some events link correctly and others don’t. I did use the code in the theme functions.php file for rewriting ‘events’ to ‘workshops’ in the url.


Dean

December 11, 2014 at 4:53 am

Hi,

EE should not interfere with permalinks at all, in fact we recommend using the Post type permalink for events (anything other than the default really).

When you change the permalinks in General > Permalinks the act of saving should “flush” the permalinks.

It might be that the .htaccess is over ruling it somehow. You could test this by moving/deleting your existing .htaccess and see if that helps (please make a backup of the file beforehand!).

Also, are you running any caching plugins or services (e.g. Varnish on your server, or WP SUpercache)? If so you will need to flush your caches as well.


skleijer

December 11, 2014 at 5:44 am

I did everything above. I do not have a chaching tool running. What happens is that only links work to future or current events. Events that have past, get a 404 page. Even though the event page still exists. Just a minute ago I tried previewing the event from the event page. It won’t show. So now I doubting if it really is a permalink problem.


Ivan Dyakov

December 11, 2014 at 6:05 am

Have a look at this thread. It looks pretty similar.


Dean

December 11, 2014 at 6:10 am

Hi skleijer,

Can you provide a link to an existing event that works and one that doesn’t please?


skleijer

December 11, 2014 at 6:25 am

This one works: http://test2.design-bakery.nl/congres/psychiatrische-problematiek/
This one does not: http://test2.design-bakery.nl/congres/avondsymposium-supportive-care-in-de-oncologie-hoe-centraal-staat-de-patient-bij-u-18-november/
I also cannot preview the older events anymore from within the admin area.


Dean

December 11, 2014 at 6:54 am

Hi,

General Settings > Templates tab > Display Expired Events will resolve this.

However that is merely a workaround as it will also display expired events in your event list which may not be ideal.

I’ll raise a developer ticket to look into this.

Regarding previews, we no longer allow previews of events as it was causing some issues so we have (for now at least) disabled that feature.


skleijer

December 11, 2014 at 7:14 am

Aha. Thanks. Hm. It is not ideal indeed because I would only like to show active and future events in the event list. Thanks for the ticket.Hope there will be a solution.
Kind regards,
Sya


skleijer

December 11, 2014 at 7:29 am

I have this solution working: [ESPRESSO_EVENTS sort=”DESC” limit=”10″ show_expired=”false”]
Works fine!


Lorenzo Orlando Caum

  • Support Staff

December 11, 2014 at 7:56 am

Hi, did you need any further help with your support post?

Thanks


Lorenzo


skleijer

December 11, 2014 at 11:57 am

Well, it works. I have the following working for expired events:
[ESPRESSO_EVENTS sort=”DESC” title=”_” month=” January 2013″ show_expired=”true”]

[ESPRESSO_EVENTS sort=”DESC” title=”_” month=” February 2013″ show_expired=”true”]

[ESPRESSO_EVENTS sort=”DESC” title=”_” month=” March 2013″ show_expired=”true”]

[ESPRESSO_EVENTS sort=”DESC” title=”_” month=” April 2013″ show_expired=”true”]

[ESPRESSO_EVENTS sort=”DESC” title=”_” month=” May 2013″ show_expired=”true”]

[ESPRESSO_EVENTS sort=”DESC” title=”_” month=” June 2013″ show_expired=”true”]

[ESPRESSO_EVENTS sort=”DESC” title=”_” month=” July 2013″ show_expired=”true”]

[ESPRESSO_EVENTS sort=”DESC” title=”_” month=” August 2013″ show_expired=”true”]

[ESPRESSO_EVENTS sort=”DESC” title=”_” month=” September 2013″ show_expired=”true”]

Is there a year schortccode that I can use?
Otherwise: no this will work fine.


Dean

December 12, 2014 at 5:24 am

Is there a year shortcode that I can use?

No, the month parameter combines month and year, there is no separate one for year. You could add a category to the events e.g. 2012, 2013, etc and use that to list them.

Viewing 13 reply threads

The support post ‘Can't change permalink settings’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso