Tagged: wpml
-
AuthorPosts
-
March 11, 2015 at 8:26 pm #410075
HI all, I updated WPML to latest version and now all the portfolio permalinks are not working.
I reset the permalinks option to default and back to custom and it did not solve the problem.
Any help is appreciated.March 12, 2015 at 7:14 am #410324Hey Jorge!
Could you try to delete the .htaccess file in the root folder of your WordPress installation, then go to Permalinks and chose the default option and save, then chose the permalink option you prefer and save again to see if that works?
Cheers!
RikardMarch 12, 2015 at 2:07 pm #410450HI Rikard, I did it and all the portfolio items shows 404 error.
Any other thing I can do?
March 13, 2015 at 5:10 am #410836March 13, 2015 at 2:55 pm #410976# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule># END WordPress
March 14, 2015 at 3:47 pm #411517HI again, any news on how to solve this issue?
Thanks in advance.
March 16, 2015 at 3:54 pm #412241Hi Rikard, any chance you can help me solve this 404 thing?
Thanks in advance.
March 17, 2015 at 8:12 pm #413197Hey!
They should be working now. Try clearing your browser cache and check again.
Make sure that the portfolio items base and category base are not the same.
Regards,
ElliottMarch 23, 2015 at 7:57 pm #416629This reply has been marked as private.March 24, 2015 at 10:09 am #416965Hey!
The spanish URL is acting strange, if you go to http://www.playgolf.mx/es/mexico/el-tinto-cancun-country-club/ it will redirect to http://www.playgolf.mx/es/mxico/el-tinto-cancun-country-club/ , notice the missing e in Mexico, could it have something to do with the é in México?
Cheers!
RikardMarch 24, 2015 at 2:07 pm #417062Hi Rikard, how can I fix that? I changed the portfolio item base to mexican_caribbean and portfolio categories base to mexican_caribbean_golf and all the Spanish links redirect to their English version.
Let me know how to fix it and see if it works.
Thanks
- This reply was modified 9 years, 9 months ago by jorgepelaez. Reason: Made changes in permalinks
March 26, 2015 at 4:17 pm #418565Hi!
For the translations I don’t think you can use special characters in there by default. I found some topics about this.
https://wordpress.org/support/topic/keeping-special-characters-in-migrated-permalinks-without-causing-a-404.
http://wordpress.stackexchange.com/questions/33799/problem-with-special-character-wordpress
http://forum.bytesforall.com/showthread.php?t=1120Since it’s not really a theme issue I would try posting this in the WordPress support forums to see if anyone has found a workaround for that.
Cheers!
ElliottMarch 26, 2015 at 4:42 pm #418584March 27, 2015 at 6:08 am #419097April 1, 2015 at 11:38 pm #422212This reply has been marked as private.April 3, 2015 at 4:40 pm #423153Hi guys, any news on how to solve this?
Is there any chance I can roll back the theme? This might solve it as I explained before.Thanks
April 5, 2015 at 7:07 pm #423700Hey! Have you actually ever asked the WPML team if they could help you with this. I am not sure why this happens mostly due to the fact that I dont know if, how and when the permalink structure gets set in WPML. Everything seems to work fine for me when I try to use it on my testinstallation so maybe there is a problem with one of the many plugins you are using?
I am sure the could at least give us some guidance were to look at and if we can somehow fix this…
April 6, 2015 at 3:38 pm #423971I will ask them again and will let you know. What is strange is that this happened after Enfold update.
April 7, 2015 at 3:23 pm #424735Having the same issue – obviously after updating either WPML or Enfold.
I have a translation for the URL-slug of the portfolio-items. “design-details” for the english original in the permalinks section for the portfolio items base, and “produkt-details” as the german translation. In german site language the portfolio is built with the english permalink which leads to a 404, because the item ist reachable only with the german permalink.
Can You please investigate
Georg
April 9, 2015 at 7:39 am #425726Hi!
@Georg: Did you follow the instructions on how to properly translate the portfolio slug? http://kriesi.at/documentation/enfold/translating-the-portfolio-slug-with-wpml/Best regards,
IsmaelApril 9, 2015 at 10:34 am #425808Hi Ismael,
as it was working before it should be an wonder, but I’ve checked and saved again – I have
* Portfolio Items – translate
* Use different slugs
* German: produkt-details
* English: design-detailsSo this should not be the problem.
Regards,
GeorgApril 9, 2015 at 3:50 pm #426003I got an answer from WPML and they just released an update for the WPML string stranslation plugin that solves this issue.
https://wpml.org/forums/topic/custom-post-type-slug-translation-not-working-in-3-1-9-4/#post-592399
And it seems to me it works great.
What I have done:
1. Headed to FTP wp-content/plugins/wpml-string-translation/inc/slug-translation.php
2. located the line 262 in that file
3. changed this:1
$slug_this = trim( $post_type->name, ‘/’ );
to this:1
$slug_this = trim($post_type->rewrite[‘slug’], ‘/’);I think they included this fix in the latest release.
April 9, 2015 at 3:55 pm #426009Hey!
@jorgepelaez Great! Thank you for sharing your solution :)
@georgludwig Please refer to fix @jorgepelaez shared aboveBest regards,
YigitApril 9, 2015 at 4:02 pm #426016April 9, 2015 at 4:10 pm #426020 -
AuthorPosts
- The topic ‘Portfolio permalinks and WPML not working’ is closed to new replies.