Setting up .htaccess

I have never set up .htaccess and can not find any information online that explains it clearly on what those rules mean and how to set the .htaccess file up for a website. Maybe someone can help me out on here, on how to set it up.

I need it to direct to htdocs/views/list.php as my main page when opening the website, also when including php files… my whole website just does not work!? Not sure whats going on there… Also is there a way to rename any of the subfolders to just a link… for example: example.com/views/add.php to example.com/addproduct

Hi and welcome to the forums.

This article should help you:

5 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.