• Home
  • Get help
  • Ask a question
Last post 23 min ago
Posts last week 110
Average response time last week 29 min
All time posts 67394
All time tickets 10423
All time avg. posts per day 21

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.

#4615 – Hidden menu

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, 05 February 2018 11:48 UTC
bobptz
 Hi

How can I make a SEF url for an item that belongs to a HIDDEN menu?

Please see attached screenshots.
Monday, 05 February 2018 16:26 UTC
wb_weeblr
Hi

Either you:

1 - Create a link from your content (how are your users going to get access to this page if there is no link to it?)
or
2 - You manually create the non-sef/SEF pair in the sh404SEF URL manager.

Rgds
 
Monday, 05 February 2018 20:18 UTC
bobptz
1) no, these are pages used for adwords. They are not supposed to be indexed.
2) I am trying to find what are the non-sef urls of those menu items. If I find them, of course I know how to manually add them.
Monday, 05 February 2018 21:22 UTC
bobptz
I am experimenting, how to make SEF urls out of the hidden menu ones.

This url:
index.php?option=com_content&view=article&id=89

correctly displays this sef url:
xxxx.com/hidden/thank-payment.html

However this url (Greek Lessons for Kids):
index.php?option=com_content&view=article&id=14

WRONGLY displays this sef url:
xxxx.com/plain-page/children-greek.html

What I want to display is this page (this is from the production site):
xxxx.com/kids-pr.html

You will notice the big blue masthead on the top.

Can you help with this please?
Monday, 05 February 2018 21:45 UTC
bobptz
I just tried this one too:
index.php?option=com_content&view=article&id=14&Itemid=319

Again it gives the wrong sef url:
xxxx.com/plain-page/children-greek.html
Tuesday, 06 February 2018 10:54 UTC
wb_weeblr
Hi

I just tried this one too:

index.php?option=com_content&view=article&id=14&Itemid=319
This page works fine when entered as non-sef.

So when you create it as non-sef/SEF pair, it will work exactly the same.

Again it gives the wrong sef url:

xxxx.com/plain-page/children-greek.html
What does that mean? what does "gives" mean? where do you see this URL? did you create it manually, as this was the topic of this ticket?

Also and very importantly: please stop mixing up things. I want you to select one single URL case and do not talk about anything else until this problem is understood and solved.

Rgds

 
Tuesday, 06 February 2018 13:58 UTC
bobptz
If I understand correctly this is the url of the hidden menu :
index.php?option=com_content&view=article&id=14&Itemid=319

Indeed this is from the live site:
xxxx.com/index.php?option=com_content&view=article&id=14&Itemid=319
and I want to use this sef url:
xxxx.com/kids-pr.html

So the SEF url I need to create is this:
xxxx.com/kids-pr.html

I have created the following url record:
SEF url: kids-pr.html
NON-SEF url: index.php?option=com_content&view=article&id=14&Itemid=319
(kids-pr.png)

BTW, you will notice the sh404sef replaces the non-sef url with this one:
index.php?option=com_content&Itemid=319&id=14&lang=en&view=article
I hope this is not a problem.

I clear the cache and then I enter this url in the address bar:
xxxx.com/index.php?option=com_content&view=article&id=14&Itemid=319

Which is automatically replaced with this sef url:
https://xxxx.com/children-greek.html

I see two problems here:
1) The above page is wrong, it does not contain the big blue header.
2) I wanted to see this sef url: kids-pr.html, not this one: children-greek.html

I suspect the problem is in this record:
children.png

The non-sef url at the end, the one with Itemid=319 may cause the children-greek.html SEF to appear. I tried to delete that non-sef url, but there is no such capability.

I hope the situation is clear now.

Tuesday, 06 February 2018 14:42 UTC
wb_weeblr
Hi

The non-sef url at the end, the one with Itemid=319 may cause the children-greek.html SEF to appear. I tried to delete that non-sef url, but there is no such capability.
Yes. The desired URL record already exists. To delete it:

- make it "Main"
- delete it

I see a problem on your screenshots though: the language for those URLs is not the same: some URLs have lang=en-us, some have lang=en.

This is the real source of the problem actually: you should not have been able to create the record:
SEF url: kids-pr.html
NON-SEF url: index.php?option=com_content&view=article&id=14&Itemid=319

It should have been seen as already existing and you'd be warned of that. But those 2 URLs are different. You need to fix you language setup first: use en or en-us, but decide on one. And the delete all URLs that do not have the proper language code.

Rgds


 
Tuesday, 06 February 2018 18:43 UTC
bobptz
ok, I will try to fix the language code and make it uniform.

Thanks.
Tuesday, 06 February 2018 22:13 UTC
bobptz
After fixing the language code, I think I correctly made the sef url for the hidden menu too:
https://xxxx.com/kids-pr.html
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.