Support

Admin Tools

#23630 [htaccess] Option to remove /index.php/ path 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 tampe125 on Tuesday, 03 November 2015 02:31 CST

hieblmedia
Hello,
it would be nice to have an additional option to remove the /index.php/ path from urls in the htaccess-Maker.

.htaccess rule:
# Remove /index.php/ path from URL (SEF must be enabled in Joomla configuration)
RewriteCond %{REQUEST_URI} ^/index\.php/
RewriteRule ^index.php/(.*) /$1 [R,L]


Thanks,
Reinhard

tampe125
Akeeba Staff
Hello,

there is no need to bother Admin Tools: you can do that with your regular Joomla installation.
Inside Joomla Global Configuration page, there is an option named Enable URL rewriting. If you flip that switch, it will completely remove the index.php part

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

hieblmedia
Hello,
i know this redirect is only useful for already indexed pages on search engines. ...more a SEO feature.

To clearify:
Enable URL rewriting only affects the Joomla Router and does not redirect "old URLs" to the URL without /index.php/ in path.

Thats the reason why is suggested this.

Thanks,
Reinhard






tampe125
Akeeba Staff
This is a specific solution to a very specific case, I hardly doubt it could be included inside Admin Tools default features.
You can always add it to your htaccess using the fields Add custom htaccess rules... inside the Htaccess Maker

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
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!