Favicon Fix

Favicon not working in exported webflow websites

CentOS-based systems:

1. Connect to the server via SSH
2. Make a backup of the /etc/httpd/conf.d/autoindex.conf file:

# cp /etc/httpd/conf.d/autoindex.conf /etc/httpd/conf.d/autoindex.conf.back

3. Comment the row below in the /etc/httpd/conf.d/autoindex.conf file:

# cat /etc/httpd/conf.d/autoindex.conf | grep "Alias /icons/"

[BEFORE]
Alias /icons/ "/usr/share/httpd/icons/"

[AFTER]
#Alias /icons/ "/usr/share/httpd/icons/"

4. Reload Apache service/or restart server:

# service httpd reload

Debian-based systems:

1. Connect to the server via SSH
2. Make a backup of the /etc/apache2/mods-available/alias.conf file:

# cp /etc/apache2/mods-available/alias.conf /etc/apache2/mods-available/alias.conf.back

3. Comment the row below in the /etc/apache2/mods-available/alias.conf file:

# cat /etc/httpd/conf.d/autoindex.conf | grep "Alias /icons/"

[BEFORE]
<ifmodule alias_module=""></ifmodule>
# Aliases: Add here as many aliases as you need (with no limit). The format is
# Alias fakename realname
#
# Note that if you include a trailing / on fakename then the server will
# require it to be present in the URL.  So "/icons" isn't aliased in this
# example, only "/icons/".  If the fakename is slash-terminated, then the
# realname must also be slash terminated, and if the fakename omits the
# trailing slash, the realname must also omit it.
#
# We include the /icons/ alias for FancyIndexed directory listings.  If
# you do not use FancyIndexing, you may comment this out. # Alias /icons/ "/usr/share/apache2/icons/"

<directory "="" usr="" share="" apache2="" icons"=""></directory>
Options FollowSymlinks
AllowOverride None
Require all granted




# vim: syntax=apache ts=4 sw=4 sts=4 sr noet


[AFTER]
<ifmodule alias_module=""></ifmodule>
# Aliases: Add here as many aliases as you need (with no limit). The format is
# Alias fakename realname
#
# Note that if you include a trailing / on fakename then the server will
# require it to be present in the URL.  So "/icons" isn't aliased in this
# example, only "/icons/".  If the fakename is slash-terminated, then the
# realname must also be slash terminated, and if the fakename omits the
# trailing slash, the realname must also omit it.
#
# We include the /icons/ alias for FancyIndexed directory listings.  If
# you do not use FancyIndexing, you may comment this out.

# Alias /icons/ "/usr/share/apache2/icons/"

#<directory "="" usr="" share="" apache2="" icons"=""></directory>
# Options FollowSymlinks
# AllowOverride None
# Require all granted
#



# vim: syntax=apache ts=4 sw=4 sts=4 sr noet


4. Reload Apache service/or restart server:


# service httpd reload

Interested? Get in touch today...

CONTACT US

Trusted By

We pride ourselves on who we continue to provide digital excellence for.