Is There Any Way To Turn Off The Joomla Component Categories Pages? - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

Is There Any Way To Turn Off The Joomla Component Categories Pages?

SC

Sean Carney

SP Page Builder 2 years ago

We have created a SP Page Builder Page for every Category and Subcategory on our site. We are very happy with those pages. And, we are hoping to turn off the Joomla Component Category pages that display the same content.

We do need to still display Joomla articles.

Here is an SP Page Builder Category Page: https://test1.theraliv.org/lchaim/recipes

Here is a Joomla Component Category Page: https://test1.theraliv.org/lchaim/recipes/

The only difference in these pages is that the Joomla Component Category page has a "/" at the end of the URL.

I would like to turn off the Joomla Component Category pages. But, I need to keep the Joomla articles pages working. If we could do this, the site will be perfect. We want to not have anybody able to find the Component Category pages but to only find the Page Builder Category pages. .

Is there any way to do this?

Thank you, Sean Carney

0
5 Answers
SC
Sean Carney
Accepted Answer
2 years ago #103303

In order to fix this problem, the developer of 4SEF created a special script for me to use at my own risk that is removing the / from the end of the URLs. It is working great.

0
Pavel
Pavel
Accepted Answer
2 years ago #101383

Hi.

You cannot turn off the Joomla categories, otherwise the articles will not work. You need to make hidden categories menu items and write redirects in .htaccess from pages of categories to SP PB pages. And all this is not very convenient if the site is constantly updated with new articles and categories.

Therefore, create categories through SPPB initially a bad idea. It is better to use standard Joomla categories and CSS to configure the appearance as you need.

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 2 years ago #101415

Sean, If I may...

As Pavel said, thx, it's question to Joomla developers not us, we cannot disable Joomla feature, we are not for that.

Categories for SPPB are only for webmaster purpose, to keep sort of order with pages.

You can use extra SEF component that allows you change & manage URLs generated by Joomla, for example, 4SEF (SEF URLs for Joomla) by weeblr or other.

0
SC
Sean Carney
Accepted Answer
2 years ago #102270

I am so very sorry to have not replied for so long. I went to a five day homesteading, agricultural conference that had terrible Internet connectivity and poor phone service. It was restful but... I was not able to reply.

I agree with both of you that we should NOT mess with core joomla.

I am using 4SEF. But, they can't change the URLs to overcome this problem because they always make links to categories with a / at the end. But, the SP Page Builder pages are being created without the / at the end. I personally prefer not having the / at the end. But, as far I can tell there will always be a category url page created by Joomla and an SP Page builder link for the same page that has a completely different URL. That is how it is on your Quickstarts as well.

There must be something I am doing terribly wrong with the SP Page Builder because I seem completely unable to get the SP Page Builder pages to replace the Category pages. I have always been able to do this with other third party software like the EasyBlog, EasytSocial, EasyDiscuss software and others. But, I can't do this with SP Page Builder. Perhaps this is a feature and not a bug but my site is very broken because of this.

4SEF is creating the URLs to the 'category' page links in the RAXO modules on our homepage with a / at the end and, I understand that is something that they will not be changing because the urls ending in / is how they differentiate categories, and probably form the URLs for the articles assigned to the categories. All of the Menu items on our site are are buidling the URLs to our PAge Builder pages without the / at the end. We love that.

So, for example the links to the L'Chaim menu item is https://test1.theraliv.org/lchaim (notice no slash at the end. I am assuming those urls are NOT created by 4SEF. But, they are the URLs I am wanting to use. If you look at that page it is a Page Builder page with RAXO modules.

The links to the L'Chaim category from the RAXO modules on the home page is https://test1.theraliv.org/lchaim/ (Those links are certainly being created by 4SEF because they change if I don't use the the option for Process Mode of "Normal". If you look at that page you will see a Joomla component page displaying the Gazette template page. This is the page we do not want because we were expecting to have the SP Page Builder page replace it.

Anyhow, my team has to make the tough decision now between abandoning the Category Names and links on the home page or abandoning SP Page Builder and just recreating our pages using the Gazette template without using SP Page Builder. It is a sad choice to have to make.

0
SC
Sean Carney
Accepted Answer
2 years ago #102393

4SEF may not be the best option for SP Page Builder because they build different URLs that may conflict.

Here are the SEF URLs being created by 4SEF:

PageBuilder URLS:

SEF URL: lchaim

non-SEF URL: index.php?option=com_sppagebuilder&Itemid=1652&id=3140&view=page

Joomla SEF URL: lchaim

Joomla Content URLs:

SEF URL: lchaim/

non-SEF URL:
index.php?option=com_content&id=146&view=category

Joomla SEF URL: Component/content/category/lchaim

I personally prefer the URLS coming from PageBuilder. It is not possible to redirect their SEF URL from lchaim/ to lchaim because no matter how many times you redirect the URL with the / at the end, the URL will be recreated.

On our site we are placing RAXO modules as Joomla components using SP Page Builder. If we turn on the display of Categories on any of these modules and also the "Categories as Links" option to Yes, then the Category Links are rewritten to include the / at the end. That then does not direct to the Page Builder page but instead directs to the Gazette Template page.

Sean

0