Free and Premium WordPress Plugins & Themes Forums WordPress Plugins Hotel Booking Accommodation page URL
- This topic has 12 replies, 2 voices, and was last updated 3 years, 11 months ago by Andre Flores.
- AuthorPosts
- July 23, 2020 at 6:35 am #982911Michal PopelkaParticipant
Hi, I am trying to change URL of room type. Current URL is for example https://www.xxxxx.com/accommodation/double-room-1/ . Is it possible to set URL as https://www.penzionhajovna.cz/MYPAGE/double-room-1/.
The problem I am solving is that this page is also missing the name of item in Yoast script:
<script type=”application/ld+json” class=”yoast-schema-graph”> …..
{“@type”:”ListItem”,”position”:2,”item”:{“@type”:”WebPage”,”@id”:”https://www.xxxx.com/accommodation/”,”url”:”https://www.xxxx.com/accommodation/”,”name”:””}},July 23, 2020 at 6:36 am #982954Andre FloresModeratorHi, Michal!
You may change the /accommodation/ slug in the URL easily following directions from this article.
Regards,
AndreJuly 27, 2020 at 6:55 am #983228Michal PopelkaParticipantThis reply has been marked as private.July 27, 2020 at 7:05 am #984293Andre FloresModeratorThis reply has been marked as private.October 6, 2020 at 8:15 am #1013430Del NergaardParticipantJumping into this topic because I had the same question.
Surely “You may change the /accommodation/ slug in the URL easily…” is something of an oversimplification?
Firstly, this process of going through the translator plugin to change the url structure is very convoluted and not at all a ‘user friendly’ process.
Many plugins (booking plugins or otherwise) have the feature to set he url structure for their output, so… I think you should really consider adding this feature.
Anyway, since the translator plugin is the only way to edit this at the moment…
Your suggestion is a link to an article that doesn’t actually include any instructions, and links to another article that gives some very basic details about translations and links to the translation plugin, so… I’m still none the wiser?
I installed the plugin and searched for the word ‘accommodation’ and it found 1,785 strings.
So, not so easy after all.
The first string I found that looked like it might be the one I need, has an instruction attached to it that it shouldn’t be translated?
So, would really appreciate a bit more detail on this easy process, please.
Many thanks. 🙂
October 7, 2020 at 7:41 am #1013799Andre FloresModeratorHello, Del!
Let me provide you with detailed directions on how to have the slug changed via Loco Translate plugin.
Navigate to Loco Translate ->Plugins tab ->click on the Hotel Booking plugin – in the appeared interface look for the language, which is currently set in your dashboard (if it is not there, click “New language” button: https://prnt.sc/uukd4u). Once you have the language opened, type in “accommodation slug” in the search field in order to find slug strings: https://prnt.sc/uuke2z – click on the desired string and add a translation for it.
Once changes are made and saved, do not forget to navigate to Dashboard ->Settings ->Permalinks and Save changes there to refresh the links.Regards,
AndreOctober 7, 2020 at 8:03 am #1013811Del NergaardParticipantThank you Andre,
So, I can ignore the fact that when you select any of those strings, there’s a message beside each of them that says “translators: do not translate” ?
That was really the bit that was stopping me from experimenting… thinking that there must have been different strings I needed to edit.
Still think you guys should add a feature within the plugin set up to set url’s without having to go through the translation process.
Many Thanks,
Del.
October 8, 2020 at 6:40 am #1014202Andre FloresModeratorHello, Del!
There is nothing wrong with editing those slugs, no worries at all.
And thank you for your suggestion, we will take it into consideration and in case there are more similar requests from other users, we will consider adding this option to one of the plugin future updates.Regards,
AndreOctober 11, 2020 at 11:52 am #1015830Del NergaardParticipantThanks Andre.
One last question on the topic of changing slugs, labels, etc…
When using WooCommerce checkout, it uses the word ‘accommodation’ there, too.
That is obviously being pulled from the booking system, but… which string is outputting that, so I can change that one, too?
With so many strings containing the word ‘accommodation’… it’s very hard to identify which to change.
Thanks,
Del.
October 11, 2020 at 7:19 pm #1015907Del NergaardParticipantSorry, back again.
If you’d prefer I start a separate thread for these questions, just say so.
Otherwise…
This also spills over into system emails. The word ‘accommodation’ is pulled into the customer email…
I know I’ve probably picked one of the most used words in the booking system to want to change, but… would really appreciate some help in making the necessary changes.
I also don’t need the bit about ‘bed type’, in the email or anywhere else, if there’s a way to remove that?
Thanks,
Del.
October 13, 2020 at 12:33 pm #1016536Del NergaardParticipantShould I start a new topic for my questions above, or can you answer them here?
Thanks.
October 15, 2020 at 7:16 am #1017311Andre FloresModeratorHello, Del!
Yes, it would be better to create a new topic for your questions, however, let me answer them here this time.
– In order to change the “Accommodation” text on WooCommerce Checkout page you should edit translations for the WooCommerce Payments plugin: https://prnt.sc/uznh1q;
– In order to change the text in e-mails try editing the following string: https://prnt.sc/uznj6i. Make sure to leave the special characters.
As for the Bed Type information you should remove the corresponding tag from the e-mail type in question (Pending e-mail, Approved e-mail etc.)Regards,
AndreOctober 18, 2020 at 5:21 pm #1018587Del NergaardParticipantThanks Andre,
The first instruction worked. Thanks.
The second instruction, for the wording in the emails… I already had that string edited, so… it’s not that one that serves that string to the emails.
Oh and, the ‘bed type’ is included within the tag: %reserved_rooms_details%
So, I can’t remove just the bed type from the data that tag pulls in?
I’ll start a new thread to discuss the string that outputs to the emails.
Thanks,
Del.
October 21, 2020 at 7:39 am #1019819Andre FloresModeratorHello, Del!
It would be more convenient if you submit a request to our Help Desk providing a temporary access to WordPress dashboard, so we take a closer look at the issue.
Regards,
Andre - AuthorPosts
- You must be logged in to reply to this topic.