Support

Admin Tools

#33617 remove directory name from URL

Posted in ‘Admin Tools for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Admin Tools version
n/a

Latest post by mol4 on Wednesday, 02 September 2020 12:46 CDT

mol4

Hello there,

On my website I'm using a blog.

What I like to achieve is to get rid of the directory name 'blog' in the URL.

Is this even possible?
And can this be done by using Admin Tools?

I.e.:
https://studiovandergoesslapen.nl/blog/opening-nieuwe-pand-studio-van-der-goes
must become
https://studiovandergoesslapen.nl/opening-nieuwe-pand-studio-van-der-goes

Blog page

Thanks!

Greetings,
Ton van der Helm

nicholas
Akeeba Staff
Manager

No, not really. The URLs on your site are controlled by the menu items in Joomla. Unless your site's Home menu item is your blog you cannot do what you have in mind.

Let me give you a practical example. In my blog site (https://www.dionysopoulos.me) the Home (default) menu item is an Articles, Category Blog item. This is why you do not see /blog/ being part of my posts' URLs. In the past I did have a different home menu item and my blog was under a Blog menu item so all those articles were /blog/something. When I rebuilt my site I made that menu item the default to avoid having the /blog/ in the URL. In my case it makes perfect sense because the blog is the main feature of my personal site. If this is not true in your site you cannot avoid the /blog/ part of the URL.

That said, the URL does not matter anymore. It plays no role in search engine indexing and browsers – currently Google Chrome and Safari – have already started hiding it by default.

If you want to create memorable URLs for sharing content you can of course use the URL redirection feature in Admin Tools to create a shorter, memorable URL. It will, however, be redirected to the full URL, including the /blog/ bit you dislike, upon visiting it.

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

mol4

Hello Nicholas,

Thanks for your fast and clear reply!
The main thing was indeed SEO.
So now I know I will leave it as it is.

Thanks!
Greetings,
Ton

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!