Hello
I just change socialista.com.cy template to Newspaper latest version.
The site is using Next Scripts: Social Networks Auto Poster to auto share to several facebook groups an twitter. This plugin was working on the old template but now with Newspaper I get an error on Images. It seems it uses a hotlink protection on images.
This is the additions to .htaccess file after enabling the Newspaper Template:
# BEGIN Expire headers
<ifModule mod_expires.c>
ExpiresActive On
ExpiresDefault "access plus 5 seconds"
ExpiresByType image/x-icon "access plus 604800 seconds"
ExpiresByType image/jpeg "access plus 604800 seconds"
ExpiresByType image/png "access plus 604800 seconds"
ExpiresByType image/gif "access plus 604800 seconds"
ExpiresByType application/x-shockwave-flash "access plus 604800 seconds"
ExpiresByType text/css "access plus 604800 seconds"
ExpiresByType text/javascript "access plus 604800 seconds"
ExpiresByType application/javascript "access plus 604800 seconds"
ExpiresByType application/x-javascript "access plus 604800 seconds"
ExpiresByType font/truetype "access plus 604800 seconds"
ExpiresByType font/opentype "access plus 604800 seconds"
ExpiresByType application/x-font-woff "access plus 604800 seconds"
ExpiresByType image/svg+xml "access plus 604800 seconds"
ExpiresByType application/vnd.ms-fontobject "access plus 604800 seconds"
ExpiresByType text/html "access plus 600 seconds"
ExpiresByType application/xhtml+xml "access plus 600 seconds"
</ifModule>
# END Expire headers
<IfModule mod_deflate.c>
<filesMatch "\.(js|css|woff|html|php)$">
SetOutputFilter DEFLATE
</filesMatch>
</IfModule>
Can someone help to solve this issue?
check the log of “Next Scripts: Social Networks Auto Poster” or “test the submit post” in settings of account, im also using this pulgin i have no issue with newspaper v.8 above u mention .htaccess its about leverage browser caching
Hello thank you for the reply.
First of all I can normally share to social media using the share buttons and the test button in Next Scripts.
The problem is only on auto share and the error message is:
Y:[2017-08-07 09:37:17] - [Error] [IMAGE] - -=ERROR=- Server can't access it's own images. (Image URL: https://i2.wp.com/socialista.com.cy/wp-content/uploads/2016/04/diet_8-1.jpg?fit=800%2C600) Most probably it's a DNS problem. Please contact your hosting provider. a:4:{s:7:"headers";a:6:{s:6:"server";s:5:"nginx";s:4:"date";s:29:"Mon, 07 Aug 2017 06:37:17 GMT";s:12:"content-type";s:24:"text/html; charset=utf-8";s:17:"transfer-encoding";s:7:"chunked";s:10:"connection";s:10:"keep-alive";s:4:"x-nc";s:10:"HIT fra 17";}s:4:"body";s:65:"We cannot complete this request, remote data could not be fetched";s:8:"response";a:2:{s:4:"code";i:404;s:7:"message";s:9:"Not Found";}s:7:"cookies";a:0:{}} https://i2.wp.com/socialista.com.cy/wp-content/uploads/2016/04/diet_8-1.jpg?fit=800%2C600
Please note my DNS are correct, confirmed by my provider.
Thanks
Hello,
The only tested and recommended plugins to use with our theme are these ones:
Tested Plugins:
WP Super Cache- caching plugin
Contact form 7- used to make contact forms
bbPress- forum plugin
BuddyPress- social network plugin
Font Awesome 4 Menus- icon pack, supported in the theme menus
Jetpack- plugin with lots of features *it may slow down your site
WooCommerce- eCommerce solution
WordPress (Yoast) SEO- SEO plugin
Wp User Avatar- Change users avatars
Anything beyond this list is not tested and I cannot say for sure if it will work or not.
Thanks.
