Remove public folder from url in laravel Create index.php file at the route directory and you should create an .htaccess file in your root like this: RewriteEngine On RewriteCond %{REQUEST_URI} !^/public/ RewriteRule ^(.*)$ /public/$1 [L,QSA] Tags: change .htaccess, change url, create .htaccess, laravel, laravel change htaccess, laravel server.php, laravel url, public, remove url publiv, url, web Read more articles Previous PostCount today’s, Current month and Current year data in Laravel Next PostSMTP in laravel by gmail You Might Also Like File upload using laravel – ajax December 28, 2023 Chat feature in laravel November 28, 2023 Comment form reply using laravel ajax January 21, 2025 Leave a Reply Cancel replyCommentEnter your name or username to comment Enter your email address to comment Enter your website URL (optional) Save my name, email, and website in this browser for the next time I comment.