I wrote the following up because I was sure this was working last night. But, I just now set up all the menu and completed them and not the articles are displaying the extra strings in the URLs.
So, I am heading back to the drawing board....
I am using SP Page Builder to create pages and am having problems with my URLs because I don't seem to be able to stop URLs from appearing that are not desired. I am getting a string from one of my menus that I had thought I woud not get the URL from.
I created extra menus in order to stop getting Joomla Component URLs and was happy that seemed to work. But... now I am getting the undesireable URLs. I am assuming that maybe there is something I am not understanding about "Hidden" menus and maybe that is where my answer is. If you could tell me what I am doing wrong, I would be most grateful.
Here is the documentation I wrote about the menus:
Menus to Establish Category Relationships
The following Menus are created with EVERY item selected as a Category Blog:
Jewish Life Menu
L’Chaim Menu
Israel Menu
Torah Menu
Stories Menu
God's World Menu
Video Menu
Russian Menu
Spanish Menu
The purpose of these menus is to establish that each Menu item is properly associated with a category. For each of these menus I used an alias of jewish-life, lchaim, israel, etc.
Menus to Change Page Layouts
The following Menus are where we change the Menu Item Type from Category Blog to SP Page Builder.
Main Menu (Mobile Menu, to the left of logo)
Languages Menu
This is where we are changing the menu types.
The Main Menu is used to change the layout of the Main Menu items.
The Languages Menu is used to change the layout of the Spanish or the Russian Menu Items.
Menu Aliases to Create Megamenu
The following Menu is used to generate the Megamenu or what looks like the main menu on a computer.
Secondary Menu
Every item in this Menu is simply a Menu Item Alias and they all point to either the Main Menu or they point to the Language menu. But, they do NOT point to any of the other menus. This is how we are trying to keep all Search Engine Friendly URLs in agreement with each other.
Our Problem Described
The issue we are having is that I am able to get nice URLs for the category pages and the subcategory pages, but as soon as I click on an article, a new unwanted urls appears.
Here is how I can get the URLs that we are happy with:
Click on Home:
https://test1.theraliv.org/
Click on Jewish Life:
https://test1.theraliv.org/jewish-life
Click on Jewish Life -> Heritage:
https://test1.theraliv.org/jewish-life/heritage
Here is how we are getting URLs that we are NOT happy with:
From the homepage click on any article to get a URL like the following:
https://test1.theraliv.org/jewish-life-menu/holy-days-articles/new-year-of-the-trees
This also happens if we click on an article from the Jewish Life or the Heritage pages as well. The problem is that the we are getting "jewish-life-menu" in the url instead of just 'jewish-life"
So, this is the URL we are seeing:
https://test1.theraliv.org/jewish-life-menu/holy-days-articles/new-year-of-the-trees
We are wanting to get the following URL:
https://test1.theraliv.org/jewish-life/holy-days-articles/new-year-of-the-trees
NOTE: Both of these URLs actually work. But, one of them we do not want to use.
I am thinking that there must be something basic that I am missing. Can you please help me to know what I am doing wrong.
I have changed the aliases for Jewish Life Menu and in the Jewish Life menu item in the Main menu. When I do that then the urls reverse themselves. ie. I then get all of the URLs with the '-menu' string in them for the navigation URLs and then when I click on an article, I get the nice URLs.
Sean Carney