Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FavIcon plugin fine-tuning #428

Merged

Conversation

Fraenkiman
Copy link
Collaborator

In some cases, especially with shared hosts, there is already a favicon.ico file in the HTTP root directory. However, a development document at Googledocs describes that there should only be one icon per HTTP host/website.

My observation over several weeks in the Google Searchconsole is that the crawler is irritated if either several favicon.ico files are present in the website (http host) or the crawler is fobbed off with 404.

The effect is that no favicon file is displayed in the search results during indexing.

A temporary redirection http_response_code(307) when the plugin is active seems more elegant -> implemented here. When the plugin is active, the user agent and the crawler also receive a message (?v=2) that the HTTP host is equipped with new favicons.

In addition, some FlatPress icons have been given a final polish. This is particularly noticeable on mobile devices and search engines, but also when creating a FlatPress link in social media.

You can use https://realfavicongenerator.net/favicon_checker for testing.

In some cases, especially with shared hosts, there is already a favicon.ico file in the HTTP root directory.
However, a development document at Googledocs describes that there should only be one icon per HTTP host/website.

My observation over several weeks in the Google Searchconsole is that the crawler is irritated if either several favicon.ico files are present in the website (http host) or the crawler is fobbed off with 404.

The effect is that no favicon file is displayed in the search results during indexing.

A temporary redirection (http_response_code 307) when the plugin is active seems more elegant -> implemented here.
When the plugin is active, the user agent and the crawler also receive a message (?v=2) that the HTTP host is equipped with new favicons.

In addition, some FlatPress icons have been given a final polish. This is particularly noticeable on mobile devices and search engines, but also when creating a FlatPress link in social media.

You can use https://realfavicongenerator.net/favicon_checker for testing.
@Fraenkiman Fraenkiman merged commit 0c8cb65 into flatpressblog:master Jun 20, 2024
@Fraenkiman Fraenkiman deleted the FavIcon-plugin-fine-tuning branch July 9, 2024 11:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant