While deployment i'm facing 500 error saying like bad htaccess file

My site is http://telugufunzone.epizy.com

after navigating to “http://telugufunzone.epizy.com/imageblog/” this url im getting 500 error.

What are your htaccess file codes?

RewriteEngine On RewriteRule ^$ /public [L] RewriteRule ^(.*)$ public/$1 [L]
Options -Multiviews RewriteEngine On RewriteBase /public RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.+)$ index.php?url=$1 [QSA,L]

so What will that code do?

Asking to fix it easily :slight_smile:

Not that. I mean what that code supposed to do?

Im new to this php.

previewing the images and and uploading the images to server

About php. Go to cpanel/Alter php config. then enable Display errors. By this you can Debug your codes easier.

You’re redirecting your site to invalid link. Note public folder doesn’t exists but Public exists. Fix it on your htaccess file.

And…I think Letting people to host their pic on your site is not allowed.

2 Likes

I have already changed php config file and as you have told i have changed the file name to public. even though its not working but in local its working file without any issue.

Thanks for the support @BayoDino