Viewing 20 posts - 1 through 20 (of 20 total)
  • Author
    Posts
  • #204336

    Hi, I have the latest version of wordpress and enfold.

    I’m trying to create an entry portfolio and gives me allways error 404 when trying to access.

    Can you help me?

    http://coronatolive.com/portfolio-item/hola-2/
    http://coronatolive.com/portfolio-item/hola/

    Thank you!

    Xavier.

    #204337
    This reply has been marked as private.
    #204358

    Hey!

    Please add this at the bottom of functions.php file:

    add_action( 'init', 'avia_deactivate_permalink_rewrite', 10);
    function avia_deactivate_permalink_rewrite(){
    remove_action( 'init', 'avia_wpml_register_post_type_permalink', 20);
    }
    

    Go to Settings > Permalinks and click the “Save” button to flush the permalinks. Do the flush a few times.

    Cheers!
    Ismael

    #204360

    Hi Ismael, don’t work.

    steps:

    1) Items portafolio
    2) New
    3) title:bla bla bla
    content: ble ble ble
    4) Publish
    5) View entry portafolio
    –> error 404

    #204370

    Hey!

    The problem is caused by a Permalink issue, please try the solutions provided in this article.

    Cheers!
    Josue

    #204378

    Hola Josue, buenas noches (hora española ;)).

    Me he estado leyendo el articulo y es complicado ubicar el problema que esta pasando, ademas que tampoco soy un experto en wordpress como vosotros.

    Lo que esta claro es que la instruccion que me ha dado Ismael hace que el sistema funcione correctamente con el permalink “nombre de entrada” ya que sino habia veces que tambien daba errores en paginas que no eran del portafolio.

    Con el permalink por defecto no lo puedo dejar porque sino WPML no funciona ya que la estructura por directorios y querer tener un SEO correcto lo desaconseja.

    El error solo se esta produciendo en la parte de las “entradas del portafolio” que corresponde exclusivamente a enfold.

    Os pediria a ver si le podeis hechar un vistazo. He borrado el .htaccess y se crea correctamente por el servidor Apache, su contenido es:

    – no vaya a ser que falte alguna directiva.. –

    # 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

    Un saludo!!!

    Xavier.

    #204381

    Hey!

    Can you please give us the login details? Post it as a private reply.

    Cheers!
    Ismael

    #204383
    This reply has been marked as private.
    #204392

    Hey!

    Before we move on please refer to this link then follow Dude’s instruction at the very bottom: https://kriesi.at/support/topic/portfolio-items-all-404s-rewrite-rules-missing/

    Best regards,
    Ismael

    #204478

    Hi Ismael, i was read the Dude´s post.

    In my web i have this instructions at bottom of functions.php

    add_action( ‘init’, ‘avia_deactivate_permalink_rewrite’, 10);
    function avia_deactivate_permalink_rewrite(){
    remove_action( ‘init’, ‘avia_wpml_register_post_type_permalink’, 20);
    }

    All pages run (apparently ok) but portafolio pages never ok.

    I have the latest version of WPML, WORDPRESS and ENFOLD, is a problem? ;).

    The solution is deactivate the enfold theme, delete the themes/enfold directory and updload the latest version of enfold?.

    At night we test this.

    Thanks!!!

    Xavier.

    #204508

    Hey!

    Yes, please try to install the latest theme version (v2.4.4). Then go to Settings > Permalinks to configure the portfolio slugs and save the settings.

    Regards,
    Peter

    #204680

    Hi Dude, i write the steps.

    1) delete enfold theme directory
    2) download latest version of envato account enfold theme
    3) upload latest version enfold theme in wordpress site
    4) css changes not found (no problem is normal i don’t use a child theme)
    4) flush permalinks postname few times
    5) some pages of shop returns 404
    6) I add at bottom functions.php

    add_action( ‘init’, ‘avia_deactivate_permalink_rewrite’, 10);
    function avia_deactivate_permalink_rewrite(){
    remove_action( ‘init’, ‘avia_wpml_register_post_type_permalink’, 20);
    }

    7) all shop pages works ok
    8) in admin wordpress go to portafolio pages and go to “View page”
    all portafolio entry pages return 404 error

    I don’t know how to do……

    can you help me?. I have backup. can you modify in coronatolive’s site what ever you want..

    I need the permalinks postname beacause i have “languages in directories option” with WPML and too SEO is best with this option.

    Thanks!!!

    Xavier.

    #204812

    Hi Dude,

    I have just opened incidence WPML but I understand that is a set of WPML and enfold problem, although it is difficult to define who is responsible.

    I would ask that you investigate so that together we find the solution.

    ———
    Hola, tengo wordpress 3.8 instalado, la ultima version del theme Enfold y WPML actualizado totalmente.

    Desde que tengo esa configuracion me esta dando error 404 en las “portafolio entries”.

    Hago un “Ver” de cualquier entrada del portafolio o utilizo cualquiera de los elementos visuales que el theme da para poder trabajar con elementos del portafolio y da ese error.

    Si hago de desactivar el plugin “WPML string translation” el problema deja de existir, pero obviamente es una solucion que no me sirve porque necesito tener ese plugin activado para que funcione el resto de WPML (woocommerce incluido).

    En enfold me han dado una solucion parcial como es poner en el function.php esto:
    add_action( ‘init’, ‘avia_deactivate_permalink_rewrite’, 10);
    function avia_deactivate_permalink_rewrite(){
    remove_action( ‘init’, ‘avia_wpml_register_post_type_permalink’, 20);
    }

    Pero arregla los errores 404 de algunas paginas pero del portafolio entries no.

    He realizado la misma prueba con otra web instalada desde 0, solo con wordpress 3.8, ultimo enfold y wpml actualizado y lo mismo. Da problema con el portafolio entries nada mas activar el “WPML string translation”. En esta web desde 0 he activado solo el “WPML multilingual” y a continacion el “string translation” y falla, por lo que el problema esta claro.

    Os pediria que urgentemente es lo revisarais ya que todo apunta que se trata de un problema de WPML y Enfold generico con las versiones mas actualizadas.

    Gracias!!

    Xavier.

    ENGLISH
    ———
    Hi, I have installed wordpress 3.8 , the latest version of the theme and WPML Enfold fully updated .

    Since I have that configuration is giving me 404 error in the ” portfolio entries” .

    I do a “View” of any portfolio entry or use any of the visual elements that gives the theme to work with elements of the portfolio and gives that error.

    If I disable the plugin ” WPML string translation” the problem ceases to exist, but obviously it’s a solution that does not help me because I need to have that plugin enabled to work the rest of WPML ( WooCommerce included).

    In enfold have given me a partial solution as it is put in the function.php this:
    add_action ( ‘init ‘, ‘ avia_deactivate_permalink_rewrite ‘, 10 );
    avia_deactivate_permalink_rewrite function ( ) {
    remove_action ( ‘init ‘, ‘ avia_wpml_register_post_type_permalink ‘, 20 );
    }

    But 404 errors fix some pages but not the portfolio entries .

    I performed the same test with another installed web from 0 , only 3.8 wordpress , WPML last enfold and updated and the same. problem with portfolio entries you nothing but change the ” string WPML translation” . This web from 0 I activated only ” WPML multilingual ” and below the “string translation” and fails, so the problem is clear .

    I would ask is what revisarais urgently because it seems that this is a generic problem WPML and Enfold with the most updated versions.

    Thank you !
    ——-

    #204934

    Hey!

    I tested the string translation with Enfold and it works on my test server – in fact it’s the only way to translate the portfolio post type slug since v2.4.4 because we removed our custom slug rewrite function. Please create us an admin account and post the login credentials as private reply.

    Cheers!
    Peter

    #204970
    This reply has been marked as private.
    #205146

    any advance?

    thanks!!

    #205295

    Hi!

    I think it works now. I had to set a translation for the portfolio items slug here: http://coronatolive.com/wp-admin/admin.php?page=wpml-translation-management%2Fmenu%2Fmain.php&sm=mcsetup&lang=en&admin_bar=1

    –> screenshot: http://www.clipular.com/c/5427218738053120.png?k=-y-mKIbXukjXaOL7CJjwBrDPQLE

    You can change the slug/translations if you want but don’t use spaces or special characters. Underscores _ or -, etc. are allowed.

    Regards,
    Peter

    #205303

    oks thanks so much peter! only mofifucation of configuration of WPML or too some change in code of theme?

    thanks.

    xavier.

    #205359

    I had an issue as well, but I think I fixed it… so far.. the other way around, porftolio entries were accessed but pages gave me a 404 error. I was using the “Post name” permalinks option but since 2.4.4 I lost access to my pages.. and only my portfolio links functioned correctly… so I had to use a different Permalinks approach except I like using “Post name”

    The following worked, I looked around on here and did what Ismael said, that is add this at the bottom of functions.php file:
    add_action( ‘init’, ‘avia_deactivate_permalink_rewrite’, 10);
    function avia_deactivate_permalink_rewrite(){
    remove_action( ‘init’, ‘avia_wpml_register_post_type_permalink’, 20);
    }

    PS: I have to admit permalinks confuse me a little, and there is a bit of magic in there that is beyond me.

    #205360

    Hey!

    No, I just configured WPML and saved the permalinks again (Settings > Permalinks).

    Cheers!
    Peter

Viewing 20 posts - 1 through 20 (of 20 total)
  • The topic ‘create portafolio entry and 404 error’ is closed to new replies.