No Code Attached Yet bug
avatar nzyeehaa
nzyeehaa
11 Aug 2023

Steps to reproduce the issue

www.site.com (J4.3.3 / SEF / rewriting enabled / .htaccess / cache disabled)

  • add category -products
    -- add sub-category --ducks
    -- add item -products--ducks>inline
  • add menu item -products
  • add category -sold (marked noindex,nofollow)
  • add menu item -sold (hidden and marked noindex,nofollow)

search engines pickup URL as www.site.com/products/ducks/inline (correct)
Then...
Move item (>inline) to -sold category and archive item (>inline)

Expected result

follow search engine link and...
www.site.com/products/ducks/inline should now show 404 as that link does not exist / or be rerouted to...
www.site.com/sold/inline
and breadcrumbs should reflect as above

Actual result

follow search engine link and...
www.site.com/products/ducks/inline works URL shows the same - but the item has moved and is no longer in -products--ducks
and breadcrumbs show...

  • products>sold>ducks>inline (which is totally incorrect)
    also
    www.site.com/sold/inline works (duplicate content)
    and breadcrumbs show...
  • sold>inline

System information (as much as possible)

Apache
PHP 8.0
J4.3.3 (SEF / rewriting enabled / .htaccess / cache disabled)
custom template

Additional comments

It seems the router is checking the item exists,
but not following the correct menu structure,
and not following the correct category structure,
and the breadcrumbs is making up its own story

the item is available many ways...
www.site.com/products/ducks/inline
www.site.com/products/ducks/1
www.site.com/products/inline
www.site.com/products/1

added aug 23 - www.site.com/products?start=15 (pagination indexed by google!)

www.site.com/inline
www.site.com/1
www.site.com/sold/inline
www.site.com/sold/1

added aug 23 - www.site.com/sold?start=15

I am using a module (Articles - Categories) to auto generate product menu tree, but cant see how this would change anything to this extent. Disable module and problem still exists.

remove custom html - problem still exists
remove custom htaccess - use 4.3.3 htaccess - problem still exists

avatar nzyeehaa nzyeehaa - open - 11 Aug 2023
avatar joomla-cms-bot joomla-cms-bot - change - 11 Aug 2023
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 11 Aug 2023
avatar nzyeehaa nzyeehaa - change - 11 Aug 2023
The description was changed
avatar nzyeehaa nzyeehaa - edited - 11 Aug 2023
avatar nzyeehaa nzyeehaa - change - 11 Aug 2023
The description was changed
avatar nzyeehaa nzyeehaa - edited - 11 Aug 2023
avatar nzyeehaa nzyeehaa - change - 11 Aug 2023
Title
router fails after item moved and breadcrumbs confused
router fails after item moved resulting in breadcrumbs confused
avatar nzyeehaa nzyeehaa - edited - 11 Aug 2023
avatar nzyeehaa
nzyeehaa - comment - 11 Aug 2023

Further...
enable redirect plugin, the link is recorded as a 404, but the link still works from search engines and no 404 is sent to browser

avatar Hackwar Hackwar - change - 11 Aug 2023
Labels Added: bug
avatar Hackwar Hackwar - labeled - 11 Aug 2023
avatar nzyeehaa nzyeehaa - change - 12 Aug 2023
The description was changed
avatar nzyeehaa nzyeehaa - edited - 12 Aug 2023
avatar Hackwar Hackwar - change - 25 Aug 2023
Labels Added: PBF
avatar Hackwar Hackwar - labeled - 25 Aug 2023
avatar nzyeehaa nzyeehaa - change - 30 Aug 2023
The description was changed
avatar nzyeehaa nzyeehaa - edited - 30 Aug 2023
avatar nzyeehaa nzyeehaa - change - 30 Aug 2023
The description was changed
avatar nzyeehaa nzyeehaa - edited - 30 Aug 2023
avatar nzyeehaa
nzyeehaa - comment - 30 Aug 2023

As noted above... (this should be a different thread - but it also fits here)
Pagination is indexed by google

added aug 23 - www.site.com/products?start=15 (pagination indexed by google!) = duplicate content

avatar brianteeman brianteeman - change - 1 Sep 2023
Labels Removed: PBF
avatar brianteeman brianteeman - unlabeled - 1 Sep 2023

Add a Comment

Login with GitHub to post a comment