Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Shells Virtual Desktop
BMail.ag - Secure Email Service
Server.net
CPLicense.net
VPS Server
Buy VPN
Vultr
VMs for AI
HostDare
HostDare
ReliableSite White-Label Dedicated Hosting for Resellers
25% Recurring Discount on NVMe VPS
InterServer VPS
BMail.ag - Secure Email Service
Best VPN
High-Performance Bare Metal Server Solutions
Karvl.com
Server Mania Cloud Hosting
DataWagon Hosting
AlphaVPS Hosting
Evoxt.com
Clouvider
VPS Hosting with NVMe
Residential IPs in the US & 4G Mobile Proxies in EU & US with Unlimited Bandwidth
ReliableSite White-Label Dedicated Hosting for Resellers
Rabisu - Hosting Solutions
CloudLinux
Shells Virtual Desktop
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

BunnyCDN with Wordpress

pkrpkr Member

I created a Pull Zone for my Wordpress website. Since Wordpress has JS/CSS files in 2 different folders - wp-content and wp-includes, I used the link to my website (https://www.mywebsite.com) as the original URL in BunnyCDN pull zone. Now, the problem is BunnyCDN pull zone "mywebsite.b-cdn.net" has become a copy of my website i.e. all pages of "https://www.mywebsite.com" can be accessed from "mywebsite.b-cdn.net".

Google will definitely not like this. I tried to redirect "mywebsite.b-cdn.net" to "https://www.mywebsite.com" using .htaccess, but it did not work.
Can someone help me to fix this issue?

Comments

  • jahrincjahrinc Member

    Go to your zone and under the Security tab, enable the "Block root path access".

  • pkrpkr Member

    @jahrinc said:
    Go to your zone and under the Security tab, enable the "Block root path access".

    Thanks a lot. It worked.

    Thanked by 1jahrinc
  • to avoid any issues, the BunnyCDN has a module for WordPress, two clicks and everything can be setup correctly.

  • pkrpkr Member
    edited June 2020

    @WebProject said:
    to avoid any issues, the BunnyCDN has a module for WordPress, two clicks and everything can be setup correctly.

    I have installed BunnyCDN plugin, but it does not have the option to block the access of the website using the pullzone.

  • sanvitsanvit Member

    You could also add edge rules,

    if path is */
    redirect to https://mydomain.com{{path}}

  • trewqtrewq Administrator, Patron Provider

    @pkr said:

    @WebProject said:
    to avoid any issues, the BunnyCDN has a module for WordPress, two clicks and everything can be setup correctly.

    I have installed BunnyCDN plugin, but it does not have the option to block the access of the website using the pullzone.

    @BunnySpeed

Sign In or Register to comment.