Harrisonm

How to clear Facebook Share’s Cache

Facebook share is good, simple, lets us share almost everything on web in seconds. But Facebook caches already shared urls/pages for better performance. This causes issues at time when we update the title, picture being shared or the description of the page because Facebook still shows the older version of...Read more …

Get actual URL in Cakephp without replacing plus (+)

In Cake PHP If URL has plus(+) sign, and get url with $this->params. then + will be raplced with space. SO for getting actual URL just change your .htaccess Go to app/webroot/.htaccess replace RewriteRule ^(.*)$ index.php?url=$1 [QSA,L] to RewriteRule ^(.*)$ index.php?url=$1 [QSA,L,B]Read more …