• I have face a huge problem.
    I have try to edit the .htaccess file to add a code on it. The code is all about to reduce the pages loading time, increase the site speed, the code is a Gzip code.
    But after i adding the code and save the file. When browse my site, my site is displayed, but in my homepage where ever i click, it redirect to my hosting website’s one page which says 404 Page Not Found.
    When I check my files, then i noticed that the .htaccess file is not there!
    So i have uploaded the .htaccess original file which I have downloaded before make the change. But after uploading .htaccess file the problem is occurring same.
    Please i request you, please help me to fix the problem. Please anybody help me in this situation, what i need to do? Please please help me. Please.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Since the 404 is coming off of your web server instead of WordPress I imagine your htaccess file if still broken (from the URL in your profile).

    A quick fix might be to ask your host for help but another possibility is to go into your dashboard and reset your permalinks. I usually toggle mine to something I don’t want like ‘plain’ and save that then set it back to what I really wanted which is what you had it set to originally.

    That process might cure the problem by resetting the htaccess properly but…

    If you added code to htaccess outside of the WordPress section then this may not work. In that case, you will probably need to delete the htaccess and try the permalink reset again.

    Else, you will probably need to try to get help from your host.

    WordPress itself doesn’t need the htaccess to run but to run permalinks and other features htaccess is necessary.

    • This reply was modified 6 years, 11 months ago by JNashHawkins.
    Thread Starter rajasarma

    (@rajasarma)

    Ok.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘I have Faced a Huge Problem’ is closed to new replies.