Accommodation page URL

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #982911
    Michal Popelka
    Participant

    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/&#8221;,”url”:”https://www.xxxx.com/accommodation/&#8221;,”name”:””}},

    #982954
    Andre Flores
    Moderator

    Hi, Michal!

    You may change the /accommodation/ slug in the URL easily following directions from this article.

    Regards,
    Andre

    #983228
    Michal Popelka
    Participant
    This reply has been marked as private.
    #984293
    Andre Flores
    Moderator
    This reply has been marked as private.
    #1013430
    Del Nergaard
    Participant

    Jumping 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?

    Screenshot of translation string result

    So, would really appreciate a bit more detail on this easy process, please.

    Many thanks. 🙂

    #1013799
    Andre Flores
    Moderator

    Hello, 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,
    Andre

    #1013811
    Del Nergaard
    Participant

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

    #1014202
    Andre Flores
    Moderator

    Hello, 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,
    Andre

    #1015830
    Del Nergaard
    Participant

    Thanks Andre.

    One last question on the topic of changing slugs, labels, etc…

    When using WooCommerce checkout, it uses the word ‘accommodation’ there, too.

    Checkout screeenshot

    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.

    #1015907
    Del Nergaard
    Participant

    Sorry, 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…
    email screenshot

    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.

    #1016536
    Del Nergaard
    Participant

    Should I start a new topic for my questions above, or can you answer them here?

    Thanks.

    #1017311
    Andre Flores
    Moderator

    Hello, 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,
    Andre

    #1018587
    Del Nergaard
    Participant

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

    #1019819
    Andre Flores
    Moderator

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

Viewing 14 posts - 1 through 14 (of 14 total)
  • You must be logged in to reply to this topic.