Skip to content
This repository has been archived by the owner on Feb 23, 2019. It is now read-only.

Incorrect CDN URL path #566

Open
telsav opened this issue Mar 29, 2018 · 2 comments
Open

Incorrect CDN URL path #566

telsav opened this issue Mar 29, 2018 · 2 comments

Comments

@telsav
Copy link

telsav commented Mar 29, 2018

here is the info.
image

and attachments url path: https://cdn.xxxx.net/wp-content/uploads/www.xxxx_.net/wp-content/uploads/2018/02/40270003pq06030n3sr0.jpg

but the correct path should be https://cdn.xxxx.net/wp-content/uploads/2018/02/40270003pq06030n3sr0.jpg

who can tell me how to fix the issue. all attachments on my site is not correct. i got many 404 on my site.

@telsav
Copy link
Author

telsav commented Mar 29, 2018

and this is the json config file which i export from this plugin

www.gblm.net.zip

@szepeviktor szepeviktor changed the title CND url path not correctly Incorrect CDN URL path Apr 2, 2018
@jbyrneirl
Copy link

jbyrneirl commented Apr 24, 2018

I have a variation on this issue in that the CDN URL looks like this

http://d2iul8nt4ab21i.cloudfront.net/http://website-hostname.com/wp-content/themes/website-hostname/style.css

Server Modules & Resources:
Plugin Version: 0.9.6
PHP Version: 5.6.35;
Web Server: nginx
FTP functions: Installed (required for Self-hosted (FTP) CDN support)
Multibyte String support: Installed (required for Rackspace Cloud Files support)
cURL extension: Installed (required for Amazon S3, Amazon CloudFront, Rackspace CloudFiles support)
zlib extension: Installed (required for compression support)
Opcode cache: Installed (OPCache)
Memcached extension: Installed
Memcache extension: Not installed
Redis extension: Installed
HTML Tidy extension: Installed (required for HTML Tidy minifier support)
Mime type detection: Installed (Fileinfo) (required for CDN support)
Hash function: Installed (hash) (required for NetDNA / MaxCDN CDN purge support)
Open basedir: Off
zlib output compression: Off
set_time_limit: Available
Additional Server Modules
New Relic
PHP version: Not supported: 5.6.35. Supported versions are 5.2.x, 5.3.x, 5.4.x.
Operating System: Supported
Web Server: Supported
WordPress Resources
/etc/nginx/conf.d/globals/wordpress-w3-total-cache.conf: OK
/data1/nginx/html/ir-wp-multisite/wp-content: OK
/data1/nginx/html/ir-wp-multisite/wp-content/uploads/2018/04: OK
Fancy permalinks: /blog/%year%/%monthnum%/%day%/%postname%/
WP_CACHE define: Defined (true)
URL rewrite: Enabled
Network mode: Yes (subdomain)

I'm using the latest release (0.9.6.1) and the Cloudfront CDN with a Pull Origin.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants