SEO(SEF)-Category-Link in Section Blog causes 404 error

Need help with the Administration of your Joomla! 1.5 site? This is the spot for you.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Locked
JoeNast
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Sat Apr 12, 2008 8:34 am

SEO(SEF)-Category-Link in Section Blog causes 404 error

Post by JoeNast » Sat Apr 12, 2008 8:39 am

Problem Description:
Hi,
I have a problem with the section blog layout. The category titles under the article titles are linked to an 404 error-page.
When I switch SEO off the links are working fine.

Can someone please help me with this?


Diagnostic Information
Joomla! Version: Joomla! 1.5.2 Production/Stable [ Woi ] 22-March-2008 22:00 GMT
configuration.php: Writable (Mode: 640 ) | RG_EMULATION: N/A
Architecture/Platform: Linux 2.6.9-023stab046.2-smp ( i686) | Web Server: Apache/2.2.3 (Debian) mod_ssl/2.2.3 OpenSSL/0.9.8c ( xfilm-online.de ) | PHP Version: 5.2.0-8+etch10
PHP Requirements: register_globals: Disabled | magic_quotes_gpc: Enabled | safe_mode: Disabled | MySQL Support: Yes | XML Support: Yes | zlib Support: Yes
mbstring Support (1.5): Yes | iconv Support (1.5): Yes | save.session_path: Writable | Max.Execution Time: 30 seconds | File Uploads: Enabled
MySQL Version: 5.0.32-Debian_7etch5-log ( Localhost via UNIX socket )

Albaraha
Joomla! Apprentice
Joomla! Apprentice
Posts: 11
Joined: Tue Dec 12, 2006 5:36 am

Re: SEO(SEF)-Category-Link in Section Blog causes 404 error

Post by Albaraha » Mon May 26, 2008 9:03 am

I have the same issue on Joomla 1.5.3.
I switched "Category Title Linkable" in Article Manager Parameter off for the time being, while the section names are linkable and correctly lead to the section pages.

Any hint please?

User avatar
tgstk2
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Sat May 31, 2008 4:29 am
Location: Albuquerque, New Mexico, USA
Contact:

Re: SEO(SEF)-Category-Link in Section Blog causes 404 error

Post by tgstk2 » Tue Jun 10, 2008 8:17 am

I am having the same issue with Joomla! 1.5.3, SEO option turned on and apache mod_rewrite enabled. Clicking on a linkable category title produces a 404 error.

If anyone has a workaround or fix, please post here!

User avatar
pvh123
Joomla! Ace
Joomla! Ace
Posts: 1156
Joined: Wed Oct 05, 2005 7:25 am
Location: Emmen

Re: SEO(SEF)-Category-Link in Section Blog causes 404 error

Post by pvh123 » Tue Jun 10, 2008 8:33 am

I suppose you all have .htaccess enabled ? ;)

It would be useful to post the failing url to see what they look like.
Note: Sending me private messages for personal support, without this been requested, would lead to ignoring any of your posts in future!

User avatar
tgstk2
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Sat May 31, 2008 4:29 am
Location: Albuquerque, New Mexico, USA
Contact:

Re: SEO(SEF)-Category-Link in Section Blog causes 404 error

Post by tgstk2 » Tue Jun 10, 2008 4:56 pm

Here is some more information that may help debug this:

I have a section blog layout with the following URL:
http://www.100mindstreet.com/bookshelf

From there, I link to a category blog layout with the following URL:
http://www.100mindstreet.com/bookshelf- ... evelopment

The automatically generated link for the linkable category title which gives the 404 error is:
http://www.100mindstreet.com/bookshelf- ... evelopment

I checked, and my .htaccess file is present. I tried with the following line present and commented out, but it didn't seem to make a difference either way.
Options +FollowSymLinks

It may be useful to note that the linkable section titles do work, as they generate the following url:
http://www.100mindstreet.com/bookshelf

User avatar
SineMacula
Joomla! Explorer
Joomla! Explorer
Posts: 453
Joined: Sun Aug 21, 2005 5:16 am
Location: San Jose, CA
Contact:

Re: SEO(SEF)-Category-Link in Section Blog causes 404 error

Post by SineMacula » Wed Jun 11, 2008 12:26 am

I think this is the same issue as here:
http://forum.joomla.org/viewtopic.php?f ... &sk=t&sd=a

With SEO enabled, the Category links in the Section Blog layout are actually bringing up articles with the same ID as the category... if there is no article with that ID, then it results in a 404 error.

Don't know what the fix is. :(

User avatar
humvee
Joomla! Master
Joomla! Master
Posts: 14704
Joined: Wed Aug 17, 2005 10:27 pm
Location: Kent, England

Re: SEO(SEF)-Category-Link in Section Blog causes 404 error

Post by humvee » Wed Jun 11, 2008 1:22 pm

is the var $live_site setting completed in your configuration.php file?

Also perhaps if you completed the Post Assistant so we might identify any commonality in your server scenarios.

Thanks
Andy

User avatar
humvee
Joomla! Master
Joomla! Master
Posts: 14704
Joined: Wed Aug 17, 2005 10:27 pm
Location: Kent, England

Re: SEO(SEF)-Category-Link in Section Blog causes 404 error

Post by humvee » Wed Jun 11, 2008 1:23 pm

[Mod Note] Moved from General Questions

User avatar
SineMacula
Joomla! Explorer
Joomla! Explorer
Posts: 453
Joined: Sun Aug 21, 2005 5:16 am
Location: San Jose, CA
Contact:

Re: SEO(SEF)-Category-Link in Section Blog causes 404 error

Post by SineMacula » Wed Jun 11, 2008 4:02 pm

Problem Description:
I did not have the $live_site configured in configuration.php -- I\'ve added that, but still have the problem.

A section blog page like this:
http://wisdomtherapy.com/services - click a Category link for a displayed article, and you get something like
http://wisdomtherapy.com/services/suppo ... roups.html
when it should really be this:
http://wisdomtherapy.com/services/support-groups.html

The Category \"Support Groups\" does have ID 43, but when that extra bit of url \"43-support-groups.html\" gets added, I end up with a 404 error. In cases where the Category ID is matched by an article ID, I end up with the article.



Diagnostic Information
Joomla! Version: Joomla! 1.5.3 Production/Stable [ Vahi ] 22-April-2008 22:00 GMT
configuration.php: Writable (Mode: 777 ) | RG_EMULATION: N/A
Architecture/Platform: Linux 2.6.18-92.1.1.el5 ( x86_64) | Web Server: Apache/1.3.41 (Unix) FrontPage/5.0.2.2635 mod_psoft_traffic/0.2 mod_ssl/2.8.31 OpenSSL/0.9.8b ( wisdomtherapy.com ) | PHP Version: 5.2.5
PHP Requirements: register_globals: Disabled | magic_quotes_gpc: Enabled | safe_mode: Enabled | MySQL Support: Yes | XML Support: Yes | zlib Support: Yes
mbstring Support (1.5): Yes | iconv Support (1.5): Yes | save.session_path: Writable | Max.Execution Time: 40 seconds | File Uploads: Enabled
MySQL Version: 5.0.51 ( mysql1.hostica.com via TCP/IP )

Extended Information:
SEF: Enabled (with ReWrite) | FTP Layer: Enabled | htaccess: Implemented
PHP/suExec: User and Web Server accounts are not the same. (PHP/suExec probably not installed)
PHP Environment: API: apache | MySQLi: Yes | Max. Memory: 100M | Max. Upload Size: 100M | Max. Post Size: 100M | Max. Input Time: 60 | Zend Version: 2.2.0
Disabled Functions: openlog, apache_child_terminate, apache_get_modules, apache_get_version, apache_getenv, apache_note, apache_setenv, virtual
MySQL Client: 5.0.45 ( latin1 )

Albaraha
Joomla! Apprentice
Joomla! Apprentice
Posts: 11
Joined: Tue Dec 12, 2006 5:36 am

Re: SEO(SEF)-Category-Link in Section Blog causes 404 error

Post by Albaraha » Wed Jun 11, 2008 5:05 pm

humvee wrote:is the var $live_site setting completed in your configuration.php file?

Also perhaps if you completed the Post Assistant so we might identify any commonality in your server scenarios.

Thanks
Andy
I have $live_site set and 404 is displayed when clicking the section name when SEO is on.

User avatar
SineMacula
Joomla! Explorer
Joomla! Explorer
Posts: 453
Joined: Sun Aug 21, 2005 5:16 am
Location: San Jose, CA
Contact:

Re: SEO(SEF)-Category-Link in Section Blog causes 404 error

Post by SineMacula » Fri Jun 20, 2008 1:33 am

No ideas on a fix for this?

webwarrior
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Sun Oct 02, 2005 8:47 pm

Re: SEO(SEF)-Category-Link in Section Blog causes 404 error

Post by webwarrior » Fri Jun 27, 2008 5:06 pm

I'm going to make a few assumptions here:

That I understand the problem posted correctly
That you - like I had this problem on the Frontage;
That you are running J 1.5.3 STBL
That you want a solution.


Line #74 of file:
components\com_content\views\frontpage\tmpl\default_item.php
Should read:

Code: Select all

<?php echo '<a href="'.JRoute::_(ContentHelperRoute::getCategoryRoute($this->item->catslug, $this->item->sectionid)).'">'; ?>
Changing catslug to catid will resolve the issue of Show Cat Names, Make Cat Links loading a 404 when the Cat name is clicked.

This fix works regardless of what SEF options you choose in the global Configuration. Can't say what issues may arise with futre updates and never edit core stuff without backups -- blah, blah.

Have fun

Minnie Mouse
Joomla! Intern
Joomla! Intern
Posts: 92
Joined: Fri Mar 23, 2007 6:28 pm

Re: SEO(SEF)-Category-Link in Section Blog causes 404 error

Post by Minnie Mouse » Tue Jul 01, 2008 4:38 pm

hi, i also have this problem. i have a clean install of Joomla 1.5.3 and my category links do not work. i have also tried extended menu-- no luck. they dont work on breadcrumbs or on submenus. i get the 404 error as well. i tried the catslug replace on all my com_content files with the override set. it worked for the breadcrumbs but not the side menu. does anyone know what file needs to be changed for that to work?

User avatar
kenmcd
Joomla! Champion
Joomla! Champion
Posts: 5672
Joined: Thu Aug 18, 2005 2:09 am
Location: California
Contact:

Re: SEO(SEF)-Category-Link in Section Blog causes 404 error

Post by kenmcd » Thu Jul 03, 2008 3:59 pm

.
See:
[#11557] [Patch included] Link to category in article/frontpage and other views is incorrect when using SEF
http://joomlacode.org/gf/project/joomla ... m_id=11557

.
██ LibreTraining

JoeNast
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Sat Apr 12, 2008 8:34 am

Re: SEO(SEF)-Category-Link in Section Blog causes 404 error

Post by JoeNast » Fri Jul 04, 2008 4:36 pm

I gave the patch a try but it didn't work. It simply transforms a category link

from this:
/section_title/12-category_title/34-article_title.html

to that:
/section_title/category_title/34-article_title.html

But the link still results in a 404 error page with the message "404 - article #0 not found!".

Albaraha
Joomla! Apprentice
Joomla! Apprentice
Posts: 11
Joined: Tue Dec 12, 2006 5:36 am

Re: SEO(SEF)-Category-Link in Section Blog causes 404 error

Post by Albaraha » Fri Jul 04, 2008 10:09 pm

JoeNast wrote:I gave the patch a try but it didn't work. It simply transforms a category link

from this:
/section_title/12-category_title/34-article_title.html

to that:
/section_title/category_title/34-article_title.html

But the link still results in a 404 error page with the message "404 - article #0 not found!".
Did you post on the bug page? This will be helpful for sure.

timbastable
Joomla! Fledgling
Joomla! Fledgling
Posts: 4
Joined: Thu Dec 03, 2009 6:32 pm
Location: france

Re: SEO(SEF)-Category-Link in Section Blog causes 404 error

Post by timbastable » Wed Dec 09, 2009 10:51 pm

ok - i'm putting this here because i think it may be in the same line of issues - i'm a real novice and was really surprised to see how easy simple site build was with joomla - had more or less finished - was advised to turn on "mod_rewrite" to solve an issue - realised that i was getting out of my depth and turned it off again - and immediately got "404 site not found" both for my site and for Joomla admin - I touched nothing!

any ideas??

seapirate
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Wed Sep 01, 2010 7:37 pm

Re: SEO(SEF)-Category-Link in Section Blog causes 404 error

Post by seapirate » Wed Sep 01, 2010 7:47 pm

Hi! I'm having the same issue with Joomla 1.5.20. My site uses Joomfish to support 2 languages. Strangely, one of the languages (not the default one) works when category/section is published with sef, while the other one crashes on the same category with the 404 #x Article is not found message. Furthermore one of the contacts appears wrong.
With sef off, everything works fine

Any progress/patch/solution in this matter would be appreciated...

User avatar
ianmaciel
Joomla! Apprentice
Joomla! Apprentice
Posts: 6
Joined: Thu Nov 11, 2010 12:32 pm

Re: SEO(SEF)-Category-Link in Section Blog causes 404 error

Post by ianmaciel » Fri Jan 07, 2011 1:10 pm

I'm also getting this issue.

Does anyone have this fixed?

I also tried de patch but it didn't work.

antifmradio
Joomla! Explorer
Joomla! Explorer
Posts: 414
Joined: Sun Feb 07, 2010 3:22 pm
Location: NJ NYC
Contact:

Re: SEO(SEF)-Category-Link in Section Blog causes 404 error

Post by antifmradio » Mon Jan 24, 2011 2:48 am

wow i cant believe how many of us are having this issue
i too am using the CORE SEF of Joomla
i tried using the sh404sef component but it wasnt working out the way i needed on this server

So i removed it some time ago

today however i did add a few articles to the site
and i decided to just check out the linkable CATEGORY deal
when i click on the category, i also get the 404 page

see here
If you goto this article
http://www.antifmradio.com/joom/all-dow ... andy-boyer

and click on its CATEGORY, it should bring you here
http://www.antifmradio.com/joom/all-dow ... dlblog/178

now i know this linking is correct because in the backend,
the category "Tiesto" has the ID of 178

now here is the strange thing.
IF i simply goto this link
http://www.antifmradio.com/joom/index.p ... =frontpage

I can see all the articles listed as FRONTPAGE items (in some strange order)
If i click any of the CATEGORY links from there, it works fine

That leads me to here
http://www.antifmradio.com/joom/compone ... tegory/178

well hold on a sec. There is still a problem going on because if you click ANY of those title
you again get the 404 error page
http://www.antifmradio.com/joom/compone ... e/178/1676

User avatar
ianmaciel
Joomla! Apprentice
Joomla! Apprentice
Posts: 6
Joined: Thu Nov 11, 2010 12:32 pm

Re: SEO(SEF)-Category-Link in Section Blog causes 404 error

Post by ianmaciel » Mon Jan 24, 2011 3:44 am

yeah...

I "solved" my problem changing my module code and making this link to "index.php?..." without the SEF urls. This is bad because this way I "show" to the world (specially google) non-friendly urls.

You can se this at www.reivax.com, on "news", "cases", and "events" title and pictures the link refers to index.php. All other links refers to friendly urls.

bluewmaster
Joomla! Apprentice
Joomla! Apprentice
Posts: 8
Joined: Tue Sep 25, 2007 9:23 pm

Re: SEO(SEF)-Category-Link in Section Blog causes 404 error

Post by bluewmaster » Wed Feb 02, 2011 3:34 pm

What a shame joomla has this problem since 1.5.3!
All joomla 1.5 sites have this problem, and it`s a core bug.

Is there any fix or patch, whatsoever for this??

antifmradio
Joomla! Explorer
Joomla! Explorer
Posts: 414
Joined: Sun Feb 07, 2010 3:22 pm
Location: NJ NYC
Contact:

Re: SEO(SEF)-Category-Link in Section Blog causes 404 error

Post by antifmradio » Wed Feb 02, 2011 4:47 pm

see... sot of
instead of using this feature i am simply using another component to use for articles and blogging.

made by Yootheme. Its a component they created called ZOO
which comes with "apps and modules" one of which is a CATEGORY module.
its working perfectly

User avatar
Gasoline
Joomla! Explorer
Joomla! Explorer
Posts: 468
Joined: Tue Aug 23, 2005 10:33 am
Location: NL

Re: SEO(SEF)-Category-Link in Section Blog causes 404 error

Post by Gasoline » Wed Apr 13, 2011 8:22 pm

I now are building a sim ple site for a coleint in 1.5.23 and problem still excists.

What should I do now, I don't want to turn off SEO because I want neat urls
Using Joomla since 2005.

User avatar
jongo
Joomla! Apprentice
Joomla! Apprentice
Posts: 12
Joined: Thu Feb 17, 2011 3:27 pm
Location: Leeds - UK
Contact:

Re: SEO(SEF)-Category-Link in Section Blog causes 404 error

Post by jongo » Mon Apr 25, 2011 9:38 pm

I have the same problem using extended menu, just reciving this topic in case anyone has found or knows of a fix yet?
Visit my portfolio at http://freelancefryer.co.cc/

joeamberg
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Thu Jun 30, 2011 7:34 am

Re: SEO(SEF)-Category-Link in Section Blog causes 404 error

Post by joeamberg » Thu Jun 30, 2011 12:47 pm

Nice to join this thread of people having exactly the same troubles I have...

I also found the patch proposal as listed above
http://joomlacode.org/gf/project/joomla ... m_id=11557

It sounds perfect, because it describes precisely what happens: the category is added to the link path - but is not required, and such a path will never work
I carried out all the indicated code change steps to get rid of it - however, all the code changes simply do not show any effect, the cat. part is still concatinated...

It is obviously a severe Joomla bug - and nobody can solve it....?

agustin
Joomla! Apprentice
Joomla! Apprentice
Posts: 16
Joined: Sun Dec 11, 2011 1:01 am

Re: SEO(SEF)-Category-Link in Section Blog causes 404 error

Post by agustin » Tue Dec 27, 2011 9:53 am

And this is why joombla sucks, that's it, this is the last webpage I'm going to make with joombla.

Everytime I install something, change something, edit something -->boom a new error

Then I go to joombla forum--> boom 100 users with the same problem

Read, read, read --> no solution


Locked

Return to “Administration 1.5”