Questions tagged [cdn]

Content delivery network, a distributed system of servers deployed in multiple data centers.

Filter by
Sorted by
Tagged with
0
votes
0answers
28 views

reWrite wp-content url to point on my cdn

I want to serve wp-content from my digitalocean Spaces CDN. I want to do this without a plugin. In the wp-admin/options.php the only URL I can change is upload_url_path.
0
votes
0answers
7 views

Different url format when I upload file from server and when I upload file from wordpress digitalocean sync plugin

I use digitalocean spaces sync plugin to my WordPress website. When the plugin upload an image to space then the base URL is space.fra1.digitalocean.com but when I try to upload images from my server ...
0
votes
0answers
17 views

How to change Wordpress UPLOAD only URL to a subdomain to bypass CDN file size restrictions

we run a large format printing business at posterprintshop.com that routinely gets very large file uploads through our various upload methods on the site (mostly HTTP POST/UPLOAD) as customers need to ...
0
votes
0answers
136 views

is there a way to display product gallery images via cdn

I have three issues that require a solution please. Is there a way to show product gallery images externally using a cdn but instead of pointing to that exact image url only point to the folder that ...
0
votes
0answers
17 views

How to secure many Wordpress Sites?

I was wondering what the best way is to secure many wordpress sites. Assuming i have a server with 100 Domains and each Domain has a single Wordpress site to it. What would be the best way to protect ...
0
votes
0answers
12 views

how tochange url for wp-includes on s3/cloudfront url

Im building an high available and fault tolerant Wordpress enviroment on AWS and it working fine, i have my linux ami with /var/www/html mounted on efs and /var/www/html/wp-content mounted on S3 ...
0
votes
0answers
12 views

w3 total cache write a brokent url

I'm using w3 total cache, and I have a s3 bucket where I store all my files (wp-includes, wp-content/themes, wp-content/uploads), everything seems to work fine except for the themes directory for ...
0
votes
0answers
15 views

how to display images from a folder in a cdn to wordpress website

i have a ecommerce website that has around 2500 products plus its variations. we sell clothes and we have all the images for these products categorized in their separate folders. we have over 5000 ...
0
votes
0answers
19 views

How to change Route respond To A specific Path?

To increase site loading time and decrease the pressure on my website I have decided to host files(js,css,images) in other hosting, like google storage or amazon aws, problem is that I already ...
0
votes
0answers
29 views

How to optimize images that upload to S3 and using Cloudfront as CDN?

my site is using AWS Lightsail service. I am using WP Offload Media Lite plugin to using Cloudfront as my CDN and upload all my images to S3. But I got a problem with the image's size, they are ...
0
votes
0answers
83 views

What CloudFront settings are required for WordPress now (mid-late 2020)?

I'm having issues getting current WordPress (5.5, but confirmed back until at least 5.2) working behind CloudFront, and am wondering what the current best practice is for Behavior configuration. ...
0
votes
1answer
26 views

How to know if I have activated Cloudfare successfully?

I am using Siteground hosting and Cloudfare free CDN. On cloudfare website I get this - and on Siteground I get this - I have updated the CNAME records as asked, several times. Please guide me: Is ...
1
vote
1answer
47 views

Is It Possible to Upload Certain Attachment Files To A Remote Server

My Situation I'm developing a book-store WordPress website where you can purchase and download books in PDF format. I don't want to use the local space for file storage (the host provider offers ...
1
vote
1answer
243 views

Jetpack's photon causes local site to try and serve images from Wordpress CDN [closed]

On my remote site I have Jetpack's site accelerator (formerly Photon) turned on. So all the images are cached and then served from the Wordpress CDN. When I ported the site to my local machine, ...
0
votes
1answer
77 views

Fully caching Wordpress site by CDN (eg. Cloudflare)

Because of random high traffic on our website, for which even total cache is not good enough (~ 1000 req/s) we would like to put CDN in front of the whole site. Cloudflare CDN caching seems to do the ...
0
votes
5answers
1k views

Warnings even when the WP_DEBUG set to false

The link https://vreqenz-stream.de/shop/ throws warning when opened on some devices and not on others. I thought it may be a cahce issue but I have cleared cache from WP-rocket and also browser. Just ...
0
votes
1answer
947 views

Storing WordPress Media Library Uploaded files onto a separate domain

We are looking forward to offload assets from our website (60GB onto a 8TB/mo accessed website), to a separate webserver that will be there only for serving images from a separate domain. I know that ...
0
votes
0answers
27 views

Alternatives to hosting WordPress post content?

Our posts are very verbose HTML documents that average 5MB in file size. Although the WordPress database does a decent job of serving these files, it costs us a lot in storage hosting. Due to this, is ...
0
votes
1answer
1k views

i1.wp.com url problem (Jetpack not installed)

I added the following code to the functions.php file add_filter( 'avatar_defaults', 'new_gravatar' ); function new_gravatar ($avatar_defaults) { $myavatar = 'link'; $avatar_defaults[$...
0
votes
1answer
548 views

Unable leverage Browser Caching on AWS Bitnami stack (Apache) through W3TC and Cloudfront CDN

I followed many tutorial about leveraging browser caching nevertheless I couldn't configure it succesfully, in fact GTmetric (PageSpeed and YSlow) notified me many static file that don't have a cache ...
1
vote
2answers
3k views

Host images only on CDN

i have developed a wordpress website which is hosted on AWS. The website is working fine but since i wish to make it an e-commerce website, there are going to be a large number of images. The hosting ...
1
vote
0answers
83 views

WP-Stateless: Multi Regional Vs Regional Storage

if I upload all wp-content/uploads to google cloud storage and serve from there directly(stateless), is there any point to create multi regional google cloud storage? Other than increasing unnecessary ...
0
votes
0answers
229 views

Serving cache from multiple domain names

I'm using W3 total cache for caching and I've many js files with sizes larger than 100KB in the cache folder. My idea is to serve cache folder from different subdomains (All files are hosted in the ...
0
votes
0answers
36 views

Uploads from site on Server A uploaded on Server B (Like sort of CDN)

Short overview of the situation: On server A there's an site. Server B is used for files. I want that uploads made on server A (running one wordpress site) are uploaded on server B. I've changed the ...
-2
votes
2answers
255 views

How should we improve the website speed? [closed]

We are OK with the current performance but for the past 2-3 weeks, Google search console shows that none of the pages are indexed. Its actually indexed though. https://www.softwareproductguide.com/ ...
0
votes
1answer
2k views

How to set up the REST API to refer to media on a CDN

I'm using the Wordpress as a headless server to supply the content for a react based web app, and I'm trying to get the media served via a CDN. I have set up the W3-Total-Cache plugin which is ...
0
votes
0answers
39 views

Render Shortcode in Lightbox Gallery

I am trying to have a video gallery, but I use HolaCDN. Their wordpress plugin lets you insert videos using a shortcode, and that shortcode inserts the necessary javascript to render their video ...
1
vote
2answers
3k views

Change Image URL to a CDN

Running NGINX, Wordpress 4.75 after upgrading from a way older version of Wordpress, our images are being served locally and I would like to change that to our CDN. In the past images that were ...
2
votes
0answers
124 views

CDN + WP Admin Query - .htaccess redirection

Say I have a website at https://www.example.com and I am using a CDN. Now if I want the CDN URL to be https://www.example.com/assets/... and not https://assets.example.com, then what should I do? Is ...
0
votes
0answers
596 views

Css style removed but still showing via CDN even after clearing browser cache and purging all caches for site

I have an issue where the mobile menu (Must change browser size to mobile width to see) is showing one of its lines as "display:none" via the stylesheet. So the hamburger icon is wrong. See screenshot....
0
votes
1answer
978 views

I am using CloudFront and Cloudflare at the same time. Is that good? [closed]

I'm running my site using two CDNs. I primarily just use Cloudflare for security, and CloudFront for complete CDN.
0
votes
2answers
532 views

how optimize CDN without using plugins

i need help for optimizing my wordpress website without using plugins incloding wp-total-cache or wp-super-cache.check this link https://gtmetrix.com/reports/akhbartop.ir/fF37Flwa my website needs ...
0
votes
1answer
611 views

Missing dns-prefetch link when using “nested” wp_register_style

Given this script: function register_styles(){ wp_register_style('google-fonts', '//fonts.googleapis.com/css?family=Oswald|Open+Sans'); wp_register_style('bootstrap', ...
1
vote
0answers
60 views

How to configure sub-domain for images on Debian Apache VPS?

in shorts: I want this https://surpriseazwebservices.com/serve-images-from-sub-domain-in-wordpress/ BUT, I have VPS with Debian runing Apache and WP. I follow all steps from tutorial and not working ...
-1
votes
1answer
35 views

All my cdn links are automatically set to relative(ie //: instead of http://). why? [closed]

All The links declared are set to :// instead of http:// even though they have https added in the code. This is causing a issue with AMP page validation. Is there a way i can force http:// here?
3
votes
1answer
5k views

Deregister WordPress jquery on specific page

Note: Removing jQuery that comes with Wordpress is not recommended. Use caution if implementing the solution below I have a few pages that will not require jQuery to be loaded in the header. I'm ...
4
votes
2answers
1k views

What is the problem if I use CDN in my WordPress parent theme(built using bootstrap)?

When I run "themes check" , it recommends not to use CDN. I am using Bootstrap CDN this way function underscore_bootstrap_wp_scripts() { /* bootstrap and font awesome and animate css */ ...
-2
votes
3answers
232 views

To what degree can use of caching-plugins and a CDN boost WordPress performance? [closed]

I realize that this question is being asked in a very generic fashion, without detailed specifics of the configuration in question, and thus I am not expecting answers that go beyond anything but ...
3
votes
1answer
8k views

Add Font Awesome Embed CDN Script To WordPress

This is my original code that pulled Font Awesome icons, which is placed in my functions.php file: wp_enqueue_style( 'prefix-font-awesome', '//cdnjs.cloudflare.com/ajax/libs/font-awesome/4.6.1/css/...
1
vote
1answer
767 views

How to serve wp-includes javascripts from CDN? [duplicate]

My goal is very simple to describe: I want all JS from wp-includes to be served via my CDN (cloudfront to be specific). This just means I need to change the domain from: http://mywebsite.com/wp-...
1
vote
0answers
518 views

change url for static files in /wp-admin with a cdn url

I recently purchased a CDN and used a plugin to change the site url for all static files in the "/wp-content" and "/wp-include" folder to the cdn url. Is there a way to change the site url for ...
0
votes
1answer
411 views

How do I change the WordPress Address URL only and still login to wp-admin

The story so far: I added a distribution on Amazon CloudFront (randomString.cloudfront.net), then added a cname (cdn.mydomain.com) and finally created a cname record on the DNS server - pointing cdn....
4
votes
2answers
20k views

COOKIE_DOMAIN setting confusion

I'm upgrading my website and it's using WordPress. I'm using sub-domain cdn for CDN and it needs to be cookieless. Currently my website is a multi-network of multisites (both are subdirectory ...
0
votes
0answers
135 views

Moving CDN jQuery to footer does not work?

What I want to achieve: Change the default JS to Google's CDN --> this works Move the Google CDN to the footer --> this does not work My code: function my_init() { if (!is_admin()) {...
0
votes
1answer
261 views

How to use Virtual Private Server as Wordpress Image CDN

I have 2 Private Server and 1 Shared hosting. 1 of my private server is not much in use, but my shared hosting is getting overloaded with images running wordpress. I want to set my own CDN with my ...
0
votes
1answer
861 views

W3 total - leverage browser caching not working with cdn delivered images [closed]

I'm using W3 total cache for a while now with all my Wordpress installations. Just started to use CDN and I got some problems with leverage browser caching of my files (mostly images) that are served ...
0
votes
1answer
120 views

Should I paste CDN links in a JS file or use a Bootstrap CDN plugin?

I'm new to WP development and I don't have the experience to know if I should place CDN links in a JS file and enqueue it or use a nifty plugin such as this one. What is best practice? What should I ...
1
vote
1answer
788 views

Enqueueing a script and a style sheet not working

I am trying to enqueue both a child theme style sheet and a child theme script. I need to enqueue the script because I put CDN links in there for Bootstrap. I know my enqueue isn't working correctly ...
0
votes
2answers
240 views

Change WordPress Resource URL

I have recently finished developing my latest WordPress theme for my own site and as usual I was going to use maxcdn and w3tc to make it faster! However my Hosting company have started up their own ...
-1
votes
2answers
2k views

Can not login after moving to cloudflare and adding rules

I've setup my website with CloudFlare. In the settings, I've added some rules to make it faster. Since then, when I try to login the Dashboard. I get the following message: ERROR: Cookies are ...