Advertisement

Article ID's using Save as copy 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
crissoft
Joomla! Apprentice
Joomla! Apprentice
Posts: 29
Joined: Sat May 21, 2022 9:18 am

Article ID's using Save as copy

Post by crissoft » Fri Feb 14, 2025 6:57 pm

I made an article as a template and used Save as copy to make my articles based on it. These articles on the front end have the ID's in the url the same as the template one, but in the back end Article manager they each have their own unique ID's. Could this cause any issues ? The front end looks good, the links in the category lists point to the correct articles. I found a resource that says that I should use Save as copy with the Unpublished option and then Save and close with Published.

Advertisement
User avatar
imanickam
Joomla! Master
Joomla! Master
Posts: 28321
Joined: Wed Aug 13, 2008 2:57 am
Location: Chennai, India

Re: Article ID's using Save as copy

Post by imanickam » Sat Feb 15, 2025 8:10 am

Whenever "Save as Copy" is used, multiple things happen.

- An article is created. Be known that each article has a unique numeric ID. This is reflected in the column ID in the screen "Articles". This ID is unique across all categories irrespective of the category to which the article belongs.

- Also, the Alias, an unique alphanumeric identifier based on the title of the article unless it is manually entered, is created. This is reflected in the column Title in the screen "Articles". Alias of each article is displayed below the title of that article. For example, it would be displayed as "Alias: my-template-2". This alphanumeric identifier (i.e. Alias) is unique within a category.

Note: For simplification, other tables affected such as workflow are not listed


On the front-end as well as back-end:

- If the title is not changed from the original/template article title then a numeric number within parenthesis is added to the title. For example, if the Title in the template article is "My Template" then the article that is created using "Save as Copy" would be "My Template (2)". Subsequent articles created would be "My Template (3)", "My Template (4)", and so forth. The corresponding alias create would be "my-template-2", "my-template-3", "my-template-4", and so forth.

- If the tile is changed from the original/template article title then the alias created would be based on the changed title.


One thing to bear in mind is that you would not notice alias while creating article in the front-end. One would notice the alias in the back end.

Be known that the urls are created based on the alias of the article or the alias of the menu item as the case may be.

Hope this clarifies.
Ilagnayeru (MIG) Manickam | இளஞாயிறு மாணிக்கம்
Joomla! - Global Moderators Team | Joomla! Core - Tamil (தமிழ்) Translation Team Coordinator
Former Joomla! Translations Coordination Team Lead
Eegan - Support the poor and underprivileged

crissoft
Joomla! Apprentice
Joomla! Apprentice
Posts: 29
Joined: Sat May 21, 2022 9:18 am

Re: Article ID's using Save as copy

Post by crissoft » Sun Feb 16, 2025 3:14 pm

I thought that Itemid meant the ID of the article.
So if I have article-1?catid=13&Itemid=101, 101 is the ID of the menu item.
Thank you for the answer.

Advertisement

Post Reply

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