Magento Wordpress Nginx Configuration

I have a Magento shop at http://example.com and I want to keep a Wordpress blog at http://example.com/blog. I have installed the blog and everything seems to be fine but when am logging to...

Varnish with wordpress breaks the wordpress visual editor?

Hi I have a very weird issue with Wordpress 3.5 Varnish 3.02 and Ubuntu where the visual editor has disappeared. The buttons to switch between the html/visual has disappeared and only the html...

Facebook Graph API: I want to display user images album wise

I am using graph-api provided by facebook. The version is 3.1.0. My code is working fine but it displays all the images of user irrespective of the albums. I want to change my code so that user...

URL Rewriting : remove folder name from URL

I would like to redirect the user from this: http://www.rudaz.ch/files/brig.html to this http://www.rudaz.ch/brig.html and to every files that the "files" folder contains. So for I have...

Browser caching is not working for all .js files

I use the following code for browser caching in my .htaccess: ## EXPIRES CACHING ## <IfModule mod_expires.c> ExpiresActive On ExpiresByType image/jpg "access 1 year" ExpiresByType image/jpeg...

503 Backend fetch failed with varnish 4.1 and WordPress 4.4

I have a 503 Error with multiple host in varnish 4 with WordPress 4.4. Virtual Server, to server_1 and server_2. (I copy only one, because the VS is the same for both, x is equal to server...

Debugging Wordpress Email functionality

I am taking over a wordpress website that i have moved from wordpress to azure. The site has a button at the bottom that sends out an email when clicked. Here is the html for the onclick...

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...

Where is the content-encoding set for WordPress?

I disabled a WordPress caching/compression plugin, and my site is still stuck in returning headers that say the content-encoding is gzip. It should be text/html. When I load any page, even...

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...

Subdomain Redirecting to Main Site

I'm trying to create a dev site for my client. The URL is dev.palatexposure.com. But for some odd reason, the site keeps redirecting to the main site, palatexposure.com. I tried contacting my...

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 make...

Gulp Images Failing in Ubuntu 16

I'm running my own Ubuntu 16.04.1 droplet and have just installed 'nodejs', npm, and bower globally. Then installed npm and bower on the Sage theme I've been working with. I'm able to gulp...

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 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...

Bonfire with codeigniter Internal server error

I have a Bonfire set up and was running fine . Its in http://office.barrecertification.com/ suddenly after server restore to previous backup i get Internal Server Error. My .htaccess file is #...

Adding expire headers in htaccess

Im having the problem with setting expire headers for images. (png, gif & jpg). I got 34 errors stating Leverage browser caching for the following cacheable resources. (gtmetrix.com) Below is my...

Wordpress: Admin-Ajax.php sending out emails not sure why

I've been having this issue lately with my admin-ajax.php file and I'm not sure why. On my Wordpress site, I've been using the page-builder plugin Elementor. I save my progress quite frequently,...

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: mod_gzip_on Yes mod_gzip_dechunk Yes mod_gzip_item_include file...

Wordpress admin-ajax.php

I have a Wordpress admin-ajax.php problem: First my WordPress admin-ajax.php returns 0 and now it's a clean sheet. I already changed: // Require an action parameter if ( empty( $_REQUEST['action']...

Different htaccess in http or https

I have a problem. I use cloudflare free plan and robots.txt is different if i put http:// or https://. In http: // comes the robots.txt that I want to use, in the https: // another totally...

HTTPS Redirect for Wordpress and an independent folder

I'm getting crazy with a https redirect problem. I just switched to https on my little website https://handletteringlernen.de. I did this by changing the base and home URL of Wordpress to https....

301 redirect placement in htaccess

I have a question regarding 301 redirects for old pages to new on the same domain. I've edited .htaccess before, but not on a wordpress site. From other posts I've read here, it looks like I need...

Why is my nginx proxy_pass producing a 404 error?

I'm trying to set up a docker-compose cluster with Nginx as a gateway to a wordpress site. My docker-compose.yml is as follows: version: '3.3' services: db: image: mysql:latest ...

Wordpress site redirecting to https

We have written scripts to redirect our website to https but when we use Security Headers IO, the site reports our site is not redirecting to https. Let me post our script for reference. We use...

Redirect from child to parent url

i'm trying to do this redirect on my site http://xxx.yy/zz/hh/pp --> http://xxx.yy/zz/hh?data=pp Reading on internet, I wrote this rule in my .htaccess but it doesn't work. I'm also running...

Wordpress: Expires headers are not working

I have tested my website's speed, it too good but it show me some issues that need to be fixed. One of it is "Add Expires headers". I have searched and found that I have to edit my .htaccess file...

How to pass JS user input to a function in Wordpress child theme functions.php using AJAX?

I need the data from var search_value in msearch.js to pass to the php variable called $woot in the child theme functions.php file so it can be the returned value for wtfwoot() and therefore used...

How do I simply add a forward slash "/" to a redirect rule and keep the UTM/Google Tracking parameters

We have been having issues where the Google Tracking codes get dropped because the SEO/SEM group are not using the proper URL and WordPress is adding a forward slash "/" and by doing this redirect...

Special characters in URL leads to 403

We have a server deployed on amazon aws, the problem we are facing is that when ever there's a special character in the URL, it redirects to a 403 Forbidden error. It works fine on my local...