Home › Forums › Calendar Products › Events Calendar PRO › URL with double bar
- This topic has 7 replies, 2 voices, and was last updated 11 years, 10 months ago by
Barry.
-
AuthorPosts
-
June 20, 2014 at 3:27 am #237698
mcomarketing
Participanthi!
please, see this url
http://s511456428.mialojamiento.es/aloha-news/es/event/if you make click to the next month shows this url with double bar like this?
http://s511456428.mialojamiento.es/aloha-news/es//event/2014-07/if you make a copy of this address and paste again, shows correct url without double bar.
well, my problem is… if you make click to the next month and redirect to a url with double bar, the datail of event is only in english not in spanish. The links button “next and previous month” offer a url strange, but only one time, if you make next again is correct.
¿can you help us, please?
June 20, 2014 at 7:21 am #238194Barry
MemberHi – thanks for getting in touch.
I’m sorry you’re facing these issues and would love to get a better sense of what might be causing them. The first thing that catches my eye is the structure of those permalinks: is it possible you are using a translation plugin, such as WPML or qTranslate?
If so, does deactivating that plugin restore normal operation of The Events Calendar?
June 24, 2014 at 1:58 am #246567mcomarketing
Participantyes, i am using WPML
the permalinks structure are
/%category%/%postname%/but, i can’t deactivate de plugin for translation, the site are in two languages
the double bar is only in the first click in next month.
thanks
June 24, 2014 at 12:21 pm #247926Barry
MemberHi – unfortunately (as we covered in one of the other threads you opened) we can’t offer a great deal of assistance when integrating with WPML. It’s definitely worth approaching the WPML team in case they have any insights to offer, but right at this time there isn’t too much we can do in situations like these.
June 24, 2014 at 11:15 pm #249175mcomarketing
Participantthanks,
June 25, 2014 at 6:40 am #249982Barry
Member…One last thing – a bit of a shot in the dark, but could be worth a try – is adding the following snippet to your theme’s functions.php file:
add_filter( 'tribe_events_getLink', 'resolve_wpml_link_issue' ); function resolve_wpml_link_issue( $link ) { $link = str_replace( '//', '/', $link ); return str_replace( ':/', '://', $link ); }Might that help? If not, unfortunately, it may be best to seek help from the WPML team.
June 25, 2014 at 11:29 pm #252021mcomarketing
Participantthank you very much!
Now it works perfectly.June 26, 2014 at 9:47 am #253032Barry
MemberAwesome 🙂
-
AuthorPosts
- The topic ‘URL with double bar’ is closed to new replies.
