Forum Replies Created

  • In reply to: Child Theme functions.php

    #25516

    Wow, that was fast! Thank you.

    My functions.php is empty. But I don’t understand what you mean by ‘Add php mark up’. Sorry.

    In reply to: Links redirecting to spam sites

    #25364

    THanks. Will do.

    In reply to: Links redirecting to spam sites

    #25362

    I can’t access the file. It was placed there by my ISP a year ago ago when I had an attack. It’s in the web/vandal directory.

    In reply to: Links redirecting to spam sites

    #25359

    No, I’m the only administrator. There is another htaccess file within my blog’s directory. Could the problem be there?

    In reply to: Links redirecting to spam sites

    #25357

    Thanks guys. Sorry I’ve been a bit slow in responding. Here’s the htaccess file from my root directory.

    ## EXPIRES CACHING ##
    <IfModule mod_expires.c>
    ExpiresActive On
    ExpiresByType image/jpg "access 1 year"
    ExpiresByType image/jpeg "access 1 year"
    ExpiresByType image/gif "access 1 year"
    ExpiresByType image/png "access 1 year"
    ExpiresByType text/css "access 1 month"
    ExpiresByType application/pdf "access 1 month"
    ExpiresByType text/x-javascript "access 1 month"
    ExpiresByType application/x-shockwave-flash "access 1 month"
    ExpiresByType image/x-icon "access 1 year"
    ExpiresDefault "access 2 days"
    </IfModule>
    ## EXPIRES CACHING ##
    ################################## Errors ######################################
    #ErrorDocument 301 /error/301-moved_permanently.html
    #ErrorDocument 302 /error/302-moved_temporarily.html
    #ErrorDocument 303 /error/303-see_other.html
    #ErrorDocument 400 /error/400-bad_request.html
    ErrorDocument 401 /error/401-authorization_required.html
    #ErrorDocument 402 /error/402-payment_required.html
    ErrorDocument 403 /error/403-forbidden.html
    ErrorDocument 404 /error/404-not_found.html
    #ErrorDocument 405 /error/405-method_not_allowed.html
    #ErrorDocument 406 /error/406-not_acceptable.html
    #ErrorDocument 407 /error/407-proxy_authentication_required.html
    ErrorDocument 408 /error/408-request_timed_out.html
    #ErrorDocument 409 /error/409-conflicting_request.html
    #ErrorDocument 410 /error/410-gone.html
    #ErrorDocument 411 /error/411-content_length_required.html
    #ErrorDocument 412 /error/412-precondition_failed.html
    #ErrorDocument 413 /error/413-request_entity_too_long.html
    #ErrorDocument 414 /error/414-request_uri_too_long.html
    #ErrorDocument 415 /error/415-unsupported_media_type.html
    ErrorDocument 500 /error/500-internal_server_error.html
    #ErrorDocument 501 /error/501-not_implemented.html
    #ErrorDocument 502 /error/502-bad_gateway.html
    ErrorDocument 503 /error/503-service_unavailable.html
    #ErrorDocument 504 /error/504-gateway_timeout.html
    #ErrorDocument 505 /error/505-http_version_not_supported.html
    ################################################################################

    ######################### Howto map /~user to /user ############################
    RewriteEngine On
    RewriteCond %{REQUEST_URI} ^/([^/]+)$
    RewriteCond %{DOCUMENT_ROOT}/%1 !-d
    RewriteCond /home/sites/%{SERVER_NAME}/users/%1 -d
    RewriteRule ^([^/]+)$ http://%{HTTP_HOST}/$1/ [R,L]
    RewriteCond %{REQUEST_URI} ^/([^/]+)/
    RewriteCond %{DOCUMENT_ROOT}/%1 !-d
    RewriteCond /home/sites/%{SERVER_NAME}/users/%1 -d
    RewriteRule ^([^/]+)(.+)$ /~$1/$2
    ################################################################################

    ###################### Howto map /users/user to /users/user ####################
    RewriteEngine On
    RewriteCond %{REQUEST_URI} ^/users/([^/]+)$
    RewriteCond %{DOCUMENT_ROOT}/%1 !-d
    RewriteCond /home/sites/%{SERVER_NAME}/users/%1 -d
    RewriteRule ^users/([^/]+)$ http://%{HTTP_HOST}/users/$1/ [R,L]
    RewriteCond %{REQUEST_URI} ^/users/([^/]+)/
    RewriteCond %{DOCUMENT_ROOT}/%1 !-d
    RewriteCond /home/sites/%{SERVER_NAME}/users/%1 -d
    RewriteRule ^users/([^/]+)(.+)$ /~$1/$2
    ################################################################################
    # Pour JavaScript
    #AddOutputFilterByType IDEFLATE application/x-javascript
    # Pour HTML
    #AddOutputFilterByType DEFLATE text/html
    # Pour XML
    #AddOutputFilterByType DEFLATE text/xml
    # Pour TEXT
    #AddOutputFilterByType DEFLATE text/plain
    # ...
    #
    # -ou-
    #
    # Pour JavaScript
    #AddOutputFilter DEFLATE js
    # Pour HTML
    #AddOutputFilter DEFLATE html
    # Pour XML
    #AddOutputFilter DEFLATE xml
    # Pour TEXT
    #AddOutputFilter DEFLATE txt
    # ...

    RewriteEngine on
    RewriteCond %{HTTP_HOST} !derekhaines.ch
    RewriteRule (.*) http://www.derekhaines.ch/$1 [R=301]

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /whizbuzz/
    RewriteRule ^index.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /whizbuzz/index.php [L]
    </IfModule>

    In reply to: Invalid RSS feed title

    #25347

    Thanks. Seems to have done the trick! You guys are fantastic!

    In reply to: Invalid RSS feed title

    #25345

    Thanks Syahir. Tried that and got the following error.

    Parse error: syntax error, unexpected T_GLOBAL in /home/www/77787916cea3ab0dd2c9e075ff1c32fa/web/vandal/wp-content/themes/graphene/includes/theme-head.php on line 11

    In reply to: Custom CSS – I am doing something wrong?

    #25177

    Thanks Syahir! Will use the back ticks next time and thanks for your help.

    In reply to: Slider Suddenly Stopped Working

    #25010

    In reply to: Slider Suddenly Stopped Working

    #24994

    Thanks for your explanation Syahir. I’ll try again at adding the jQuery Tools file. Perhaps I did it incorrectly. Just one added note to today’s little saga.

    Randomly, when I click a post title or the site title, pages from Google Ads load from the links. Never came across this before. Related at all?

Viewing 10 posts - 11 through 20 (of 39 total)