Posted: 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: Kind regards, |
|
Solved by dissabeling the plugin Bullet Proof Security. |
|
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. |
|
|
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. |
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. |
|
|
Have a look at this thread. It looks pretty similar. |
|
Hi skleijer, Can you provide a link to an existing event that works and one that doesn’t please? |
This one works: http://test2.design-bakery.nl/congres/psychiatrische-problematiek/ |
|
|
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. |
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. |
|
I have this solution working: [ESPRESSO_EVENTS sort=”DESC” limit=”10″ show_expired=”false”] |
|
Hi, did you need any further help with your support post? Thanks — |
|
Well, it works. I have the following working for expired events: [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? |
|
|
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. |
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.