Joomla Category URL Issue

I have a 2.5.7 installation where if I assign an article to Category A the URL is /index.php/category-a/10231-test-post and it works properly but if I assign it to Category B the URL is /index.php/638-parent-category/category-b/10231-test-post and the link doesn't work (just redirects to homepage).

Both categories are under the same parent category. Why in the world would one generate a different URL that doesn't work?

When I set SEF to off the link still doesn't work if it's in Category B. It becomes:

/index.php?option=com_content&view=article&id=10231:test-post&catid=638:november-2014&Itemid=54

If set to Category A it works and the link is:

/index.php?option=com_content&view=article&id=10231:test-post&catid=633:june-2014&Itemid=1407

The only code in htaccess is this, which I doubt is affecting the issue:

# BEGIN YOURLS
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteBase /
RewriteRule ^([a-zA-Z0-9]+)/?$ /go.php?id=$1 [L] 
</IfModule>
# END YOURLS
AddType video/webm .webm
AddType video/ogg .ogv
AddType video/mp4 .mp4

Open in new window

LVL 1
sc456aAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

sc456aAuthor Commented:
Does anyone have a suggestion for this issue??
0
lenamtlCommented:
Hi, which SEF plugin are you using?

Some readings
https://docs.joomla.org/Enabling_Search_Engine_Friendly_(SEF)_URLs
0
sc456aAuthor Commented:
No plugins - the built-in SEF functionality.
0
Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

lenamtlCommented:
Here is one model I use in the past
change mysite.com with your domain, it does also 301redirection you can removed that if you want.

Options +FollowSymLinks
DirectoryIndex index.php
RewriteEngine On
RewriteBase /
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.php\ HTTP/
RewriteRule ^index\.php$ http://www.mysite.com/ [R=301,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
rewritecond %{http_host} ^mysite.com [nc]
rewriterule ^(.*)$ http://www.mysite.com/$1 [r=301,nc]
0
sc456aAuthor Commented:
I'm not trying to setup a redirect. I'm trying to figure out why I can't place articles in certain categories.
0
lenamtlCommented:
I know sorry for the confusion
Igave you one of my .htaccess file content so you can adjust yours ... to make tests
0
sc456aAuthor Commented:
The problem isn't in the .htaccess file. If it were, none of the categories would be working. I just provided mine to show that it wasn't there.
0
lenamtlCommented:
Is category B is set to a group that require login, this may be the reason why it's not working.

You have to compare both category settings to find what is different
0
sc456aAuthor Commented:
The category settings appear to be identical.
0
lenamtlCommented:
strange.. You can check if the ID are the good one?
The articles are both set for the same user group same rights?
0
sc456aAuthor Commented:
"Public" has the same permissions to both categories. I don't know what any of your other questions mean.
0
sc456aAuthor Commented:
Issue resolved. I had to create a menu item and assign the category to it. Ugh. Joomla.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
sc456aAuthor Commented:
Because my solution had nothing to do with any of the other suggestions.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Joomla

From novice to tech pro — start learning today.