7

The instructions and links in this answer clearly demonstrated how to make search engine friendly URLs. However the URLs I currently see on my website have the format:

mydomain.com/1-category/2-title

and I would like the URLS to be

mydomain.com/category/title

Is this possible/safe to do? I am using shared hosting and apache.

5
  • A link to the documentation FAQ about SEFs (so I remember where it is...) May 23, 2014 at 13:14
  • @FFrewin Do you think mine Q should be marked as a duplicate? May 30, 2015 at 12:52
  • :: not sure - as mentioned in my comment the other question is a coding approach by modifying the com_content's router. Your question is about the same thing but from a kind different perspective. Interesting to what other members have to say. The funny is that I now see the 2 questions posted with 1 day difference.
    – FFrewin
    May 30, 2015 at 12:58
  • This issue will likely be fixed in Joomla 3.7.0 which has a new router and is due to be released soon. Jan 23, 2017 at 10:46

4 Answers 4

6

With the core routing system, there isn't a practical way to accomplish it. You can use a tool like sh404SEF to achieve this though.

3

If you create a menu item for each of these then the menu item alias is used for the URL instead.

The menu you create these links in doesn't have to be published on your site, it's enough that the menu item exists in menu manager. You can create a new menu called 'dummy links', or whatever you like, and create links to your categories and articles there. You don't need to show that menu anywhere on your site.

1
  • This solution would quickly become cumbersome for a larger site. It's an interesting solution for what I've got at the moment, though. Jan 23, 2015 at 14:30
3

Since this is one of the most common questions around Joomla, I though to share a new extension I came across that deals with it.

Plugin: Direct Alias Pro

For those people that don't want to mess with the extended capabilities of the majority of SEF extensions, this a much simpler plugin, that one of each features is to remove ids from articles, categories and tags SEF Urls.

Developer: Alterbrains
Type: Paid Download

1

Other extensions that might be worth a look are those in the URL-Canonicalization category, for example, Canonical.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.