SEF URLs - Question | JoomShaper

SEF URLs

Alex

Alex

SP Page Builder 4 years ago

Does Page Builder support internal joomla SEF links/urls? Whenever I add a url inside of a Page Builder page it does not get converted to a SEF url. For example: index.php?Itemid=629 stays index.php?Itemid=629 and the same url inside of other Joomla components gets converted to a SEF url just fine.

0
7 Answers
Pavel
Pavel
Accepted Answer
4 years ago #16092

Hi. To publish Sp Pb pages, you need to use a special type of menu item (Sp pb page menu item) , but do not use the preview link from the browser address row. This is in the documentation.

0
Alex
Alex
Accepted Answer
4 years ago #16094

Uuuh, I think you didn't understand my question. I am talking about adding links inside of a Page Builder Page. For example in a page builder page the following link index.php?Itemid=629 stays like that when viewing the page after it is rendered. The same link inside a Joomla article (or other components, or modules) turns into for example /welcome. That is of course because there is a menu item called welcome for index.php?Itemid=629.

0
Pavel
Pavel
Accepted Answer
4 years ago #16097

Ah, ok... I think, SP PB is not part of the Joomla core. Therefore, links located inside the page continue to remain static. What prevents you from placing a kind link /welcome instead index.php?Itemid=629?

0
Alex
Alex
Accepted Answer
4 years ago #16099

Well it doesn't prevent me from placing it, it is just not good practice. These links can change and then you have to go figure it out in all your page builder pages. It also makes it more difficult because the sef links are language dependent whereas the original links not necessarily. Then I am not talking about dynamically created SEF links. You cannot know the exact SEF url result for every link in your site unless you have a small site and you figure it out in advance, but then again, the slightest change and it will all break. I don't know if other components do something different, but I have never seen this issue, it always seems to work just fine with the Joomla system SEF plugin enabled. I am not sure about not being part of the core, from what I understand, the Joomla system SEF plugin operates directly on the rendered HTML. So I am not sure why it would ignore Page Builder.

0
Pavel
Pavel
Accepted Answer
4 years ago #16101

the Joomla system SEF plugin operates directly on the rendered HTML

Not quite like that. Most likely - the Joomla system SEF plugin operates directly on the rendered HTML of com_content, but not of com_sppagebuilder. To work properly, the default menu structure is required.

You can conduct a simple experiment - assign for home page Standard Default Menu item - Favorite articles. Place any index.php?Itemid=629 in the standard Joomla article. And it will work correctly with SEF.

But if you replace the home page to the Sp Pb page, the links within the standard Joomla article will change and stop working. You will need to change them with a new structure. I did not check it with other components, but it will most likely be the same. Because any third-party menu item disrupts the integrity of the content structure of the Joomla by default.

As a workaround, you can try to place links using the ability of the editor, such as JCE. When you assign the link there is the ability to select the menu item.

And of course, this problem requires the attention of the Joomshaper team. For a long time, many users asked to add the ability to assign links as it is in JCE. But while this is not realized unfortunately.

0
Alex
Alex
Accepted Answer
4 years ago #16109

As a workaround, you can try to place links using the ability of the editor, such as JCE. When you assign the link there is the ability to select the menu item.

That does not work everywhere like buttons.

In any event my question is answered and I hope that Joomshaper will resolve this in the near future. Assigning links as in JCE is very nice, but I am already very happy if it just properly shows the SEF url.

Thanks!

0
Muntasir Sakib
Muntasir Sakib
Accepted Answer
Support Agent 4 years ago #16156

Hello Alex,

Thank you very much for your concern. We are looking into it and will get back to you soon.

Have a nice day!

0