As you can see, the name of the category, which is uncategorized, is automatically added to the URL of the article. Now you think a bit, and decide to add the article under a category called general, you check the link again and it’s something like:
Hmmm…. But you need to get rid of the category name from the URL altogether, whether it’s uncategorized, general, or any other category name. So you try to search for such a setting in Joomla’s configuration settings, but you find nothing. You then try to fiddle with your .htaccess file, but that doesn’t work either. Finally, your research the problem on Google, and you find that many other people have the same issue, and they have been, so far, unsuccessful in getting rid of that category name from the URL.
Now there are two ways to solve this problem, the easy way and the hard way.
Now, the hard way is much more advanced and requires you to do the following:
- Modify Joomla’s SEF core files in order to remove the category name from the URL. (Note: There are several files that need to be changed.)
- Ensure that the change you’ve done above is accommodated in your .htaccess file.
- Ensure that you don’t break any functionality with this code change.
Needless to say, the above is really delicate and complicated to do (not to mention that it requires modification to Joomla’s core, which makes your website very challenging when it comes to upgrades), and we advise you to only do it if you have some very solid PHP programming skills or if you hire some Joomla experts to do it for you. In any case, we personally recommend you go with the first option, unless your website has a lot of data and a lot of categories.
Now If you need any help removing the category name from the URL, then you can just contact us. We’re always here for you, we are fast, we are friendly, we are fun to work with, we are courteous, and we don’t charge much!