Enable compression for the following resources to reduce

I am using Gtmetrix to test my page load time. I enabled gzip compression on my site by adding code to .htaccess .htaccess code: <IfModule mod_gzip.c> mod_gzip_on Yes mod_gzip_dechunk...

Wordpress add_image_size crop makes super bad quality

I am trying to resize images in size 300x175, but the result is with super bad quality (the original image is with good quality). The code I use is: add_image_size( &#39;saveti-home-thumb&#39;,...

.htaccess Rewrite url with images from a folder to a php file

I want to rewrite all the images in my wp-content/uploads folder to a thumbs.php file in wp-content/thumb folder without changing url This is what I have added in my .htacccess # BEGIN...

Google Page Insights: did anybody ever optimize images with lossless compression by the amount Google suggests?

I ran my page through Google's Page Insights to receive the suggestion to optimize my page's images. There are many JPEG photos on it. Google's Page Insights suggest that for some of them there...

Long TTFB on WP site, I tried everything with no luck

So, here is the deal. I have a long TTFB (waiting time) at my WP site. Around 1000-3000ms. The website is pretty light, using Elementor pro (Hello theme) and it loads fast (after the TTFB...

JavaScript: How to show compressed image

Let's say I have an image URL (for example: http://theartmad.com/wp-content/uploads/2015/04/Smile-3.jpg) and I need to show it on my web page, but I do not need it's original big size, let say I...

How do I compress an image on Windows Phone

My app uses the camera to take an image and upload it to flickr. I'd like to compress the image down so that the upload doesn't take as long as it does currently. I tried both the BitmapSource and...

Wordpress: website base url appended to URLs

I have a blog powered by Wordpress 4.2.10 hosted on my website. In Google's Search Console, I get a lot of 404s that are all following this...

Unable to edit, remove new users. Unable to add images in Media Library. Error: “You are currently editing the page that shows your latest posts."

I'm encountering three problems with my wordpress site: 1. Error: “You are currently editing the page that shows your latest posts." When I try to create a new page or a new post of any custom...

Leverage browser caching issue on google page speed tool

i am getting issues for Leverage browser caching for images on Google page speed tool. I have search all web for this issue but not get any solution. I have tried total cache, wp super cache,...

Faint Boxes in JPG Images Appearing

Having some issues on my Wordpress installation. I'm noticing that on some monitors faint/semi-opaque boxes are appearing in my JPG images. I didn't notice this until I was viewing my website on a...

Automatic scaling of WordPress images

I just installed a self-hosted WordPress.org installation, and imported the content from an existing WordPress.com blog. It worked well, except one thing. The images from the old blog are large....

What is the best way to improve wordpress performance?

I am trying to get my client's site performance score above 80 in http://tools.pingdom.com/. I have installed GZIP compression, Lazyload, WP Super Cache and moved my js scripts to the...

WordPress with WP-Rocket not showing admin bar and refreshing Varnish

I don't know what am I doing wrong here, but I'm running a WordPress install with WP-Rocket, Varnish and MaxCDN. My problem is that adminbar is not shown in frontend and none of the changes I...

nginx wordpress pretty permalinks

After almost every subject about nginx & wp pretty permalinks I'm stucked :/ Here's my configuration of my test wp site (my DNS is updating so I haven't one yet): # W3TC config rules based on...

compressing css, images and js files from shared hosting owned site

This may sound a little weird, but I have a registered domain at star-domains.jp where I can't change the nameserver "my mistake to buy domain from them" so that I can use my VPS settings and host...

Facebook struggles to scrape one domain

I have already checked out this question, and it sounds like he's describing the same exact problem as me except for a few things: I'm not running on https 80% of the time I try to debug, I get...

WordPress multisite: Request exceeded the limit of 10 internal redirects

I've installed a WP multisite, and it has custom wp directory (named "assets"), and multisite has subdirectory installation, not sub-domain. This site is working fine as so far but, I'm getting...

RewriteEngine On repeating few times

I have this code in my .htaccess file but I can see that RewriteEngine On is repeating few a times. Can I remove some of RewriteEngine On? Also I am interested if the rest of the code from WP...

Display image inside email

Below is my function working fine with one issue it doesn't display image in the email why? if I send image with attachment then it displaying not inside the message PLease help public function...

Wordpress won't update pages

I have got a web-site from my client where I can't update anything - it does the updates in admin panel, but not on user side. The web-site is filled with plugins including different cache modules...

Subdomain keeps redirecting to main site and won't change

I had an old wordpress multisite that I wanted to move to a subdomain. I created a new subdomain, moved the multisite's files to its new folder, and changed all the tables' links. I also edited...

Redirect to CDN

I have a wordpress installation on bitnami. I am trying to setup a CDN for the contents of the wp-content folder. The CDN utilizes AWS Cloudfront with all the contents of the wp-content folder in...

Cannot edit .htaccess without server error 500 contact webmaster message

I was trying to move gzip and cache headers to top of file before wp rocket and it didn't work even just chanhging erasing two blank lines between comments gave a server error even without...

.htaccess file to repair

I'm running Wordpress for my website. I wanted to activated Gzip compression to speed it up, so I copied pasted this code in my .htaccess file # Compress HTML, CSS, JavaScript, Text, XML and...

How do I prevent HTTPS on a subdirectory of WordPress with Apache Rules?

My goal is to redirect all pages of my website to HTTPS if the user is trying to access HTTP, unless the page being accessed is under http://example.com/wc-api/. (Including all subdirectories of...

NGINX - WORDPRESS - PHP-FPM: Query parameters (GET) not passing in subfolders

I have a wordpress site running with NGINX (and Php-fpm) with 4 virtualhosts, everything works fine, except if i want to pass a query string. Look, it works if i...

Test if X-Sendfile header is working

I am looking for a way to confirm if X-Sendfile is properly handling requests handed back to the webserver by a script (PHP). Images are being served correctly but I thought I would see the...

.htaccess Not Caching an Alias Folder's Images

So, since I host my blog on the same server as my site, I figured I would create an Alias so I could pull in my portfolio. Alias /port-images/ /the/real/location/wp-content/uploads/ In both my...

Implement SSL (Digital Ocean + Nginx + Cloudflare)

So I have a website hosted on Digital Ocean, using Nginx web server v.1.2.1 and using Wordpress CMS. After while I decide to use Cloudflare service. Cloudflare provide free Flexible SSL, and I...