skip to Main Content

Apache – 301 redirect to modified url from .htaccess

How to make redirect 301 from ulr: https://domen.com/some-word/* to https://domen.com/products/some-word/* using .htaccess make 301 redirect from one url to another RewriteEngine on # RewriteCond %{ENV:HTTPS} !on # RewriteRule ^.*$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] how i can to resolve this problem?

VIEW QUESTION

Laravel public folder path

I am using laravel 10, and have images inside /public/images , when i try yo use asset or public_path(), i get a duplicate prepended to the url like so Using public_path(); file_get_contents(/var/www/soccia/var/www/soccia/public): Failed to open stream: No such file or…

VIEW QUESTION
Back To Top
Search