Skip to content

Tag: .htaccess

Pretty URLs with .htaccess

I have a URL http://localhost/index.php?user=1. When I add this .htaccess file I will be now allowed to use http://localhost/user/1 link. But how about http://localhost/index.php?user=1&action=update how can I make it into http://localhost/user/1/update ? Also how can I make this url http://localhost/user…

Laravel routes aren’t working with 1&1 [closed]

Closed. This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 1 year ago. Improve this question Many many many topics about this, but I have to say that none are helping me a great deal. I …

GET method in php mvc framework

I am writing a PHP MVC framework from scratch by myself, I use this .htaccess rules to redirect all requests to my bootstrap: Now the problem is I can’t use GET method anymore on forms, when I want to submit a search form using GET method the get parameter won’t send, but it will work with post bu…

Redirect /index.php – wordpress

I want that if someone got link to my site, lets say: www.bla.com/index.php , he will redirect to www.bla.com. or in another words – remove the index.php. Here is my .htaccess file: Either if someone got link: www.bla.com/camera/index.php – it will redirect to www.bla.com/camera/. For now, the sit…