?
avatar Arahort
Arahort
21 Dec 2016

Steps to reproduce the issue

Create a page
site.ru/article
site.ru/blog/article
Add to the URL address of a non-existent
site.ru/article-123
site.ru/blog/article-123
site.ru/blog/article/123

Expected result

site.ru/article-123 = 404 Error
site.ru/blog/article-123 404 Error
site.ru/blog/article/123 404 Error

Actual result

site.ru/article-123 = 404 Error
site.ru/blog/article-123 The page reloads, open the same article, the wrong URL
site.ru/blog/article/123 404 Error

System information (as much as possible)

Tested in Joomla! 3.5.1, 3.6.5
SEF = on

avatar Arahort Arahort - open - 21 Dec 2016
avatar joomla-cms-bot joomla-cms-bot - labeled - 21 Dec 2016
avatar tonypartridge
tonypartridge - comment - 21 Dec 2016

Can you confirm which sef options you have enabled?

avatar tonypartridge
tonypartridge - comment - 21 Dec 2016

Also,

Do you have articles or categories with the same id? If so they will always load since this is how the router is coded. Nothing they can do about it.

Many thanks
Tony

avatar infograf768
infograf768 - comment - 22 Dec 2016

This is an old known issue, also present in staging.

avatar tonypartridge
tonypartridge - comment - 22 Dec 2016

Agreeded. The solution will be Joomla! 3.7 with the new SEF system which IMHO should be enabled by default for new Joomla! Installations, this would prevent the above type of issues occurring again.

avatar infograf768
infograf768 - comment - 22 Dec 2016

Sorry, but not. 3.7. does not solve the 404 issue.
see #12822

avatar tonypartridge
tonypartridge - comment - 22 Dec 2016

Actually it should since the numbering won't be in the urls by default. I know it won't solve it for previous sites and it can't since the way the routers work.

But if there is no id in the URL in the first place i.e. the new routing system then the issue can't occur.

avatar tonypartridge
tonypartridge - comment - 2 Feb 2017

Bringing this backup, still a big issue here. New router doesn't seem to pickup 404's in the com_redirects component and always loads 404's to the homepage without showing any error.

Example. Enabled new router and remove ids from URLS. visit your new menu item which is linked to say a single article. remove 1 character from the url. Your site just loads the homepage. Fresh base Joomla! install. This is an issue.

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 6 Feb 2017

shouldn't that be resolved before release?

avatar tonypartridge
tonypartridge - comment - 6 Feb 2017

Yes it should have, turns our the new router needs quite a bit of work :-(

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 6 Feb 2017

@wilsonge had a PR for testing, maybe there is work ongoing.

avatar tonypartridge
tonypartridge - comment - 6 Feb 2017

yep @franz-wohlkoenig I've been chatting with George the last couple of days. It's a complex issue :-(.

avatar Hackwar
Hackwar - comment - 27 Feb 2017

You can not fix this issue by default for everyone without breaking backwards compatibility. It is fixed in 4.0-dev

avatar Hackwar
Hackwar - comment - 4 Mar 2017

Since this is the same issue as in #12822, can we please close this one?

avatar wilsonge
wilsonge - comment - 4 Mar 2017

Yup :)

avatar wilsonge wilsonge - change - 4 Mar 2017
Status New Closed
Closed_Date 0000-00-00 00:00:00 2017-03-04 10:38:08
Closed_By wilsonge
avatar wilsonge wilsonge - close - 4 Mar 2017

Add a Comment

Login with GitHub to post a comment