Quantcast
Channel: Joomla! Forum - community, help and support
Viewing all articles
Browse latest Browse all 2163

General Questions/New to Joomla! 4.x • Re: Content URL shows category ID as well

$
0
0
If I enable the Routing in global config for Articles, it displays error 404 upon clicking an article.
I noticed that when I renamed the htacces.txt to .htaccess the icon remains like a .txt file, not like the icon of a .php file.
.htaccess is a text file which can override server settings.
Joomla uses it to rewrite URLs to SEF URLs.

To get nice URLs, you need to create a menu item of type Category Blog for that category.
That way Joomla can create a nice SEF URL for the category and all articles in that category.

If you don't want to display the menu item in the menu,
you can "hide" it in the parameters of the menu item
under "Link Type" > Display in Menu: No.

Statistics: Posted by pe7er — Mon Nov 25, 2024 11:36 am



Viewing all articles
Browse latest Browse all 2163

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>