Quantcast
Channel: Topic Tag: error | WordPress.org
Viewing all articles
Browse latest Browse all 31576

sheikh352 on "Tried to amend htaccess to improve site speed"

$
0
0

I was trying to speed up my site's loading time and I added the following code at the end of my htaccess file:

<IfModule mod_expires.c>
# Enable expirations
ExpiresActive On
# Default directive
ExpiresDefault "access plus 1 month"
# My favicon
ExpiresByType image/x-icon "access plus 1 year"
# Images
ExpiresByType image/gif "access plus 1 month"
ExpiresByType image/png "access plus 1 month"
ExpiresByType image/jpg "access plus 1 month"
ExpiresByType image/jpeg "access plus 1 month"
# CSS
ExpiresByType text/css "access 1 month"
# Javascript
ExpiresByType application/javascript "access plus 1 year"
</IfModule>

The problem is, when I tried opening the site, afterwards, this is what I got (and still get, despite clearing the cache:

Warning: require(/home2/walid352/public_html/overcomingtype2diabetes.com/wp-includes/load.php) [function.require]: failed to open stream: No such file or directory in /home2/walid352/public_html/overcomingtype2diabetes.com/wp-settings.php on line 21

Fatal error: require() [function.require]: Failed opening required '/home2/walid352/public_html/overcomingtype2diabetes.com/wp-includes/load.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home2/walid352/public_html/overcomingtype2diabetes.com/wp-settings.php on line 21

I don't know how to fix it. Should I scrap the site, buy a new domain and start again?

Thanks, in advance, for any help...


Viewing all articles
Browse latest Browse all 31576

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>