bitx004
Forum Replies Created
-
Forum: Plugins
In reply to: [Fast Velocity Minify] Feature Request: chance to rewrite URLYou’re awesome Raul, thank you so much! I promise I will be careful :). I did a dry run with the above suggested fix and it will solve the integration problem with WP Hide.
Thanks again.
Forum: Plugins
In reply to: [Fast Velocity Minify] Feature Request: chance to rewrite URLThanks Raul for sharing your opinion on security thru obfuscation. There is definitely two large camps on both sides but have decided to go with it anyways… plus I get nicer URLs :). So your 301 redirect option will not “hide” the wp-based URLs but just require an extra hop.
As for your whitelisting option, it is a good suggestion that I have not considered yet, thank you. First thing that comes to my mind is that WP Hide plugin unfortunately does not support such an option and I will have to request it on their side to block except certain IP addresses. It seems like it will be a bigger change than what I have requested from you below.
Alternatively I was hoping that you concerned my one-liner code change which would resolve issue and introduce a (backwards-compatible) optional filter that developers can take advantage to control URLs prior to your fetch; i.e.
$hurl = apply_filters('fvm_get_url', $hurl);added at the end of yourfastvelocity_min_get_hurlfunction. I can take advantage of this new *feature* and rewrite the URLs using the filter hook. Please do consider it!Thank you very much!
Forum: Plugins
In reply to: [Fast Velocity Minify] Feature Request: chance to rewrite URLNo worries, thank you for replying!
That is correct, FVM is unable to merge the files properly because it is failing at the step where it fetches the contents of the CSS/JS files. FVM is trying to fetch the CSS/JS files under the original URL formats (which have been blocked) vs the new mapped URL formats created by WP Hide.
For example, prior to configuring my WP Hide plugin, my URLs look like http://domain.com/wp-content/themes/my-theme/foo.css. With WP Hide configured, my URLs now look like http://domain.com/theme/foo.css because I mapped /wp-content/themes/my-theme/ to /theme/. (This mapping simplifies URL structure and hides ‘wp-content’ which exposes knowledge of WordPress.) In addition to the mapping, WP Hide can also block accessing the file using the original urls just in case someone wants to probe wordpress directory/files.
When FVM attempts to fetch CSS files, it is trying to fetch using the the original URL /wp-content/themes/… path which is blocked. With a strategic filter option (e.g.
fvm_get_url) in the right place, we can assist FVM by transforming/mapping the fetch URLs for these kind of scenarios.I hope this makes more sense. Let me know if you would like me to elaborate more.
Thanks!
- This reply was modified 6 years, 2 months ago by bitx004.
Forum: Plugins
In reply to: [Fast Velocity Minify] Feature Request: chance to rewrite URLHey @alignak. I know it is a feature request but I would appreciate some feedback or thoughts on my suggested approach above. Do you like the suggestion or do you have an alternative? Are you willing to implement it and if so, then I would appreciate a potential timeline when to expect it?
Currently I have the custom
apply_filtershardcoded into your plugin codebase but I am hesitant to keep it long-lived.Thanks so much!
Awesome! Thank you for the quick investigation and quick fix. Looking forward to the update.
Cheers.
Forum: Plugins
In reply to: [WPvivid — Backup, Migration & Staging] Feature: Scan Remote DriveThanks Tony for pointing out an alternative option available in the Pro version.
I had another use case for re-scanning remote storage. I directly prefer to delete and add backups directly in my Google Drive. I have done this and now my backup list is out of sync. I now realize I cannot directly make my changes thru Google Drive.
Thanks
Thanks Tony for replying.
I have tried what you have suggested multiple times and it did not resolve my issue. I even installed the plugin on a different WordPress installation on my local machine and I experienced the same issue.
During an online search, I had stumbled upon couple sites discussing Clearfy and they had mentioned such a feature. I now realize those sites are not official. Please ignore my comment.
Thank you for verifying that there is no such feature. Your plugin is awesome and comprehensive… that is why I am surprised you have not covered this simple use-case. One can simply remove the canonical link with the code….
remove_action('wp_head', 'rel_canonical');Please consider of adding this option in Clearfy… Thanks!
- This reply was modified 6 years, 3 months ago by bitx004.