Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Michael O

    (@naijaprogrammer)

    Maybe this might help: it works on my localhost and on any site that does not use wordpress. I don’t know if it’s my htaccess that causing it. here’s the code in my htaccess file:

    # BEGIN WordPress
    RewriteEngine on
    #
    # Unless you have set a different RewriteBase preceding this
    # point, you may delete or comment-out the following
    # RewriteBase directive:
    RewriteBase /
    #
    # if this request is for "/" or has already been rewritten to WP
    RewriteCond $1 ^(index\.php)?$ [OR]
    # or if request is for image, css, or js file
    RewriteCond $1 \.(gif|jpg|css|js|ico)$ [NC,OR]
    # or if URL resolves to existing file
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    # or if URL resolves to existing directory
    RewriteCond %{REQUEST_FILENAME} -d
    # then skip the rewrite to WP
    RewriteRule ^(.*)$ - [S=1]
    # else rewrite the request to WP
    RewriteRule . /index.php [L]
    #
    # END wordpress
    
    #Begin gzip and deflate
    <IfModule mod_deflate.c>
        AddOutputFilterByType DEFLATE text/html text/css application/x-javascript text/plain text/xml image/x-icon
    </IfModule>

    Thread Starter Michael O

    (@naijaprogrammer)

    @krishna, thanks, what you get is the full site loaded, that is because I made that the custom 404 error page. You are supposed to get the result of executing the code you enter in the “SOURCE CODE” field, but for some weird reason, I am not able to get that.

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