Support » Plugin: Breeze - WordPress Cache Plugin » sub directory setup and clearing cache
sub directory setup and clearing cache
-
the page is redirected to 404 after clearing cache when the wp is installed in a sub directory.
-
Could you please share the directory path/URL while clearing cache? Quite possible there is misconfiguration appear during configuration of sub directory .
How do I send you the info privately?
WordPress address
/blog/wp
Site address
/blog
.htaccess
RewriteEngine On
RewriteBase /blog/
RewriteRule ^index.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /blog/index.php [L]Please share the complete URL while mouse-over at Purge All Cache option as shown in following SS
https://phpstack-458710-2069236.cloudwaysapps.com/org-rep/Subfolder-url.pnghttps://***/blog/wp/wp-admin//blog/wpindex.php?breeze_purge=1&_wpnonce=4b1802dc33
(I don’t want to disclose the domain)Please confirm the following
Is breeze-config and theme folder under /public_html/current/web/app ?They are in here.
/***domain-name***/blog/wp/wp-contentI must ask you for another moment of patience while understanding what the actual cause of it is. It would be better to create a support ticket and mention the thread link/title in a support ticket to investigate it.
With this information, I am sure we will solve your problem in no time. We are waiting for your details and are happy to help.
I created a ticket there but they told me to return here since the site is not on Cloudways.
It’s annoying that you pass me around.
Please ask them to show you the support ticket #438507 to check the detail.Sorry for the inconvenience.
Let me check the details than I will share the point of conflict.
Basically the point of conflict in configuration of /wp/folder
while you create your site in subfolder the following path generate for wp-admin
https://point-of-conflict/blog/wp/wp-admin//blog/wp (its not correct)
https://point-of-conflict/blog/wp/wp-admin/ (Correct one)Breeze option PURGE ALL CACHE read the admin URL if its not on standard format in any case single site/ multisite/ subdirectory its not work and reflect 404
Note:
The admin path not created by Breeze. It just read the current URL in order to redirect to the same page on cache purge.But nothing is wrong in the setting.
Everything other than Breeze’s in wp admin have correct link.-
This reply was modified 2 months ago by
ashf.
I don’t think this can set correct path if WP is installed in a sub-directory.
breeze/inc/breeze-admin.php line 269$current_script = str_replace( '/wp-admin/', '', $current_script );
Yes it need to fix in Breeze. We will handle it in our upcoming releases.
Thanks for highlight the point.
This still hasn’t been fixed.
-
This reply was modified 2 months ago by
- You must be logged in to reply to this topic.