SPECIAL OFFER: Only $69 for access to everything in OSTraining for 1 year! You save $75! 
Join today and get access to 1,000's of books and videos. Learn WordPress, Drupal, Magento, Joomla and more! Sign up today!

Aliases

5 years 7 months ago #123432 by savethefrogs
Aliases was created by savethefrogs
Hi,
I am wondering how 69 and 88 ended up in my article URL if the aliases I created did not contain them?
www.savethefrogs2.com/countries/69-ecuad...or-2016-announcement
Thanks!
Kerry

Please Log in to join the conversation.

5 years 7 months ago #123434 by Valentin
Replied by Valentin on topic Aliases
Hi Kerry,

Those are the ids of the category and article, respectively.

This post explain why those numbers are there and how to remove them.

Kind regards,
Valentín

Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining

Please Log in to join the conversation.

5 years 7 months ago #123437 by savethefrogs
Replied by savethefrogs on topic Aliases
Awesome, you guys rock!

Please Log in to join the conversation.

5 years 7 months ago #123438 by Nick
Replied by Nick on topic Aliases
Thanks for the kind words, Kerry! :)

Cheers,
Nick

Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining

Please Log in to join the conversation.

5 years 7 months ago #123445 by savethefrogs
Replied by savethefrogs on topic Aliases
Hi Valentin,
The article implies that only menu links have no ID's that appear. If that is the case then every time I click the title of an article to get the article to appear on its own page, then unless that was a Menu link to a Single Article, I should expect the ID numbers to appear in the URL, in which case I need to make a 301 Redirect to a SEF URL...or I missed something and as I hope is the case I can instruct Joomla to not show those ID's in the URL.
Please advise.
Thanks, Kerry

Please Log in to join the conversation.

5 years 7 months ago #123459 by Nick
Replied by Nick on topic Aliases
Hi Kerry,

The article implies that only menu links have no ID's that appear.

Yes, that's correct.

If that is the case then every time I click the title of an article to get the article to appear on its own page, then unless that was a Menu link to a Single Article, I should expect the ID numbers to appear in the URL

Kind of. If the article is part of a category, and the category itself (or its parent category) has a menu item, then the URL to the article wouldn't have ID's that appear. Rather, the article would have the menu item's alias as part of its URL.

For example, take the following article on our site:
How to Embed Google Docs in Joomla

Its URL is:
www.ostraining.com/blog/joomla/google-docs/

But, we don't have a menu item for it. Instead, we just have a menu item for the Blog category. The Joomla category is assigned to the blog category. And the Google Docs article is assigned to the Joomla category.

Hope this helps! Let us know if you have any questions and we'll be glad to answer.

Kind regards,
Nick

Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining

Please Log in to join the conversation.

5 years 7 months ago #123475 by savethefrogs
Replied by savethefrogs on topic Aliases
I am now getting this:
www.savethefrogs2.com/countries/ecuador/...or-2016-announcement

The article is in a Category Blog called Ecuador, which is linked

I have a menu item for the Countries category. The Ecuador category is assigned to the Countries category. And the World Summit article is assigned to the Ecuador category.

So I'm not sure how mine differs from your example (or how to make the 88 go away).
Thoughts?
Thanks, Kerry

Please Log in to join the conversation.

5 years 7 months ago - 5 years 7 months ago #123483 by Valentin
Replied by Valentin on topic Aliases
Hi Kerry,

To make the 88 go away, you need to create a menu item that link to that article.
The menu item should be a child of "Ecuador" menu item.

The alternative, is to use a third party extension such as SEF Advance that would remove those ids automatically without the need of creating menu items.

Kind regards,
Valentín

Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining

Please Log in to join the conversation.

5 years 7 months ago #123493 by savethefrogs
Replied by savethefrogs on topic Aliases
Thanks Valentin. I will get the SEF Advance extension...unless you think that SH404SEF also automatically cleans up URLs (as the latter seems to have more functionality for the same price): extensions.joomla.org/extension/sh404sef

Do you have a preference?
Thank you!!

Please Log in to join the conversation.

5 years 7 months ago - 5 years 7 months ago #123494 by Valentin
Replied by Valentin on topic Aliases
I have more experience with SEF Advance, we use it in OSTraining actually.
I'm sure any of them would do the job, but SH404 SEF has a lot of extra features that can be overwhelming if you don't need it.

Kind regards,
Valentín

Follow us on Twitter - twitter.com/OSTraining
Like us on Facebook - facebook.com/ostraining

Please Log in to join the conversation.

Join today and get access to 1,000's of books and videos. Learn WordPress, Drupal, Magento, Joomla and more! Sign up today!