- NewsmagInstall via FTP
- NewspaperHow to Install Newspaper via FTP
- NewspaperNewspaper theme documentation
- NewsmagNewsmag documentation
- NewsmagInstall via WordPress
- NewsmagHow to update the theme
- NewspaperHow to Update the Newspaper Theme
Hi,
Have you tried to disable all plugins? I think this is due to a plugin conflict.
If deactivating the plugins dose not solve the issue you can give us ftp and wp-access so we can check this. Send user and pass via e-mail at contact@tagdiv.com and also include a link to this topic.
Thanks
Hi, well if you read through my posts on the Page Speed topic, I’ve noted the code I use in functions.php to remove the ? queries which I prefer to using plugin, which it seems you have okay, and also how to do the CSS and JS minification, which takes 5 minutes — just copy the code into the CSSminifier site, then copy out the minified version and then overwrite your css file on the server via FTP. Bam – you’re done 🙂
And of course optimizing your images prior to upload is super important, too.
For the size thing, you can certainly try adding the =”100″ to your header, and see if that improves your score or not. In my case it was a non-issue since I’m using mod_pagespeed on our server which adds image dimensions on the fly including for anything resized based on CSS percentage width images which is the cat’s pajamas as my grandma used to day 🙂
Well … remember audience comes from content — original content — not page speed. If you get above 90 for desktop and 80 for mobile you can move on with your life and concentrate on content, and then revisit this stuff as it comes up. (Now, I will admit I wasted the entire month of January 2014 on this adventure, so I can’t advise others about not getting obsessive …).
I don’t use Cloudflare – some people love it.
Can recommend FileZilla (Windows). Been using it for years and works like a charm.
Fetch works for me but not checked many others – it’s free.
My .htaccess file on my site…WARNING DON’T USED MINE ARE IT WILL BREAK UR SITE..MINE IS LIKE THIS BECAUSE OF OTHER THINGS THAT I HAVE DONE ON MY SITE for safty…
# BEGIN All In One WP Security
#AIOWPS_BLOCK_WP_FILE_ACCESS_START
<Files license.txt>
order allow,deny
deny from all
</files>
<Files wp-config-sample.php>
order allow,deny
deny from all
</Files>
<Files readme.html>
order allow,deny
deny from all
</Files>
#AIOWPS_BLOCK_WP_FILE_ACCESS_END
#AIOWPS_BASIC_HTACCESS_RULES_START
<Files .htaccess>
order allow,deny
deny from all
</Files>
ServerSignature Off
LimitRequestBody 10240000
<Files wp-config.php>
order allow,deny
deny from all
</Files>
#AIOWPS_BASIC_HTACCESS_RULES_END
#AIOWPS_PINGBACK_HTACCESS_RULES_START
<IfModule mod_alias.c>
RedirectMatch 403 /(.*)/xmlrpc\.php$
</IfModule>
#AIOWPS_PINGBACK_HTACCESS_RULES_END
#AIOWPS_DISABLE_INDEX_VIEWS_START
Options -Indexes
#AIOWPS_DISABLE_INDEX_VIEWS_END
#AIOWPS_DISABLE_TRACE_TRACK_START
RewriteEngine On
RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
RewriteRule .* – [F]
#AIOWPS_DISABLE_TRACE_TRACK_END
#AIOWPS_FORBID_PROXY_COMMENTS_START
RewriteCond %{REQUEST_METHOD} =POST
RewriteCond %{HTTP:VIA}%{HTTP:FORWARDED}%{HTTP:USERAGENT_VIA}%{HTTP:X_FORWARDED_FOR}%{HTTP:PROXY_CONNECTION} !^$ [OR]
RewriteCond %{HTTP:XPROXY_CONNECTION}%{HTTP:HTTP_PC_REMOTE_ADDR}%{HTTP:HTTP_CLIENT_IP} !^$
RewriteCond %{REQUEST_URI} !^/(wp-login.php|wp-admin/|wp-content/plugins/|wp-includes/).* [NC]
RewriteRule .* – [F,NS,L]
#AIOWPS_FORBID_PROXY_COMMENTS_END
#AIOWPS_FIVE_G_BLACKLIST_START
# 5G BLACKLIST/FIREWALL (2013)
# @ http://perishablepress.com/5g-blacklist-2013/
# 5G:[QUERY STRINGS]
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{QUERY_STRING} (\”|%22).*(<|>|%3) [NC,OR]
RewriteCond %{QUERY_STRING} (javascript:).*(\;) [NC,OR]
RewriteCond %{QUERY_STRING} (<|%3C).*script.*(>|%3) [NC,OR]
RewriteCond %{QUERY_STRING} (\\|\.\./|`|=’$|=%27$) [NC,OR]
RewriteCond %{QUERY_STRING} (\;|’|\”|%22).*(union|select|insert|drop|update|md5|benchmark|or|and|if) [NC,OR]
RewriteCond %{QUERY_STRING} (base64_encode|localhost|mosconfig) [NC,OR]
RewriteCond %{QUERY_STRING} (boot\.ini|echo.*kae|etc/passwd) [NC,OR]
RewriteCond %{QUERY_STRING} (GLOBALS|REQUEST)(=|\[|%) [NC]
RewriteRule .* – [F]
</IfModule>
# 5G:[USER AGENTS]
<IfModule mod_setenvif.c>
# SetEnvIfNoCase User-Agent ^$ keep_out
SetEnvIfNoCase User-Agent (binlar|casper|cmsworldmap|comodo|diavol|dotbot|feedfinder|flicky|ia_archiver|jakarta|kmccrew|nutch|planetwork|purebot|pycurl|skygrid|sucker|turnit|vikspider|zmeu) keep_out
<limit GET POST PUT>
Order Allow,Deny
Allow from all
Deny from env=keep_out
</limit>
</IfModule>
# 5G:[REQUEST STRINGS]
<IfModule mod_alias.c>
RedirectMatch 403 (https?|ftp|php)\://
RedirectMatch 403 /(https?|ima|ucp)/
RedirectMatch 403 /(Permanent|Better)$
RedirectMatch 403 (\=\\\’|\=\\%27|/\\\’/?|\)\.css\()$
RedirectMatch 403 (\,|\)\+|/\,/|\{0\}|\(/\(|\.\.\.|\+\+\+|\||\\\”\\\”)
RedirectMatch 403 \.(cgi|asp|aspx|cfg|dll|exe|jsp|mdb|sql|ini|rar)$
RedirectMatch 403 /(contac|fpw|install|pingserver|register)\.php$
RedirectMatch 403 (base64|crossdomain|localhost|wwwroot|e107\_)
RedirectMatch 403 (eval\(|\_vti\_|\(null\)|echo.*kae|config\.xml)
RedirectMatch 403 \.well\-known/host\-meta
RedirectMatch 403 /function\.array\-rand
RedirectMatch 403 \)\;\$\(this\)\.html\(
RedirectMatch 403 proc/self/environ
RedirectMatch 403 msnbot\.htm\)\.\_
RedirectMatch 403 /ref\.outcontrol
RedirectMatch 403 com\_cropimage
RedirectMatch 403 indonesia\.htm
RedirectMatch 403 \{\$itemURL\}
RedirectMatch 403 function\(\)
RedirectMatch 403 labels\.rdf
RedirectMatch 403 /playing.php
RedirectMatch 403 muieblackcat
</IfModule>
# 5G:[REQUEST METHOD]
<ifModule mod_rewrite.c>
RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
RewriteRule .* – [F]
</IfModule>
#AIOWPS_FIVE_G_BLACKLIST_END
#AIOWPS_PREVENT_IMAGE_HOTLINKS_START
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{REQUEST_FILENAME} -f
RewriteCond %{REQUEST_FILENAME} \.(gif|jpe?g?|png)$ [NC]
RewriteCond %{HTTP_REFERER} !^http(s)?://jahliveradio\.com [NC]
RewriteRule \.(gif|jpe?g?|png)$ – [F,NC,L]
</IfModule>
#AIOWPS_PREVENT_IMAGE_HOTLINKS_END
# END All In One WP Security
# BEGIN NinjaFirewall (WP+)
<IfModule !mod_php5.c>
<IfModule mod_env.c>
SetEnv PHPRC /home/hxnlfcaw/public_html/.user.ini
</IfModule>
</IfModule>
# END NinjaFirewall (WP+)
# BEGIN HTML5 Boilerplate
# This contains the HTML5 Boilerplate .htaccess that can be found at:
# github.com/h5bp/html5-boilerplate/blob/master/.htaccess
#
# Added:
# Block access to access to WordPress files that reveal version information.
#
# Commented out by default:
# Expires headers: Use WP Super Cache or W3 Total Cache (unless using the H5BP build script)
# ETag removal: Use WP Super Cache or W3 Total Cache (unless using the H5BP build script)
# Start rewrite engine: Handled by WordPress
# Suppress/force www: Handled by WordPress
# Custom 404 page: Handled by WordPress
#
# Anytime you update this file the .htaccess file in the root of your
# WordPress install is automatically updated with the changes whenever
# the permalinks are flushed or set
#
# ———————————————————————-
# Better website experience for IE users
# ———————————————————————-
# Force the latest IE version, in various cases when it may fall back to IE7 mode
# github.com/rails/rails/commit/123eb25
# Use ChromeFrame if it’s installed for a better experience for the poor IE folk
<IfModule mod_headers.c>
Header set X-UA-Compatible “IE=edge”
# mod_headers can’t match by content-type, but we don’t want to send this header on *everything*…
<FilesMatch “\.(appcache|crx|css|eot|gif|htc|ico|jpe?g|js|m4a|m4v|manifest|mp4|oex|oga|ogg|ogv|otf|pdf|png|safariextz|svg|svgz|ttf|vcf|webapp|webm|webp|woff|xml|xpi)$”>
Header unset X-UA-Compatible
</FilesMatch>
</IfModule>
# ———————————————————————-
# CORS-enabled images (@crossorigin)
# ———————————————————————-
# Send CORS headers if browsers request them; enabled by default for images.
# developer.mozilla.org/en/CORS_Enabled_Image
# blog.chromium.org/2011/07/using-cross-domain-images-in-webgl-and.html
# hacks.mozilla.org/2011/11/using-cors-to-load-webgl-textures-from-cross-domain-images/
# wiki.mozilla.org/Security/Reviews/crossoriginAttribute
<IfModule mod_setenvif.c>
<IfModule mod_headers.c>
# mod_headers, y u no match by Content-Type?!
<FilesMatch “\.(gif|png|jpe?g|svg|svgz|ico|webp)$”>
SetEnvIf Origin “:” IS_CORS
Header set Access-Control-Allow-Origin “*” env=IS_CORS
</FilesMatch>
</IfModule>
</IfModule>
# ———————————————————————-
# Webfont access
# ———————————————————————-
# Allow access from all domains for webfonts.
# Alternatively you could only whitelist your
# subdomains like “subdomain.example.com”.
<IfModule mod_headers.c>
<FilesMatch “\.(eot|font.css|otf|ttc|ttf|woff)$”>
Header set Access-Control-Allow-Origin “*”
</FilesMatch>
</IfModule>
# ———————————————————————-
# Proper MIME type for all files
# ———————————————————————-
<IfModule mod_mime.c>
# JavaScript
# Normalize to standard type (it’s sniffed in IE anyways)
# tools.ietf.org/html/rfc4329
AddType application/javascript js jsonp
AddType application/json json
# Audio
AddType audio/ogg oga ogg
AddType audio/mp4 m4a f4a f4b
# Video
AddType video/ogg ogv
AddType video/mp4 mp4 m4v f4v f4p
AddType video/webm webm
AddType video/x-flv flv
# SVG
# Required for svg webfonts on iPad
# twitter.com/FontSquirrel/status/14855840545
AddType image/svg+xml svg svgz
AddEncoding gzip svgz
# Webfonts
AddType application/vnd.ms-fontobject eot
AddType application/x-font-ttf ttf ttc
AddType font/opentype otf
AddType application/x-font-woff woff
# Assorted types
AddType application/octet-stream safariextz
AddType application/x-chrome-extension crx
AddType application/x-opera-extension oex
AddType application/x-shockwave-flash swf
AddType application/x-web-app-manifest+json webapp
AddType application/x-xpinstall xpi
AddType application/xml atom rdf rss xml
AddType image/webp webp
AddType image/x-icon ico
AddType text/cache-manifest appcache manifest
AddType text/vtt vtt
AddType text/x-component htc
AddType text/x-vcard vcf
</IfModule>
# ———————————————————————-
# Gzip compression
# ———————————————————————-
<IfModule mod_deflate.c>
# Force compression for mangled headers.
# http://developer.yahoo.com/blogs/ydn/posts/2010/12/pushing-beyond-gzipping
<IfModule mod_setenvif.c>
<IfModule mod_headers.c>
SetEnvIfNoCase ^(Accept-EncodXng|X-cept-Encoding|X{15}|~{15}|-{15})$ ^((gzip|deflate)\s*,?\s*)+|[X~-]{4,13}$ HAVE_Accept-Encoding
RequestHeader append Accept-Encoding “gzip,deflate” env=HAVE_Accept-Encoding
</IfModule>
</IfModule>
# Compress all output labeled with one of the following MIME-types
# (for Apache versions below 2.3.7, you don’t need to enable mod_filter
# and can remove the <IfModule mod_filter.c> and </IfModule> lines
# as AddOutputFilterByType is still in the core directives).
<IfModule mod_filter.c>
AddOutputFilterByType DEFLATE application/atom+xml \
AddOutputFilterByType DEFLATE application/javascript \
AddOutputFilterByType DEFLATE application/json \
AddOutputFilterByType DEFLATE application/rss+xml \
AddOutputFilterByType DEFLATE application/vnd.ms-fontobject \
AddOutputFilterByType DEFLATE application/x-font-ttf \
AddOutputFilterByType DEFLATE application/x-web-app-manifest+json \
AddOutputFilterByType DEFLATE application/xhtml+xml \
AddOutputFilterByType DEFLATE application/xml \
AddOutputFilterByType DEFLATE font/opentype \
AddOutputFilterByType DEFLATE image/svg+xml \
AddOutputFilterByType DEFLATE image/x-icon \
AddOutputFilterByType DEFLATE text/css \
AddOutputFilterByType DEFLATE text/html \
AddOutputFilterByType DEFLATE text/plain \
AddOutputFilterByType DEFLATE text/x-component \
AddOutputFilterByType DEFLATE text/xml
</IfModule>
</IfModule>
# ———————————————————————-
# UTF-8 encoding
# ———————————————————————-
# Use UTF-8 encoding for anything served text/plain or text/html
AddDefaultCharset utf-8
# Force UTF-8 for a number of file formats
<IfModule mod_mime.c>
AddCharset utf-8 .atom .css .js .json .rss .vtt .webapp .xml
</IfModule>
# ———————————————————————-
# A little more security
# ———————————————————————-
# “-Indexes” will have Apache block users from browsing folders without a default document
# Usually you should leave this activated, because you shouldn’t allow everybody to surf through
# every folder on your server (which includes rather private places like CMS system folders).
<IfModule mod_autoindex.c>
Options -Indexes
</IfModule>
# Block access to backup and source files
# This files may be left by some text/html editors and
# pose a great security danger, when someone can access them
<FilesMatch “(\.(bak|config|sql|fla|psd|ini|log|sh|inc|swp|dist)|~)$”>
Order allow,deny
Deny from all
Satisfy All
</FilesMatch>
# Block access to WordPress files that reveal version information.
<FilesMatch “^(wp-config\.php|readme\.html|license\.txt)”>
Order allow,deny
Deny from all
Satisfy All
</FilesMatch>
# END HTML5 Boilerplate
# 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
# Leverage Browser Caching Ninja — Starts here
# Do not write anything between “Leverage Browser Caching Ninja — Starts” and “Leverage Browser Caching Ninja — Ends”
# It will be deleted while uninstalling Leverage Browser Caching Ninja plugin
<IfModule mod_expires.c>
ExpiresActive On
ExpiresDefault “access plus 1 month”
ExpiresByType image/x-icon “access plus 1 year”
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”
ExpiresByType text/css “access 1 month”
ExpiresByType application/javascript “access plus 1 year”
</IfModule>
# Leverage Browser Caching Ninja — Ends here
Hey Steven, think I solved this.
Look:
the nameservers are already changed in my CP at df.eu
But:
I had to deactivate “On CloudFlare Traffic will be accelerated by CloudFlare” for this:
Type A and Type AAAA
The result now is this: http://dnscheck.pingdom.com/?domain=cherrykoks.de
P.S I already have the strings remover installed, but not working because I added this to the functions.php
/** Remove Query strings from Static Resources. */
function _remove_script_version( $src ){
$parts = explode( ‘?’, $src );
return $parts[0];
}
add_filter( ‘script_loader_src’, ‘_remove_script_version’, 15, 1 );
add_filter( ‘style_loader_src’, ‘_remove_script_version’, 15, 1 );
<?php
}
add_action(‘print_media_templates’, ‘td_change_backbone_js_hook’);
Do you recommend to delete that code, and let the plugin do its work oder anything else?
And: any tip for bad request?
There are two pictures deleted from ftp
Avoid bad requests
C (75)
97%
Content High
What does this mean?
The following requests are returning 404/410 responses. Either fix the broken links, or remove the references to the non-existent resources.
http://cherrykoks.de/wp-content/uploads/2014/08/30day400200tag61-100×65.jpg
http://cherrykoks.de/wp-content/uploads/2014/08/log300.jpg
GTMetrix is complaining about this….
thank you very much
-
This reply was modified 12 years by
Cherry. Reason: wrong word
If you’re on a mac I recommend Forklift
http://www.binarynights.com/forklift/
very intuitive and lots of capabilities
http://gtmetrix.com/reports/cherrykoks.de/utmzkiGq
Has anyone a resolution for this?
First point: the thing with the strings – what can I do here?
I activated in my plugin : Remove “?ver=XXX” part from URL (still not better)
And the Bad Request : 2 of them are deleted pictures… I asked google- but couldn’t find instruction to fix that! The Pictures are deleted from FTP – what else can I do and how exactly? (explanation for a dizzy blonde please! 😉 )
I use CuteFTP on both Windows and Mac (paid product); some folks like the free FileZilla which is also very popular: https://filezilla-project.org/
I believe FileZilla lets you edit remote files on the server, if you’re wanting to do that with FTP client.
More often folks will edit the files locally to have version backups in case you mess something up … if you edit the files on the server, and screw up, you then need to upload the backup file from the zip anyway. Better to edit the cloned copy of file like functions.php or style.css locally, upload, test site, if works you’re A-Okay. If broken, then you can reupload the original un-edited version over the new version … or if doing versions (make edit, save, backup, make another edit, save, make backup, etc.) you could go back a step to what worked.
-
This reply was modified 12 years by
simchris.
I want to be able to edit files in the program without downloading them. Can anyone suggest a free FTP client?
Thanks MIXVICE for the advice….it worked.
Using sFTP access, I first saved the PLUGINS folder as “disabled_plugins”
Then deleted the PLUGINS folder
Was then able to access the WP admin manager
Changed the name of “disabled_plugins” back to PLUGINS
All the required plugins reloaded and everything worked well.
I also no realize that I didn’t have a list of other plugins we had previously installed and so am having to review and reactivate the non-required plugins that were lost.
thanks for your help!
I cant get Revolution slider to work. After activating plugin my homepage shows blank screen. To get content back I have to delete plugin via ftp. Any ideas?
Domain is hingepeegel.ee
Sounds like the theme didn’t fully upload. I had this issue when I did the install from zip file. I had to manually unzip then upload via FTP to ensure all the files actually there.
Try to rename / delete the plugin folder from FTP and check if it work
(make a back up)
Hi,
Please give us wp-admin username and password and FTP access, send via e-mail at contact@tagdiv.com, so we can check, please include a link to this topic and an URL to your site.
Thanks
Hello,
Install is ok but I have a script apear on the WP admin (footer page) and on the top of the site (on the head) and I cannot change the THEME PANEL when I press SAVE the timer turn a long time and nothing. ? I try to install by Zip from WP or FTP it’s similar and there’s the same bug.
It looks like it only happens when i activate the plugin.
I’m currently using the plugin ‘WP Fastest Cache’ until we can fix the W3 Cache plugin, because that’s the only plugin that seems to work at the moment.
I have sent you an email with WP access and FTP access, ignore what it says in the email. To test you will need to deactivate the ‘WP Fastest Cache’ and enable W3 Cache.
Thanks 🙂
@aagatawasthi take the latest theme version 4.0.1 is fixed this issue.
@davistar I’ve tested the the backed work fine, I’m not sure why you got blanks screen, can you provide a log from your server to inspect it? Or give us access to your WP and FTP to inspect the issue, send via email at contact@tagdiv.com
Also have you tried to disable some plugins, to avoid java-script conflicts?
Thanks for the message!
Hi,
Do this only when you change the theme color or everywhere in Theme panel?
Can you provide access to your WP and FTP to inspect the issue? Send the details via email at contact@tagdiv.com
Thanks for the message!
I apologize in advance if this is already mentioned but I could not find it.
I love how you guys show ‘Modified/Added’ files. Usually I go in and find and replace the files via an FTP client because I customized other files that I don’t want to overwrite if I were to upload the full theme again.
Is there an easier way than just replacing the modified and adding the new files since the last update has a large amount of adjustments?
Hi,
Can you please send us your wp-admin username and password and also FTP access to take a look, send via e-mail at contact@tagdiv.com, please include a link to this topic.
Thanks
This will compress the image files but not make them progressive, which is what I was looking for.
So I have decided to do it manually, just upload the original image, then download the created thumbs via sFTP, save for web using Photoshop, with Progressive and Compression at 50.
It only takes a few more minutes when I upload the articles to my website, so not too much of an issue.
Getting excellent results from webpagetest.org.
http://www.webpagetest.org/result/140711_J0_N2Y/
and GTmetrix and pingdom etc
But cheers for the suggestion
Hi,
this is what we do on our sites, in the functions.php file .. this overrides the default quality setting and is a WordPress function, not a hack. We have our set to “50” — for a portfolio site or photography site, you might choose “60” (it’s not a “percentage” of compression but a quality factor).
—-from my old post in the pagespeed thread–
For example, you could set the compression of images to something like 60% or even 50% in your child theme functions.php … will only change level on new images uploaded unless you use the regenerate thumbnails plugin or similar.
add_filter( 'jpeg_quality', create_function( '', 'return 50;' ) );
NOTE: Download your existing image files via FTP for safety backup, before you apply this with “regenerate thumbnails” as it will overwrite old files with the lower quality optimized images.
Hi,
I’ve tested the latest version with an Author user and works fine for me to create posts, no issue. From which version you have updated the theme? Please make sure you update the theme and also the VC plugin correctly like here:
https://forum.tagdiv.com/update-the-visual-composer-plugin-wpbakery/
https://forum.tagdiv.com/how-to-update-the-theme/
Can you try to disable other plugin and see if works, but leave the VC active.
If nothing works can you provide us access to your WP and also FTP access to track the issue?
Send the details via email at contact@tagdiv.com
Thanks for the message!
Hi,
Please can you make the update again and make sure you replace all files via FTP. Follow this guides:
https://forum.tagdiv.com/how-to-update-the-theme/
https://forum.tagdiv.com/update-the-visual-composer-plugin-wpbakery/
Also try this, add define('WP_MEMORY_LIMIT', '128M'); in wp-config.php file
If nothing works can you give us access to your WP?, send us via email at contact@tagdiv.com and also if you can give us FTP access so we can take a look, specify the issue or send an URL to this topic.
Thanks