Title: ccggint's Replies | WordPress.org

---

# ccggint

  [  ](https://wordpress.org/support/users/ccggint/)

 *   [Profile](https://wordpress.org/support/users/ccggint/)
 *   [Topics Started](https://wordpress.org/support/users/ccggint/topics/)
 *   [Replies Created](https://wordpress.org/support/users/ccggint/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/ccggint/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/ccggint/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/ccggint/engagements/)
 *   [Favorites](https://wordpress.org/support/users/ccggint/favorites/)

 Search replies:

## Forum Replies Created

Viewing 12 replies - 1 through 12 (of 12 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Custom Permalinks] Custom Permalinks – Polylang – Yoast Compatibility](https://wordpress.org/support/topic/custom-permalinks-polylang-yoast-compatibility/)
 *  Thread Starter [ccggint](https://wordpress.org/support/users/ccggint/)
 * (@ccggint)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/custom-permalinks-polylang-yoast-compatibility/#post-7629691)
 * Hi,
 * No I don’t. I use only Polylang. It seems there is a conflict between the data
   that Custom Permalinks box saves (en/mycustom/permalink) and the entire permalink
   that WordPress keeps in database.
 * To be more specific:
 * WordPress recognize [http://mydomain.com/alpha](http://mydomain.com/alpha) as
   the stable part of permalink in Edit area and language suffix goes automatically
   in Custom Permalinks box. But the default stable part of permalink for WordPress(
   View Post button) is [http://mydomain.com/alpha/en](http://mydomain.com/alpha/en)
   which contains the language code. So, the final URL is (Default stable part of
   permalink) + (Custom Permalinks box) =
    ([http://mydomain.com/alpha/en](http://mydomain.com/alpha/en))
   + (en/mycustom/permalink)
 * Thanks,
    Nick
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Custom Permalinks] Custom Permalinks – Polylang – Yoast Compatibility](https://wordpress.org/support/topic/custom-permalinks-polylang-yoast-compatibility/)
 *  Thread Starter [ccggint](https://wordpress.org/support/users/ccggint/)
 * (@ccggint)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/custom-permalinks-polylang-yoast-compatibility/#post-7629659)
 * Hi,
 * I tried a custom patch by myself to _function_ **custom_permalinks_form** in 
   order to get language suffix in permalink before Custom Permalinks box, but by
   clicking **View Post** I fall on 404 page.
 *     ```
       $lang = pll_current_language();
       	if($lang=='en'){
       		$lang_suffix='en/';
       	}elseif($lang=='el'){
       		$lang_suffix='el/';
       	}else{
       		$lang_suffix=NULL;
       	}
       ```
   
 * `<?php echo home_url() ?>/<?php echo $lang_suffix; ?>`
 * Any ideas?
 * Thanks
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[NinjaFirewall (WP Edition) - Advanced Security Plugin and Firewall] Ninja Firewall & Woocommerce compability](https://wordpress.org/support/topic/ninja-firewall-woocommerce-compability/)
 *  Thread Starter [ccggint](https://wordpress.org/support/users/ccggint/)
 * (@ccggint)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/ninja-firewall-woocommerce-compability/#post-7611759)
 * It’s the Force **HttpOnly** flag on all cookies to mitigate XSS attacks!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[NinjaFirewall (WP Edition) - Advanced Security Plugin and Firewall] Ninja Firewall & Woocommerce compability](https://wordpress.org/support/topic/ninja-firewall-woocommerce-compability/)
 *  Thread Starter [ccggint](https://wordpress.org/support/users/ccggint/)
 * (@ccggint)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/ninja-firewall-woocommerce-compability/#post-7611757)
 * It works!!!
 * But what are the disadvantages of disabling HTTP response headers?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[NinjaFirewall (WP Edition) - Advanced Security Plugin and Firewall] Ninja Firewall & Woocommerce compability](https://wordpress.org/support/topic/ninja-firewall-woocommerce-compability/)
 *  Thread Starter [ccggint](https://wordpress.org/support/users/ccggint/)
 * (@ccggint)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/ninja-firewall-woocommerce-compability/#post-7611745)
 * I’m afraid that problem still exists. Restore Default Values trick didn’t work!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[NinjaFirewall (WP Edition) - Advanced Security Plugin and Firewall] Ninja Firewall & Woocommerce compability](https://wordpress.org/support/topic/ninja-firewall-woocommerce-compability/)
 *  Thread Starter [ccggint](https://wordpress.org/support/users/ccggint/)
 * (@ccggint)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/ninja-firewall-woocommerce-compability/#post-7611739)
 * With Debugging Mode enabled the result it’s the same. By disabling the firewall
   from the same page, everything works just fine!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[NinjaFirewall (WP Edition) - Advanced Security Plugin and Firewall] Ninja Firewall & Woocommerce compability](https://wordpress.org/support/topic/ninja-firewall-woocommerce-compability/)
 *  Thread Starter [ccggint](https://wordpress.org/support/users/ccggint/)
 * (@ccggint)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/ninja-firewall-woocommerce-compability/#post-7611671)
 * I can’t find anything in Firewall Log except the time I logged in:
 * 29/Jul/16 12:29:06 #4709655 info – 5.172.198.36 POST /wp-login.php – Logged in
   user – [username (administrator)]
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[NinjaFirewall (WP Edition) - Advanced Security Plugin and Firewall] Ninja Firewall & Woocommerce compability](https://wordpress.org/support/topic/ninja-firewall-woocommerce-compability/)
 *  Thread Starter [ccggint](https://wordpress.org/support/users/ccggint/)
 * (@ccggint)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/ninja-firewall-woocommerce-compability/#post-7611651)
 * Here is the log when I push “Add to Cart” button(non-ajax) in a product page.
 * [29/Jul/16:10:27:17 +0300] – 193.92.97.36 “GET /wp-cron.php?doing_wp_cron=1469777237.3401119709014892578125”“-”“
   WordPress/4.5.3; [http://mywebsite.com&#8221](http://mywebsite.com&#8221); “193.92.97.36”“
   mywebsite.com”
    [29/Jul/16:10:27:18 +0300] – 5.172.198.36 “GET /shop/” “[http://mywebsite.com/shop/diaries/diary-w-lock-100sh-m/&#8221](http://mywebsite.com/shop/diaries/diary-w-lock-100sh-m/&#8221);“
   Mozilla/5.0 (Windows NT 6.1; WOW64; rv:47.0) Gecko/20100101 Firefox/47.0” “5.172.198.36”“
   mywebsite.com” [29/Jul/16:10:27:19 +0300] – 5.172.198.36 “GET /shop/page/2/” “
   [http://mywebsite.com/shop/&#8221](http://mywebsite.com/shop/&#8221); “Mozilla/
   5.0 (Windows NT 6.1; WOW64; rv:47.0) Gecko/20100101 Firefox/47.0” “5.172.198.36”“
   mywebsite.com” [29/Jul/16:10:27:21 +0300] – 5.172.198.36 “GET /product-category/
   diaries/” “[http://mywebsite.com/shop/&#8221](http://mywebsite.com/shop/&#8221);“
   Mozilla/5.0 (Windows NT 6.1; WOW64; rv:47.0) Gecko/20100101 Firefox/47.0” “5.172.198.36”“
   mywebsite.com” [29/Jul/16:10:27:22 +0300] – 5.172.198.36 “GET /product-category/
   diaries/page/2/” “[http://mywebsite.com/product-category/diaries/&#8221](http://mywebsite.com/product-category/diaries/&#8221);“
   Mozilla/5.0 (Windows NT 6.1; WOW64; rv:47.0) Gecko/20100101 Firefox/47.0” “5.172.198.36”“
   mywebsite.com” [29/Jul/16:10:27:24 +0300] – 5.172.198.36 “GET /shop/diaries/diary-
   w-lock-100sh/” “[http://mywebsite.com/product-category/diaries/&#8221](http://mywebsite.com/product-category/diaries/&#8221);“
   Mozilla/5.0 (Windows NT 6.1; WOW64; rv:47.0) Gecko/20100101 Firefox/47.0” “5.172.198.36”“
   mywebsite.com” [29/Jul/16:10:27:27 +0300] – 5.172.198.36 “POST /shop/diaries/
   diary-w-lock-100sh/” “[http://mywebsite.com/shop/diaries/diary-w-lock-100sh/&#8221](http://mywebsite.com/shop/diaries/diary-w-lock-100sh/&#8221);“
   Mozilla/5.0 (Windows NT 6.1; WOW64; rv:47.0) Gecko/20100101 Firefox/47.0” “5.172.198.36”“
   mywebsite.com” [29/Jul/16:10:28:18 +0300] – 193.92.97.36 “GET /wp-cron.php?doing_wp_cron
   =1469777297.6696751117706298828125” “-” “WordPress/4.5.3; [http://mywebsite.com&#8221](http://mywebsite.com&#8221);“
   193.92.97.36” “mywebsite.com”
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Cart Widget in Sidebar/Header not updating after add to cart redirection](https://wordpress.org/support/topic/cart-widget-in-sidebarheader-not-updating-after-add-to-cart-redirection/)
 *  Thread Starter [ccggint](https://wordpress.org/support/users/ccggint/)
 * (@ccggint)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/cart-widget-in-sidebarheader-not-updating-after-add-to-cart-redirection/#post-7581740)
 * Hi,
 * My hosting provider informed me that the PHP Version it was the problem. They
   downgraded PHP from 5.6 to 5.3.29 and problem solved.
 * Thanks!
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Fruitful] Cart Widget in Sidebar/Header not updating after add to cart redirection](https://wordpress.org/support/topic/cart-widget-in-sidebarheader-not-updating-after-add-to-cart-redirection-1/)
 *  Thread Starter [ccggint](https://wordpress.org/support/users/ccggint/)
 * (@ccggint)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/cart-widget-in-sidebarheader-not-updating-after-add-to-cart-redirection-1/#post-7581739)
 * Hi,
 * My hosting provider informed me that the PHP Version it was the problem. They
   downgraded PHP from 5.6 to 5.3.29 and problem solved.
 * Thanks!
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[Fruitful] Cart Widget in Sidebar/Header not updating after add to cart redirection](https://wordpress.org/support/topic/cart-widget-in-sidebarheader-not-updating-after-add-to-cart-redirection-1/)
 *  Thread Starter [ccggint](https://wordpress.org/support/users/ccggint/)
 * (@ccggint)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/cart-widget-in-sidebarheader-not-updating-after-add-to-cart-redirection-1/#post-7581533)
 * Hi,
 * Yes I have the latest version. I disable all of them and I’m facing the same 
   issue.
 * But an even more strange thing is that when you add the same or another product
   with “ajax add to cart” button from shop page, cart widget unblocks. So when 
   you try to “add to cart” from product page everything works just fine after page
   redirection.
 * Thanks!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] Cart Widget in Sidebar/Header not updating after add to cart redirection](https://wordpress.org/support/topic/cart-widget-in-sidebarheader-not-updating-after-add-to-cart-redirection/)
 *  Thread Starter [ccggint](https://wordpress.org/support/users/ccggint/)
 * (@ccggint)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/cart-widget-in-sidebarheader-not-updating-after-add-to-cart-redirection/#post-7581521)
 * Hosting in top.host
 * But an even more strange thing is that when you add the same or another product
   with “**ajax** add to cart” button from shop page, cart widget unblocks. So when
   you try to “add to cart” from product page everything works just fine after page
   redirection.
 * Only in the initial stage with empty cart this error occurs.

Viewing 12 replies - 1 through 12 (of 12 total)