rent_url = $this->url_helper->recreate_current_url(); $allowed_params = $this->crawl_cleanup_helper->allowed_params( $current_url ); // If we had only allowed params, let's just bail out, no further processing needed. if ( empty( $allowed_params['query'] ) ) { return; } $url_type = $this->crawl_cleanup_helper->get_url_type(); switch ( $url_type ) { case 'singular_url': $proper_url = $this->crawl_cleanup_helper->singular_url(); break; case 'front_page_url': $proper_url = $this->crawl_cleanup_helper->front_page_url(); break; case 'page_for_posts_url': $proper_url = $this->crawl_cleanup_helper->page_for_posts_url(); break; case 'taxonomy_url': $proper_url = $this->crawl_cleanup_helper->taxonomy_url(); break; case 'search_url': $proper_url = $this->crawl_cleanup_helper->search_url(); break; case 'page_not_found_url': $proper_url = $this->crawl_cleanup_helper->page_not_found_url( $current_url ); break; default: $proper_url = ''; } if ( $this->crawl_cleanup_helper->is_query_var_page( $proper_url ) ) { $proper_url = $this->crawl_cleanup_helper->query_var_page_url( $proper_url ); } $proper_url = \add_query_arg( $allowed_params['allowed_query'], $proper_url ); if ( empty( $proper_url ) || $current_url === $proper_url ) { return; } $this->crawl_cleanup_helper->do_clean_redirect( $proper_url ); } } https://karolinakvas.cz/post-sitemap.xml 2024-04-29T09:26:54+00:00 https://karolinakvas.cz/page-sitemap.xml 2025-06-05T14:54:39+00:00 https://karolinakvas.cz/portfolio-sitemap.xml 2021-01-02T15:01:39+00:00 https://karolinakvas.cz/blog-sitemap.xml 2025-11-04T16:18:32+00:00 https://karolinakvas.cz/category-sitemap.xml 2025-11-04T16:18:32+00:00 https://karolinakvas.cz/post_tag-sitemap.xml 2025-11-04T16:18:32+00:00