Hi guys,

I have worked in .htaccess file in local server, everything was working fine. When I uploaded the .htaccess file on the main server by the name htaccess, so I got the following error

The requested URL /home.fliq was not found on this server.

what will be the problem in the file?

Please help me

Thank you.

Recommended Answers

All 7 Replies

Is it named .htaccess on the server or is it named htaccess? The leading dot matters.

it is named htaccess not .htaccess.

it must be named .htaccess

Hi I named it to .htaccess, now it is working, thank you, but the problem is that i cannot see the .htaccess file on the server because it is invisible.

what is it now?

use ls -a to see hidden files. In Linux (and derivatives) files preceded with a . are hidden.

where do I use this code??

always save htaccess file as .htaccess

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.