When saving an article, the path name is incorrect
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
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
-
- Joomla! Apprentice
- Posts: 24
- Joined: Sat Nov 20, 2021 5:06 pm
When saving an article, the path name is incorrect
When creating a new menu item or updating a newly created menu item, the path name is incorrect. When the menu item is clicked on the front end, the result is a 404 page.
When I look in the database at menu, the menu item will have a path of, for example, "Category/test" when it should be just "test". If I edit the path and remove the "Category/" part, the page displays as expected.
If I change this menu item again, the path name is back to "Category/test".
This does not happen to menu items prior to a specific time. I can not determine when the behavior changed.
Marshall
When I look in the database at menu, the menu item will have a path of, for example, "Category/test" when it should be just "test". If I edit the path and remove the "Category/" part, the page displays as expected.
If I change this menu item again, the path name is back to "Category/test".
This does not happen to menu items prior to a specific time. I can not determine when the behavior changed.
Marshall
-
- I've been banned!
- Posts: 13639
- Joined: Sun Jul 05, 2009 3:30 am
- Location: Canberra, Australia
Re: When saving an article, the path name is incorrect
More information please about the mischievous menu item. What is the menu type of this item?
Also, and this is just shooting blindly at the problem, go to Content » Article and select the Options button (right-hand top). On the screen that then appears, look under Routing. What settings are you using for any of those routing options?
Also, and this is just shooting blindly at the problem, go to Content » Article and select the Options button (right-hand top). On the screen that then appears, look under Routing. What settings are you using for any of those routing options?
- Webdongle
- Joomla! Master
- Posts: 44072
- Joined: Sat Apr 05, 2008 9:58 pm
Re: When saving an article, the path name is incorrect
How did you install Joomla?
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
-
- Joomla! Apprentice
- Posts: 24
- Joined: Sat Nov 20, 2021 5:06 pm
Re: When saving an article, the path name is incorrect
Sozzled,
I only found one place for Routing. I have, hopefully, included screen shots of the article option page and the group where I found Routing.
I only found one place for Routing. I have, hopefully, included screen shots of the article option page and the group where I found Routing.
You do not have the required permissions to view the files attached to this post.
- Per Yngve Berg
- Joomla! Master
- Posts: 30892
- Joined: Mon Oct 27, 2008 9:27 pm
- Location: Romerike, Norway
-
- Joomla! Apprentice
- Posts: 24
- Joined: Sat Nov 20, 2021 5:06 pm
Re: When saving an article, the path name is incorrect
Thanks per,
Read the reference you provided. My problem is associated with "menu" when saving a new menu, not an existing menu. The path value includes categories when it shouldn't. The reference doesn't say that menus are included in the New routing mechanism.
Read the reference you provided. My problem is associated with "menu" when saving a new menu, not an existing menu. The path value includes categories when it shouldn't. The reference doesn't say that menus are included in the New routing mechanism.
- Webdongle
- Joomla! Master
- Posts: 44072
- Joined: Sat Apr 05, 2008 9:58 pm
Re: When saving an article, the path name is incorrect
The path is derived from the menu structure
i.e.
Top menu item 'Pets'
Child menu item 'Dogs' and 'Cats'
Urls are
site.com/pets
site.com/pets/dogs and site.com/pets/cats
(unless you alter the Menu item 'Title field').
i.e.
Top menu item 'Pets'
Child menu item 'Dogs' and 'Cats'
Urls are
site.com/pets
site.com/pets/dogs and site.com/pets/cats
(unless you alter the Menu item 'Title field').
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
-
- I've been banned!
- Posts: 13639
- Joined: Sun Jul 05, 2009 3:30 am
- Location: Canberra, Australia
Re: When saving an article, the path name is incorrect
It really would help to know the menu item type as well as the menu structure. I agree with @Webdongle: if the menu structure is hierarchical, then the URLs look normal to me.
There is a difference between the menu hierarchy (i.e. child menu items located below a parent) and the "path" (not to be confused with the file structure) and editing the "path"—somehow with phpMyAdmin—is not a solution.
- Webdongle
- Joomla! Master
- Posts: 44072
- Joined: Sat Apr 05, 2008 9:58 pm
Re: When saving an article, the path name is incorrect
@mwales
'Path' as in Breadcrumbs is related to Category structure
'Path' as in url path is related to menu structure
By 'Path name' which path are you referring to?
'Path' as in Breadcrumbs is related to Category structure
'Path' as in url path is related to menu structure
By 'Path name' which path are you referring to?
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
-
- I've been banned!
- Posts: 13639
- Joined: Sun Jul 05, 2009 3:30 am
- Location: Canberra, Australia
Re: When saving an article, the path name is incorrect
Did you eventually resolve this matter?