Tagged: url permalink wpml
29 June 2018 at 12:26 #268937 August 2018 at 09:24 #27745Dan TonetyParticipant
Any solution?9 August 2018 at 14:11 #27808jannesmannesParticipant
I’m having the same issue with the combination of WPML 4.0.5 and Events maker 1.6.14.
After some debugging I found out the url rewrite in Events maker is seems to cause the issue, but I can’t figure out what exactly.
Can you provide a fix for this?4 September 2018 at 10:46 #28424jannesmannesParticipant
Any solution for this?
The issue is that WPML changed something in the url structure and removed a trailing slash from the base url of the website. For some reason Events Maker doesn’t add a slash between the base url and the event_rewrite_base slug.17 October 2018 at 15:23 #29367FlexZaParticipant
I solved the issue above by editing the handler that is responsible for rewriting the permalinks in relation to WPML.
This is done by editing the file ‘translate-rewrite-slugs.php’ located in the ‘/includes/libraries/’ subdirectory of the plugin-folder.
On line 263 I added the missing slash after the home_url which results in the following edited line:
$post_link = esc_url( icl_get_home_url() . '/' . $this->post_types[$post->post_type]->translated_slugs[$lang]->rewrite['slug'] . '/' . ( $leavename ? "%$post->post_type%" : $post->post_name ) );
After this you have to re-save the permalinks in the plugin settings (most right tab), followed by flushing your site permalinks.
- You must be logged in to reply to this topic.
hide the flip and rotate buttons
5 days, 4 hours ago
Inline Gallery does not work.
by haoxin li
1 week ago
Get download link
1 week, 2 days ago
1 week, 5 days ago
how to fix this code (?cn-reloaded=1) added to url end
1 hour, 35 minutes ago
LIghtbox does not work
2 weeks, 5 days ago
Watermark on scaled, cropped or rotated image
2 weeks, 6 days ago
Front end user uploaded file to post not showing up in attachments
2 weeks, 4 days ago
Error when using Shortcode
3 weeks, 3 days ago
Showing 2 Million Views on the dashboard an only 10k Views on Website?
3 weeks, 4 days ago