Skip to content

Tag: .htaccess

.htaccess is causing 403 on one link only

Bit of an odd one and I feel it must be answered but I can’t seem to find it. I have the following in my .htaccess file on a custom PHP site (NOT WORDPRESS): I cannot work out why “gallery” only is giving me a 403. Both work as expected and go to the desired pages. However Redirects to And

htaccess redirect POST message to php file in subfolder

I hope someone can help me to correct my htaccess problem in a shared hosting scenario, so I don’t have access to httpd.conf. I am trying to redirect a POST to /process-dev.php to the file in the correct subfolder as shown below, but instead my POST gets redirected to index.php The POST comes from the w…

How to remove .php and replace ? with / in htaccess

How do I remove .php and replace ? with / at the same time. I have I want it to be called from the browser like this: In replacing ? data, I want it to be compatible with dir. Like in dir, I have: So, if the user calls http://localhost/testingproject/user, alone, there is no need to parse ? to /

.htaccess file is not working in my Server

My site is located in https://itjmovies.com/milan/public/ and I want to rewrite the URL by .htaccess file. From https://itjmovies.com/milan/public/ To https://itjmovies.com/milan/ but it is not working. And also https://itjmovies.com/milan/public/auth/index.php?page=new To https://itjmovies.com/milan/public/a…