Tagged: 

Viewing 25 posts - 1 through 25 (of 25 total)
  • Author
    Posts
  • #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.

    #410324

    Hey 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!
    Rikard

    #410450

    HI Rikard, I did it and all the portfolio items shows 404 error.

    Any other thing I can do?

    #410836

    Hi!

    Could you paste what is inside your .htaccess file please?

    Cheers!
    Rikard

    #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

    #411517

    HI again, any news on how to solve this issue?

    Thanks in advance.

    #412241

    Hi Rikard, any chance you can help me solve this 404 thing?

    Thanks in advance.

    #413197

    Hey!

    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,
    Elliott

    #416629
    This reply has been marked as private.
    #416965

    Hey!

    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!
    Rikard

    #417062

    Hi 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, 6 months ago by jorgepelaez. Reason: Made changes in permalinks
    #418565

    Hi!

    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=1120

    Since 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!
    Elliott

    #418584

    Hi Elliot, I solved the problem changing some WPML settings and disable some WPML Media settings, now everything works correctly.

    Thanks for your help.

    #419097

    Hi!

    Great, glad we could help :)

    Cheers!
    Rikard

    #422212
    This reply has been marked as private.
    #423153

    Hi 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

    #423700

    Hey! 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…

    #423971

    I will ask them again and will let you know. What is strange is that this happened after Enfold update.

    #424735

    Having 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

    #425726

    Hi!


    @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,
    Ismael

    #425808

    Hi 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-details

    So this should not be the problem.

    Regards,
    Georg

    #426003

    I 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.

    #426009

    Hey!


    @jorgepelaez
    Great! Thank you for sharing your solution :)

    @georgludwig
    Please refer to fix @jorgepelaez shared above

    Best regards,
    Yigit

    #426016

    Hi Yigit – did the trick.


    @jorgepelaez
    – many thx!!

    Georg

    #426020

    Hey!

    Awesome! I am marking this thread as resolved for now. If you have any other questions or issues, please feel free to start a new one :)

    Regards,
    Yigit

Viewing 25 posts - 1 through 25 (of 25 total)
  • The topic ‘Portfolio permalinks and WPML not working’ is closed to new replies.