I have a project using PHP. And, my files are properly organize to prevent confusion and keep it clean. Because of that I have a long URL because it has many directory.
I want to shorten the long URL to look clean. I didn't use any framework here. I just organized them by myself.
I have this URL on every views file (this URL is obviously for home
):
tactical_trading/websites/toolstrading/views/home/home
I want all my URL's to look like this:
tactical_trading/toolstrading/home
So, if the page is for about
it will look like this:
tactical_trading/toolstrading/about
I want to shorten all the URL's like my examples above.
Is that possible? Thank you.