?
avatar necsoiu
necsoiu
3 Dec 2020

Steps to reproduce the issue

In joomla Admin interfece I have activated:
Search Engine Friendly URLs
Use URL Rewriting

Expected result

The SEF URL should be as "/first-article"

Actual result

The URL's still have the same format:

"/?view=article&id=2:first-article&catid=2"

System information (as much as possible)

Installed fresh Joomla Beta 5 on:
Ubuntu 20.04
Apache2.4
PHP 7.4
PHP-FPM
mod_rewrite enabled
htaccess.txt renamed to .htaccess

Additional comments

It seems that URL ReWriting is working as It removes index.php from the URL's

Votes

# of Users Experiencing Issue
0/1
Average Importance Score
5.00

avatar necsoiu necsoiu - open - 3 Dec 2020
avatar joomla-cms-bot joomla-cms-bot - labeled - 3 Dec 2020
avatar necsoiu necsoiu - change - 3 Dec 2020
Title
Search Engine Friendly URLs does not work - Joomla 4 Beta 5
[4]Search Engine Friendly URLs does not work - Joomla 4 Beta 5
avatar necsoiu necsoiu - edited - 3 Dec 2020
avatar necsoiu necsoiu - change - 3 Dec 2020
Title
[4]Search Engine Friendly URLs does not work - Joomla 4 Beta 5
[4.0]Search Engine Friendly URLs does not work - Joomla 4 Beta 5
avatar necsoiu necsoiu - edited - 3 Dec 2020
avatar Quy
Quy - comment - 3 Dec 2020

Duplicate #30368?

avatar bembelimen
bembelimen - comment - 3 Dec 2020

Where is the link? menu? article?

avatar toivo
toivo - comment - 4 Dec 2020

This works all right in Beta6-dev from https://developer.joomla.org/nightly-builds.html.
Did you set the option 'Remove IDs from URLs' in Content - Options - Integration - Routing?


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/31572.
avatar toivo
toivo - comment - 4 Dec 2020

@Quy - #30368 is about Smart Search output. Smart Search in Beta6-dev presents the URLs of found articles in SEF format, for example:
http://joomla4/blog/your-template?highlight=WyJ0YWczIl0=
http://joomla4/blog/my-article?highlight=WyJ0YWczIl0=

The URL of the actual search results page is displayed as http://joomla4/component/finder/search?q=beetroot&Itemid=101&Itemid=103.
Add a menu entry of the type 'Smart Search' - Search (The default Search layout) to a menu, which operation changes the URL of the search page to http://joomla4/search?q=beetroot which looks acceptable as a SEF URL.

This behaviour looks all right.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/31572.

avatar toivo
toivo - comment - 4 Dec 2020

@Quy - #30368 is about Smart Search output. Smart Search in Beta6-dev presents the URLs of found articles in SEF format, for example:
http://joomla4/blog/your-template?highlight=WyJ0YWczIl0=
http://joomla4/blog/my-article?highlight=WyJ0YWczIl0=

The URL of the actual search results page is displayed as http://joomla4/component/finder/search?q=beetroot&Itemid=101&Itemid=103.
Add a menu entry of the type 'Smart Search' - Search (The default Search layout) to a menu, which operation changes the URL of the search page to http://joomla4/search?q=beetroot which looks acceptable as a SEF URL.

This behaviour looks all right.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/31572.

avatar HLeithner HLeithner - change - 4 Dec 2020
Status New Closed
Closed_Date 0000-00-00 00:00:00 2020-12-04 10:13:35
Closed_By HLeithner
avatar HLeithner
HLeithner - comment - 4 Dec 2020

@necsoiu The behavior is expected because you don't have a category menu item nor a single article menu entry. In this case it uses the default menu item "featured" and adds the needed parameter (view, category and article id)

If it's not this behavior please reopen this issue.

avatar HLeithner HLeithner - close - 4 Dec 2020
avatar infograf768
infograf768 - comment - 4 Dec 2020

If the situation is as described by @HLeithner the solution is to always have, even if set to hidden, a "List All Categories" menu item.

Add a Comment

Login with GitHub to post a comment