• Home
  • Get help
  • Ask a question
Last post 4 hours 10 min ago
Posts last week 94
Average response time last week 34 min
All time posts 67856
All time tickets 10487
All time avg. posts per day 20

Helpdesk is open from Monday through Friday CET

Please create an (free) account to post any question in the support area.
Please check the development versions area. Look at the changelog, maybe your specific problem has been resolved already!
All tickets are private and they cannot be viewed by anyone. We have made public only a few tickets that we found helpful, after removing private information from them.

#116 – Module not displayed at subcategory level Article

Posted in ‘sh404SEF’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Monday, 20 April 2015 12:01 UTC
brij
 My problem is as below , not sure if i should raise a ticket or post in forum.

My Site Configuration :
Joomla -3.3.3
SSH Instaled version- 4.4.6.2271

About my site layout:
My website is www.xxxx.com. I have created a category "ca-cpt" and a subcategory "accounts". http://prntscr.com/6v51og

And there are many articles linked to ca-cpt sub category acccount. I am taking one here as an example "inventory" which is linked to sub category accounts http://prntscr.com/6v51yb.
url for that artcile is : http://www.xxxx.com/ca-cpt/accounts/inventory

My Problem:
I have modules which i want to display in the article inventory, i have selected the subcategory accounts http://prntscr.com/6v52y8.

However Modules are displayed in both at category "ca-cpt" http://www.xxxx.com/ca-cpt and subcategory "accounts" http://www.xxxx.com/ca-cpt/accounts however it is not displayed at article level

http://www.xxxx.com/ca-cpt/accounts/inventory

Kindly help
Tuesday, 21 April 2015 08:21 UTC
wb_weeblr
Hi

This looks very much like an Itemid issue, caused by Joomla duplicated URLs.

Could you please provide us with superadmin credentials to your website. You can create a temporary account, and delete it afterwards, but it must have superuser level.

Thanks and regards
 
Tuesday, 21 April 2015 10:48 UTC
brij
Yes, i always struggle with managing duplicate , also once you resolve this do suggest how to manage duplicates .

URL :https://www.xxxx.com/administrator
username & password :xxxx

Also not sure if this ticket is private .. as i am sharing confidential information.
Tuesday, 21 April 2015 12:09 UTC
wb_weeblr
Hi

I get this with these credentials: https://weeblr.com/images/screenshots/otNKhkFj79zuMRvD8oO8LMu7OjCee0.png
 
Tuesday, 21 April 2015 12:24 UTC
brij
Sorry forgot to activate the user. Now activated with Super user rights
Wednesday, 22 April 2015 08:43 UTC
wb_weeblr
Hi

So taking as an example the /ca-cpt/accounts/inventory URL, if you go to the URL manager, you will see the following:

https://weeblr.com.png

It means Joomla has created different non-sef urls for the same content. sh404SEF made sure search engines only sees one, so it creates the same SEf url for all 3 non-sef. Clicking on the orange conter badge shows this:

https://weeblr.com.png

This shows that when /ca-cpt/accounts/inventory is requested, sh404SEF will transform it back into:
index.php?option=com_content&Itemid=176&id=30&lang=en&view=article

So the Itemid is going to be 176. However, I couldn't find any menu item with id 176 at first, but then I found it in the trash of your "Hidden" menu.
What hapenned is that the URL was created initially with Itemid 176, but then you deleted that menu. WHen you attach modules, I'm sure you attach them to the new menu item, no the old.

There are options from there:

1 - You can purge the URL database. As you have deleted quite a few menus, you have probably plenty of URLs in the database with old, incorrect menu items.

2 - As you can see on the second screen shot, you will still have problems after that, because the second non-sef for this SEF url is:

index.php?option=com_content&Itemid=101&catid=9&id=30&lang=en&view=article

101 is the Itemid of your home page. I don't know why you have some non-sef links, maybe you created links from the home page to that category, or you're using a module that doesn't include Itemids in links?

You should make sure you only creates links with the correct Itemid in them.

Anyway, if that happens, you can simply select the correct URL, the last one:
index.php?option=com_content&Itemid=161&catid=9&id=30&lang=en&view=article

and click on the "Make main" button, to force sh404SEF to use this URL, with the correct Itemid=161

Rgds
 
Wednesday, 22 April 2015 13:39 UTC
brij
Thank you for your reply.I invested some time to figure out what is happening.. However was unable to solve though.
For url /ca-cpt/accounts/inventory In the image https://weeblr.com.png
I have 30 as article id , 176 i am unable to trace ,101 is my home page menu id ,161 is blog menu id

However i think i should be linked to either CPT menu(106) or accounts submenu (153)
http://prntscr.com/6wu69w

given the url /ca-cpt/accounts/inventory.However, i am not sure how this happening.

As you suggested i made changes in duplicate url i selected the last one:
index.php?option=com_content&Itemid=161&catid=9&id=30&lang=en&view=article

https://xxxx.com/ca-cpt/accounts/inventory

I have four modules displayed in Accounts menu :
1. CA CPT Now image
2. CA CPT JSiteMap
3. Contact Form (Full Site)
4. Facebook & Youtube Like

After making changes in duplicate only the last module is displayed in https://xxxx.com/ca-cpt/accounts/inventory and other three are not visible.

If i follow this route i have to go and make changes in all duplicate url.


Wednesday, 22 April 2015 13:58 UTC
wb_weeblr
Hi

Which is why you should first try to figure out what module is producing those bad URLs, missing Itemid

Rgds
 
Wednesday, 22 April 2015 17:26 UTC
brij
I am not able to undestand what is happening at backend. It would really appreciate if you can guide me what is the issue and how i can overcome this.

Regards
Thursday, 23 April 2015 08:09 UTC
wb_weeblr
Hi

This is not about backend. It's about your frontend. Somewhere on your site, you are displaying links with wrong Itemids (when I say you, I mean Joomla, usually it's modules that are creating those links).

I already gave you one example:
I have 30 as article id , 176 i am unable to trace ,101 is my home page menu id ,161 is blog menu id
I was able to trace 176:
However, I couldn't find any menu item with id 176 at first, but then I found it in the trash of your "Hidden" menu.
You created a menu item with id 176 (in the "Hidden" menu) and then you deleted it (put it to trash).
But the links were created, and they are still in the sh404SEF database.
As you suggested i made changes in duplicate url i selected the last one:

index.php?option=com_content&Itemid=161&catid=9&id=30&lang=en&view=article



https://xxxx.com/ca-cpt/accounts/inventory



I have four modules displayed in Accounts menu :

1. CA CPT Now image

2. CA CPT JSiteMap

3. Contact Form (Full Site)

4. Facebook & Youtube Like



After making changes in duplicate only the last module is displayed in https://xxxx.com/ca-cpt/accounts/inventory and other three are not visible.

But "Accounts" is Itemid 153, why do you select Itemid 161, which is another menu item?

The solution is not in "fixing" the bad links after. It's in finding where those links are created.
I would suggest the following: disable sh404SEF AND disabled Joomla SEF. You will have only non-sef URL on your site and if you go to your home page, and the visit the other pages, you'll be able to see where those bad Itemid links are coming from.

Rgds

 
Saturday, 25 April 2015 17:40 UTC
brij
I did what you said , disable - Joomla SEF and sh404SEF. Layout was all broken :) and problem as not resolved. I checked in local computer though.

You were right 176 was in trash in hidden menu. I cleaned the transhed as well and Checked the same url https://xxxx.com/ca-cpt/accounts/inventory
i got this http://prntscr.com/6y1mvp

Was unable to find 9 any where (Menu,Article,Module,Plugin) xxxx/9-ca-cpt/accounts/30-inventory

I think since i started the site without sh404SEF and latter on incorporate sh404SEF may have triggered some issues . I am unable to track them though.

What i have done is created a development site
http://dev.xxxx.com/
SuperUser
URL :http://dev.xxxx.com/administrator
username & password :xxxx

I always fear if by mistake i work on main site instead of development site. Hence as a safety measure I have disabled this superuser in main site xxxx.com

This site is replica of actual site as live now. You can disable and test what you want in this site.Hope this will help us in addressing the issue.
Also i am afraid if i do changes suggested by you , it will not end with hurting my SEO results.
Monday, 27 April 2015 10:06 UTC
wb_weeblr
Hi

Sorry I don't follow you.
You were right 176 was in trash in hidden menu. I cleaned the transhed as well and Checked the same url https://xxxx.com/ca-cpt/accounts/inventory

i got this http://prntscr.com/6y1mvp
Your screenshot looks weird, it only contains a URL, but no page content.

If I go to https://xxxx.com/ca-cpt/accounts/inventory, I can see this: https://weeblr.com/images/screenshots/5Qf3z2lT9qzEGV6kWwajrxO2P0D1y2.png

Going to backend, I see this: https://weeblr.com/images/screenshots/ha0L0mAkgWldoq6AwH33Hejv1dXO8C.png
This page is displayed with Itemid 161. Which is the blog menu.
However I think this page should be displayed with Itemid 106, right? That's the "Course - ca cpt" menu item.
My best interpretation of this is that you have a link to the /ca-cpt/accounts/inventory in one of your blog posts, but that link has been created with the wrong Itemid, and it's still there.

Also, I can see the 3rd duplicate is with Itemid 176. So I searched that menu item, and I couldn't find it. But I found it after looking in the trashed items: https://weeblr.com/images/screenshots/Foud1PvoNFuASNMQfCK20sRhueG30A.png

At this stage, it's total confusion because of all these old and bad links. So last chance to celar thigs out is:
1 - delete anything that's trashed.
2 - Review blog posts to see if you can find those links with wrong Itemids
3 - Purge sh404SEF URLs
4 - Visit home page and see what the links are now

RGds



 
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.