Support

Admin Tools

#39836 index.php

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 nicholas on Monday, 20 November 2023 02:03 CST

gressdesign

Hello you guys at Akeeba,

I'm trying to configure Admin Tools and the htaccess "Redirect index.php to the site's root" to remove the "index.php" in the URL on knudsenplast.dk. However, it seems to only remove "index.php" on the danish homepage and not on the English and not on all subpages both languages. Please help Any insights on this?

 Best regards Ulric

nicholas
Akeeba Staff
Manager

This is a Joomla! setting. System, Global Configuration, Site. Search Engine Friendly URL to Yes and Use URL Rewriting to Yes.

If you cannot use Use URL Rewriting then you can of course and for a very obvious reason not remove index.php from any page that is not exactly /index.php or your server would not be able to serve 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!

gressdesign

Sorry, and thank you. I should have checked that.
It resolved the issue immediately. There are many things to remember when transitioning from J3 to J4.
Thanks again.

Best regards Ulric

nicholas
Akeeba Staff
Manager

Two footnotes, to give you a bit more context.

Only the name of these options changed in Joomla! 4. This option has been available since Joomla! 1.0, it was called "Enable SEF URLs" and "Use URL Rewrite" in Joomla! 1.x, 2.5, and 3.x. Yes, the name change got me two. I spent two minutes looking for "SEF" on the Global Configuration page, swearing up and down that it's still there, I know it's still there, why can I not see it :D

The implementation of this feature in Admin Tools has actually not changed at all since I introduced it in my Master .htaccess in 2009 – yes, it does predate Admin Tools itself. I was actually using that with sites I was building in plain PHP before I started using Mambo in 2004 and phpNuke (I think that's what it was called…) in 2003. It's one of those tried-and-tested basic tricks one uses in web server config files.

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!

gressdesign

Hello Nicholas,

Thank you very much for the additional footnotes. I should have thought about the SEF URLs in J4 global config. It immediately made sense when you mentioned it in your support response and worked. I must have been a bit asleep at the wheel, staring myself blind at your .htaccess generator in Admin Tools.

Thanks again for always providing excellent support and for sharing your story. I also wish you a fantastic day.

Best regards,
Ulric

nicholas
Akeeba Staff
Manager

No worries! I admit to spending a good 2–3 minutes staring at Global Configuration answering your tickets looking for "SEF URL" before I remember that it was renamed in Joomla 4.0. Which is to say, it can happen to anyone :)

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!

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!