• Resolved nurval

    (@nurval)


    Hi,
    I have WP site that works good.

    In order to solve a problem that the “play” button did not appear in the audio widget, I created .htaccess file in the root directory with the following two lines:
    AddType image/svg+xml svg svgz
    AddEncoding gzip svgz

    After adding this file ALL pages (except the home one) returns
    Error occurred: 404 – not found
    Apache Server at: d1165157-22346.site.myhosting.com

    I have removed the .htaccess file but the problem is not solved.
    Any idea how to restore back to normal ?
    BTW, from the admin view, I can still see the pages and edit them but when I try to preview I get again the 404.

    • This topic was modified 8 years, 8 months ago by nurval.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Are you on localhost? Using WAMP/MAMP/XAMP? Did you overwrite WordPress .htaccess file? Did you clear cache?

    Thread Starter nurval

    (@nurval)

    I am hosting on myhosting.com
    I am not sure about WAMP/MAMP/XAMP
    I do not think there was an .htaccess file in the home directory.
    I tried it from few browsers and the problem is the same in all of them.

    • This reply was modified 8 years, 8 months ago by nurval.
    Thread Starter nurval

    (@nurval)

    OK, I think you have a point. I assume I corrupted an old htaccess
    So, now I will try to restore a default one.
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress

    Seems to solve the problem – thanks. I will keep on testing. Thanks again.

    Thread Starter nurval

    (@nurval)

    OK, problem solved.
    Now I added the two lines to the end of the htaccess and I also have my play buttons.

    Thanks for the great support.

    glad to hear!

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

The topic ‘WordPress return Error occurred: 404 – not found’ is closed to new replies.