Search Engine Friendly URLs not working for "Articles - Category" Topic is solved

General questions relating to Joomla! 4.x.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Post Reply
Moesborg
Joomla! Apprentice
Joomla! Apprentice
Posts: 15
Joined: Wed Sep 30, 2009 8:25 pm
Contact:

Search Engine Friendly URLs not working for "Articles - Category"

Post by Moesborg » Wed Jul 27, 2022 10:14 am

Hi - just upgraded from 3.10 to 4.1.5.
Other than a few plugins (solved) all is running perfect - almost...

I have a page showing news articles - https://frivilligcentret.dk/nyheder

The links use to look like this
https://frivilligcentret.dk/nyheder/8-n ... god-sommer
But after the upgrade is looks like this
https://frivilligcentret.dk/nyheder?vie ... er&catid=8

It is like "Search Engine Friendly URLs" is not working in this one location of the website?

Does anybody else see the same, and maybe have a solution for this

Best regards Finn
Moesborg NET-UP - Danmarks bedste support efter 16.00.
Verden står jo ikke stille om aftenen - vel?
http://www.moesborg.dk

shivambhatele
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Tue Jul 26, 2022 6:23 am

Re: Search Engine Friendly URLs not working for "Articles - Category"

Post by shivambhatele » Wed Jul 27, 2022 10:49 am

Hey, I think your URL is not search engine friendly...Can you explain the path of your category?

User avatar
DV-admin
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 127
Joined: Wed Sep 20, 2017 7:24 am
Location: Genova
Contact:

Re: Search Engine Friendly URLs not working for "Articles - Category"

Post by DV-admin » Wed Jul 27, 2022 12:17 pm

This is probably because the menu item is not configured. None of your other links seem to be affected. Or am I wrong?

Moesborg
Joomla! Apprentice
Joomla! Apprentice
Posts: 15
Joined: Wed Sep 30, 2009 8:25 pm
Contact:

Re: Search Engine Friendly URLs not working for "Articles - Category"

Post by Moesborg » Wed Jul 27, 2022 1:44 pm

Hi shivambhatele
SEO is active - this URL will prove this I think
https://frivilligcentret.dk/foreninger/bliv-medlem

Path of your category??
Site -> Menu Item -> Category -> Articel
https://frivilligcentret.dk(Site)/nyheder(Menu Item)/8-nyheder(Category)/1086-god-sommer(Articel)
Moesborg NET-UP - Danmarks bedste support efter 16.00.
Verden står jo ikke stille om aftenen - vel?
http://www.moesborg.dk

Moesborg
Joomla! Apprentice
Joomla! Apprentice
Posts: 15
Joined: Wed Sep 30, 2009 8:25 pm
Contact:

Re: Search Engine Friendly URLs not working for "Articles - Category"

Post by Moesborg » Wed Jul 27, 2022 1:45 pm

Hi DV-admin
You are 100% right (I think)
All other menu items is perfect with correkt SEO.
Can you tell more about "menu item is not configured"
Moesborg NET-UP - Danmarks bedste support efter 16.00.
Verden står jo ikke stille om aftenen - vel?
http://www.moesborg.dk

User avatar
DV-admin
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 127
Joined: Wed Sep 20, 2017 7:24 am
Location: Genova
Contact:

Re: Search Engine Friendly URLs not working for "Articles - Category"

Post by DV-admin » Thu Jul 28, 2022 9:46 am

I imagine you only have a mainmenu.
First create an article for this page add it under which ever category.
Go to main menu click menu items, click new > create a new menu item for your link > enter a title for you link and enter an alias (a short name because it will be in your url). Click on Menu Item Type > select > If it is a single page, create this under 'Articles' (last option) and fill in the details.
You can see on the right there is a drop down 'parent-item', make sure your new menu item is under the correct parent item (category), or the root if there is none.
The link will be created for you in the correct category.
There are other parameters on this page which you can fill out. Check first if it is creating the url you want in the front end.

Moesborg
Joomla! Apprentice
Joomla! Apprentice
Posts: 15
Joined: Wed Sep 30, 2009 8:25 pm
Contact:

Re: Search Engine Friendly URLs not working for "Articles - Category"

Post by Moesborg » Fri Jul 29, 2022 7:24 pm

Hi DV admin

Thank you for a very detailed description of how to make a menu item and linked article. However, that is not the problem.

My site already has many menu items with corresponding articles.
It worked fine with the SEO url before the upgrade and it works fine after the upgrade.

It is (only) links on this page that are no longer SEO friendly
https://frivilligcentret.dk/nyheder
Before the upgrade it looked like this
https://frivilligcentret.dk/nyheder/8-n ... god-sommer
Now it looks like this
https://frivilligcentret.dk/nyheder?vie ... er&catid=8

It is a page that uses "Articles - Category"
I don't see any settings that can make this particular menu item and the links on the page not have to be SEO friendly.
Moesborg NET-UP - Danmarks bedste support efter 16.00.
Verden står jo ikke stille om aftenen - vel?
http://www.moesborg.dk

User avatar
DV-admin
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 127
Joined: Wed Sep 20, 2017 7:24 am
Location: Genova
Contact:

Re: Search Engine Friendly URLs not working for "Articles - Category"

Post by DV-admin » Fri Aug 05, 2022 3:39 pm

So this is an article that is located in your category :
NYHEDER ? I can see that the category name and ID is being repeated in the url.
You have tried to regenerate that category menu item I suppose?

Moesborg
Joomla! Apprentice
Joomla! Apprentice
Posts: 15
Joined: Wed Sep 30, 2009 8:25 pm
Contact:

Re: Search Engine Friendly URLs not working for "Articles - Category"

Post by Moesborg » Tue Aug 09, 2022 8:27 am

SOLVED
By making a hidden menu item with Category List
https://frivilligcentret.dk/nyheder/8-nyheder/
This makes all articel in the category "Nyheder", start with the same URL.
A hack I know, nut it is working :-)

Thanx for all help
Moesborg NET-UP - Danmarks bedste support efter 16.00.
Verden står jo ikke stille om aftenen - vel?
http://www.moesborg.dk


Post Reply

Return to “General Questions/New to Joomla! 4.x”