kastriotsula
Forum Replies Created
-
Forum: Plugins
In reply to: [Seraphinite Accelerator] Cache size generated is way too big (8.5 GB)Noleggio is a custom post type that contains the different type of items that the website contains, those are 140 items, so 140 pages with that items details.
So, what are the solutions here? Just exclude that path? How this can be done as ultimate solution.
The best would be make all pages optimized without increasing that much the cache folder.
Here a warning from the hosting provider:
Existing files: 1.837.818On your web hosting account, there is currently a big delay in all file operations. This includes emails and backups, for example. This delay is happening because you have a lot of files stored on the server for your account.
You need to either archive or delete old and unnecessary data. This will improve the server’s performance for you and our other customers.
If you do not want to delete any files, you could use one of our managed servers instead. Please contact us if you need help or have any questions. We will be happy to help.Forum: Plugins
In reply to: [Seraphinite Accelerator] Cache size generated is way too big (8.5 GB)Unfortunately can’t give direct access, but here a screenshot when you can see the directories inside cache with the relative size.
Thank you!Forum: Plugins
In reply to: [Seraphinite Accelerator] Cache size generated is way too big (8.5 GB)I just followed the basic activation of the plugin, didn’t touch it too much actually. How and where can I check if this “arguments caching” is activated?
Thank you.Forum: Plugins
In reply to: [Seraphinite Accelerator] Cache size generated is way too big (8.5 GB)Yes in attempting to understand why this amount of space was taken by the plugin i probably have refreshed the statistics.
The website has or not around 200 pages/articles. What are those 765679 pages cached, how does this plugin work?Is there a way to optimize this on small sites like this?
Thank you.
Forum: Plugins
In reply to: [Seraphinite Accelerator] Cache size generated is way too big (8.5 GB)Here it is! Thank you!
Forum: Plugins
In reply to: [Seraphinite Accelerator] Cache size generated is way too big (8.5 GB)@missveronicatv Thanks!
Sorry @aswingiri but see that the script still runs on pages that are not protected using Ulitmate member.
What can be the problem?
Thanl you again!
Looks good to me! That’s exactly what I meant!
Thank you very much @aswingiri 🙂
- This reply was modified 4 years, 2 months ago by kastriotsula.
@aswingiri Thank you for your response!
As I see this snippet apply this filter on all the websites pages, but as I have set some pages to be public and some private with access to a specific user role, this script for what I see runs on all pages, I need this filter to be applyed only on pages that are restricted on the backend.
For example:
Homepage –> Public
About us –> Public
..
..
..
Private Area –> Only who has an account with a specific role can access
Other private page –> Only who has an account with a specific role can access
..
..Here the settings in the backend:
Restricted page:
https://ibb.co/hD7wb54Public page:
https://ibb.co/98jtk8P- This reply was modified 4 years, 2 months ago by kastriotsula.
Forum: Plugins
In reply to: [Customer Reviews for WooCommerce] Error on recieved review@longnguyen89 Thank you for your answer.
I checked and seem that disabling the plugin wpml-string-translation the problem is solved.
But i need that for other activity on the website.
How can I solve this? Any suggestions?
Thank you.
Forum: Fixing WordPress
In reply to: Problem with noindex on pages@madhudollu thank you for you response!
Yes the block is already deactivated and all the pages are setted to index mode.
That’s why this is very stange.
Thank you for your reply!
I see that I have a 404 but the structure is correct like this:
https://skimcorner.it/blog/Skimboard/But on a few categories the system redirect me on the post blog for example
With this category here:
https://skimcorner.it/blog/Skateboard/I have been redirect in the blog post with this url:
https://skimcorner.it/blog/skateboard-o-longboard-ecco-le-principali-differenze/Hello @juaancmendez I have this error as output:
Fatal error: Uncaught Error: Function name must be a string in /home/skimdis1/skimcorner.it/wp-content/themes/aora-child/functions.php:149 Stack trace: #0 /home/skimdis1/skimcorner.it/wp-includes/class-wp-hook.php(303): filter_category_link('https://skimcor...', 160) #1 /home/skimdis1/skimcorner.it/wp-includes/plugin.php(189): WP_Hook->apply_filters('https://skimcor...', Array) #2 /home/skimdis1/skimcorner.it/wp-includes/taxonomy.php(4547): apply_filters('category_link', 'https://skimcor...', 160) #3 /home/skimdis1/skimcorner.it/wp-includes/class-walker-category.php(108): get_term_link(Object(WP_Term)) #4 /home/skimdis1/skimcorner.it/wp-includes/class-wp-walker.php(144): Walker_Category->start_el('', Object(WP_Term), 0, Array) #5 /home/skimdis1/skimcorner.it/wp-includes/class-wp-walker.php(202): Walker->display_element(Object(WP_Term), Array, 1, 0, Array, '') #6 /home/skimdis1/skimcorner.it/wp-includes/category-template.php(1107): Walker->walk(Array, -1, Array) #7 /home/skimdis1/skimcorner.it/wp-includes/category-template in /home/skimdis1/skimcorner.it/wp-content/themes/aora-child/functions.php on line 149function filter_category_link( $termlink, $term_term_id ) { $termlink = home_url('/blog/'. $get_term( $term_term_id )->name .'/'); return $termlink; }; add_filter( 'category_link', 'filter_category_link', 10, 2 );This is the line 149
$termlink = home_url('/blog/'. $get_term( $term_term_id )->name .'/');Hello @franmglez92, thank you for your response!
What I did is this:
1) Removed the /blog/ slug from custom permalink and now i have just this:
/%category%/%postname%/2) Added custom function that adds prefix /blog/ only on posts with this code here:
function add_rewrite_rules( $wp_rewrite ) { $new_rules = array( 'blog/(.+?)/?$' => 'index.php?post_type=post&name='. $wp_rewrite->preg_index(1), ); $wp_rewrite->rules = $new_rules + $wp_rewrite->rules; } add_action('generate_rewrite_rules', 'add_rewrite_rules'); function change_blog_links($post_link, $id=0){ $post = get_post($id); if( is_object($post) && $post->post_type == 'post'){ return home_url('/blog/'. $post->post_name.'/'); } return $post_link; } add_filter('post_link', 'change_blog_links', 1, 3);3) Changed the permalink with the code you gave me to this:
if( defined( 'YITH_WCBR' ) && ! function_exists( 'yith_wcbr_change_taxonomy_rewrite' ) ){ function yith_wcbr_change_taxonomy_rewrite(){ return 'brands'; } add_filter( 'yith_wcbr_taxonomy_rewrite', 'yith_wcbr_change_taxonomy_rewrite' ); }Now the only things that is not working is that i wanna use the /blog/ prefix for the category post too, how can I do that?