-
AuthorPosts
-
January 2, 2014 at 1:16 am #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.
January 2, 2014 at 1:27 am #204337This reply has been marked as private.January 2, 2014 at 3:09 am #204358Hey!
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!
IsmaelJanuary 2, 2014 at 3:26 am #204360Hi 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 404January 2, 2014 at 3:54 am #204370Hey!
The problem is caused by a Permalink issue, please try the solutions provided in this article.
Cheers!
JosueJanuary 2, 2014 at 4:20 am #204378Hola 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.
January 2, 2014 at 4:29 am #204381Hey!
Can you please give us the login details? Post it as a private reply.
Cheers!
IsmaelJanuary 2, 2014 at 4:32 am #204383This reply has been marked as private.January 2, 2014 at 4:53 am #204392Hey!
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,
IsmaelJanuary 2, 2014 at 1:50 pm #204478Hi 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.
January 2, 2014 at 3:55 pm #204508Hey!
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,
PeterJanuary 2, 2014 at 8:55 pm #204680Hi 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.phpadd_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 errorI 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.
January 3, 2014 at 2:23 am #204812Hi 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 !
——-January 3, 2014 at 10:04 am #204934Hey!
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!
PeterJanuary 3, 2014 at 12:21 pm #204970This reply has been marked as private.January 3, 2014 at 9:19 pm #205146any advance?
thanks!!
January 4, 2014 at 10:55 am #205295Hi!
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,
PeterJanuary 4, 2014 at 11:36 am #205303oks thanks so much peter! only mofifucation of configuration of WPML or too some change in code of theme?
thanks.
xavier.
January 4, 2014 at 6:18 pm #205359I 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.
January 4, 2014 at 6:18 pm #205360Hey!
No, I just configured WPML and saved the permalinks again (Settings > Permalinks).
Cheers!
Peter -
AuthorPosts
- The topic ‘create portafolio entry and 404 error’ is closed to new replies.