Is there a safe way to replace the Sugar icon that appears on the tab in the browser for something custom?
If On-Site, you could accomplish this without running Quick Repair using an Apache mod_rewrite rule for sugar_icon.ico.
<IfModule mod_rewrite.c> Options +FollowSymLinks RewriteEngine On RewriteRule sugar_icon.ico https://xkcd.com/s/919f27.ico [L]</IfModule>
Hi Kristjan Mathiesen
You need to place a custom icon at custom/themes/default/images/sugar_icon.ico
You need to run Quick Repair and Rebuild after saving the file.
Hi André Lopes Thanks for your answer. I must be missing something cuz I´ve done what you said but the icon is still the same old Sugar one. Replace the icon and QR&R - is that all is needed?
Hi Matt Marum
Bit slow here...
1) Where is this code inserted - which file?
2) I assume the [L] is not part of the code - right?
3) And obviously replace the URL with my own.
You should be able to add the above to your .htaccess file at the root Sugar directory.
The [L] at the end is significant. It has a special meaning to Apache.
RewriteRule Flags - Apache HTTP Server Version 2.4
Retrieving data ...