• Home
  • Get help
  • Ask a question
Last post 1 hour 5 min ago
Posts last week 141
Average response time last week 4 hours 42 min
All time posts 67801
All time tickets 10476
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.

#3544 – Can't find URL - URGENT!!!!

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.
Thursday, 20 April 2017 19:58 UTC
behzad-behzad-com
 I need to build an Alias for one of our events managed through EventBooking extension.

The problem is that I can't find it in the URL Manager.

The direct link is: http://xxxx.org/events/festival-of-books/iran-through-books-2017

I've searched for "events", "festival", and "books" but the URL I'm looking for doesn't come up. I've definitely visited that page many times, as have other people, so it should exist in the database.

This event is in 2 days and we're promoting a short URL that I have not set up yet!!! This is critical!!! PLEASE HELP!!!

Bez

p.s. I can't tell if this ticket will be posted to the public forum or a private area so I have not included the site Admin login info. Please contact me and I will provide it. It was also provided in a previous ticket I opened.
Thursday, 20 April 2017 20:02 UTC
behzad-behzad-com
After posting my message I noticed it says private... so here is the login info:

URL: xxxx.org/administrator
User: xxxx
Password: xxxx

The alias for that event should be: xxxx

I would be grateful if you fix it, but I much prefer if you tell me how to fix it in the future myself. In other words, how do I generate URLs I can't find? Thanks!

Thursday, 20 April 2017 20:15 UTC
behzad-behzad-com
Update: Out of desperation, I manually created a new URL in the URL Manager.

I copied the non-SEF URL from another event, and figured out the Category and Event IDs.

It seems to work, though there are some problems:

1. The hits on that page are 0 since I just created it. The URL has gotten hits for a few weeks now.

2. I can't always create URLs manually since it's cumbersome, and figuring out the non-SEF URL is not simple.

3. I need to hand this site over to my client soon, and they expect a simple way to create Aliases. They won't accept a manual workflow.

Please help me understand what happened and why the URL was not automatically generated.

Thank you.
Friday, 21 April 2017 07:44 UTC
wb_weeblr
Hi

URLs are recorded by sh404SEF when Joomla asks it to do so. When a URL is required by Joomla or an extension to be displayed on a page, then Joomla/extension creates the internal non-sef URL, and then call a Joomla API function called JRoute:__(), sending the non-sef URL and expecting to receive the SEF URL in return. The SEF URL can then be displayed where it is required.
I've definitely visited that page many times, as have other people, so it should exist in the database.

How many times you visited the page has nothing to do with the URL being in the database. What matters is if a link to that page was displayed on any other page. This is when the URL is created and recorded in the sh404SEF database.

There are many reasons why a URL would not appear in the database, most of them related to how a link to that page is created. But in your case, it's simpler: you have set EventBooking to "Use Joomla router" under the "By component" tab of sh404SEF configuration. Therefore you have entirely disabled sh404SEF for this component.

I don't know why you did that, but if you set sh404SEF to be disabled for EventBooking, then no URL will be created for it. It's simply the standard Joomla router being used, as if sh404SEF was not installed. As I'm sure you've seen, only a handful of URLs are recorded for EventBooking: most have been manually created, and only 2 have been created automatically. I suspect these 2 were recorded before you switched sh404SEF to be bypassed for EventBooking.

Either you enable sh404SEF for EventBooking, or short aliases can only be created manually I'm afraid.

Rgds
 
Saturday, 06 May 2017 05:34 UTC
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.
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.