Plugin Author
Gunu
(@grafcom)
@luismin
I see the error but I do not understand, from the menu everything seems to work well. Where is the error in the menu?
Hi @gunu
The error is in the permalink but only for this custom post type.
When I create the post from my custom post type the url was http://www.hotelapedra.com/es/habitaciones/habitacion-matrimonio/
The plugin translates the permalink too by changing habitaciones to accommodation -> http://www.hotelapedra.com/en/accommodation/habitacion-matrimonio/ so the web can not find the page because in the backend the real url is http://www.hotelapedra.com/en/habitaciones/habitacion-matrimonio/
In the backend end I can change the permalink but only the strong part marked http://www.hotelapedra.com/en/habitaciones/habitacion-matrimonio/
Do you understand now? If not, I can send you some images.
Thank you for your support!
Plugin Author
Gunu
(@grafcom)
@luismin
the word -accommodation- where is this?
Dashboard – Posts – Categories?
@gunu
It’s the original name of the custom post types. So, Dashboard.
But, I have spanish language selected for my WordPress so the name now is Habitaciones due to .po file
@gunu
Do you understand the error? If not, I can give you access to a test site.
Thank you for your support!
Hi @gunu.
Do you have something new about the problem?
Thank you in advance!
Plugin Author
Gunu
(@grafcom)
@luismin
sorry for the delay…
I’ve seen your problem with the “accomodation” which is a part of the plugin you use.
I’ve discovered that when you are in the Admin and set the language to Spanish it is correct “habitaciones”.
In front-end then language switching works also correct, both English and Spanish. qTranslate X works as expected and uses “habitaciones”
As long as your Admin is Spanish there is no problem. Also search engines will find only “habitaciones” and not “accomodation”