Is it posible to hide the index.php after the domain?

If you're a new user of AppGini, feel free to ask general usage questions, or look for answers here.
Post Reply
User avatar
urichard
Veteran Member
Posts: 89
Joined: 2018-11-01 12:11

Is it posible to hide the index.php after the domain?

Post by urichard » 2022-12-17 17:52

I installed Appgini on my server and realized it displays the file that's being accessed, is it possible to hide the file being accessed and instead of showing mywebsite.com/index.php it will show for the "Home" page after logging in only mywebsite.com and if something is clicked for example on Northwind if they choose Customers then it will only show the following: mywebsite.com/customers and not the file extension?

See attached an example of Microsoft teams not displaying which file is being accessed
[email protected][/color]

Kind Regards
Richard

User avatar
urichard
Veteran Member
Posts: 89
Joined: 2018-11-01 12:11

Re: Is it posible to hide the index.php after the domain?

Post by urichard » 2022-12-18 21:11

Helo?
[email protected][/color]

Kind Regards
Richard

peebee
AppGini Super Hero
AppGini Super Hero
Posts: 352
Joined: 2013-03-21 04:37

Re: Is it posible to hide the index.php after the domain?

Post by peebee » 2022-12-19 00:56

You can remove file extensions and rewrite URLs using .htaccess directives - however, while I haven't tried it, I expect it may/will likely cause problems for your app?

Just Google ".htaccess rewrite redirect" or ".htaccess rewrite generator" - there are thousands of examples and even .htaccess generators that will do the job.

Any other alternative I would think would be a LOT of work.

User avatar
urichard
Veteran Member
Posts: 89
Joined: 2018-11-01 12:11

Re: Is it posible to hide the index.php after the domain?

Post by urichard » 2022-12-20 10:33

Oky great thanks peebee
[email protected][/color]

Kind Regards
Richard

Post Reply