0

i have tried with site.local/index.php/admin_1l9rnp but automatically redirect to remove slash after url (site.localindex.php/admin_1l9rnp) please suggest how to solve this problem.

this is issue : enter image description here

i want this : enter image description here

thanks in advance

1 Answer 1

0

Make sure you have put correct url in database as base_url

If yes then remove var/cache and generated/ and pub/static/ folder and recompile and deploy again.

Hope this will help from my side.

Please replace this htaccess file content on root:

RewriteEngine on
RewriteCond %{REQUEST_URI} !^pub/
RewriteCond %{REQUEST_URI} !^/setup/
RewriteCond %{REQUEST_URI} !^/update/
RewriteCond %{REQUEST_URI} !^/dev/
RewriteRule .* pub/$0 [L]
DirectoryIndex index.php
4
  • I have already used these steps, but not work
    – Gaurav
    Commented Mar 9, 2023 at 4:23
  • I have updated my answer, could you please update htaccess content on root... Commented Mar 9, 2023 at 4:49
  • ok, let me check
    – Gaurav
    Commented Mar 9, 2023 at 4:54
  • dear navneet my issue has been solved but not helpfull .htaccess. i have check again DB & add url / and thanks for reply
    – Gaurav
    Commented Mar 14, 2023 at 8:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.