All Questions
Tagged with .htaccess magento2.4
5 questions
0
votes
1
answer
22
views
Create 301 redirect for all 404 pages to the homepage (404 with any URL combination)
I'm trying creating a redirect for all the 404 pages straight to my homepage. I have tried creating it through .htaccess but seems like it does not worked. .htaccess may ask for the old url & a ...
0
votes
0
answers
170
views
Apply .htaccess rule for controller and cron
I have some long-running scripts that should bypass the "Connection Timeout" set up in LiteSpeed.
I want to do it in the .htaccess file and it works if I apply this rule (*RewriteRule . - [E=...
0
votes
2
answers
2k
views
Magento 2.4 move to /pub/ folder, redirects in .htaccess now prepend /pub/. Where are rewrite rules supposed to go now?
So, I have a rewrite rule that is supposed to redirect an old URL to a new one:
RewriteRule ^(.*)/-/manufacturers/(.*)$ $1/manufacturers--$2 [R=301,NC]
This is located in the .htaccess for the domain (...
0
votes
1
answer
403
views
Frontend and Backend is not Working : Magento 2.4.2 ( Internal Server Error)
I am using below configuration Magento 2.4.2 PHP 7.4 Composer 2 Elasticsearch 7.9.6
My installation is in subfolder https://162.241.125.112/Angel/angel
Admi url is - https://162.241.125.112/Angel/...
2
votes
2
answers
6k
views
The requested URL /pub/ was not found on this server. - Magento .htaccess problem
I have an problem about magento 2.4.2
Installed magento 2.4.2 using Composer-CLI. But I can't access magento homepage (http://localhost:8888/magento2)
The requested URL /pub/ was not found on this ...