Forum Replies Created
-
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.
THanks. Will do.
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.
No, I’m the only administrator. There is another htaccess file within my blog’s directory. Could the problem be there?
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>Thanks. Seems to have done the trick! You guys are fantastic!
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
Thanks Syahir! Will use the back ticks next time and thanks for your help.
I can say the problem is RESOLVED for me by using the following code.
http://code.google.com/p/graphene/source/browse/branches/1.6/js/
http://graphene.googlecode.com/svn/branches/1.6/includes/theme-scripts.php
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?
