Hi everyone.

I'm currently developing a website for my university project.

I want to ask about .htaccess for url manipulation. I already search through the web but couldn't figure out what i intend to do.

I have this structure

public_html
- css
- img
- js
_private
- data ( all my xml data will be here )
- config
- templates
- lib
-> classes
- views
-> messages
-> users
-> ... .....

So right now I want to manipulate the data to be somewhat this url

http://localhost/mysite/messages

the view will be called by either messages.php in root folder or associated controller in the classes. ( which do you think is the best ).

So can I know how to basically do that.?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.