I am trying to change the favicon in my wordpress blog. I am still not able to do so. I am using the Magazine Basic theme.
The website I am working on is www.quantgreeks.com. When I type, http://www.quantgreeks.com/favicon.ico, I still get the HostGator symbol.
I have tried this and none working:
http://en.forums.wordpress.com/topic/how-do-i-change-my-favicon-1
http://codex.wordpress.org/Creating_a_Favicon
http://www.wpbeginner.com/wp-tutorials/how-to-add-a-favicon-to-your-wordpress-blog/
Added this two lines to header.php:
<link rel="icon" href="http://www.quantgreeks.com/favicon.ico" type="image/x-icon" />
<link rel="shortcut icon" href="http://www.quantgreeks.com/favicon.ico" type="image/x-icon" />
Not of any use..
Need some guidance...
You are doing the correct steps if you followed any one from those sources.
I checked your site and I believe the favicon is the letter 'J'? See screenshot:
The issue you're having is probably from an old cache in your browser. Try clearing your browser cache and try again.
Related
I am having trouble fully implementing solution to question How do I force a favicon refresh?.
Current header.php is not refreshing the favicon as intended:
<link rel="shortcut icon" type="image/x-icon" href="...favicon.ico?v=2" />
<?php favicons(); ?>
I do not understand the role of the second line. I have found that adding a character to the end of the second line forces the favicon refresh (good!) but also displays a new line of text—whatever * is in below example—at the very top of the website (not good):
<link rel="shortcut icon" type="image/x-icon" href="...favicon.ico?v=2" />
<?php favicons(); ?>*
What is the role of the second line? How should it be formatted to force the favicon refresh without displaying a new line of text at the top of the website?
Thank you for your consideration, please let me know what other context I can provide.
I am working on a Zend Framework 1 application. It is successfully installed on my localhost and is working without any problems. However I've noticed that the css for the back end of the application is not working.
When I view the page source I can see the stylesheet has been loaded and can click on the link to it to view in the browser.
However the style is not applied to any of the elements on the screen and I do not understand why.
This is the layout file for the page: (adminstyle.css is not loading...)
<link href="/css/adminstyle.css" media="all" rel="stylesheet" type="text/css" title="default" />
<link rel="stylesheet" href="/css/smoothness/jquery-ui-1.10.2.custom.min.css">
<link rel="shortcut icon" href="images/favicon_2.ico" />
</head>
does anyone know what might be causing this issue? Apologies for the question if it seems stupid but I'm not really experienced with this sort of thing and I am trying to get to the bottom of it. Any help is much appreciated.
I can provide more details if required, I just do not want to post lots of unescessary snippets of code up.
Here is the right way to write links in zend framework cause with your way it will work just for the index/index , for other view you won't get the style css applied :
<link rel='stylesheet' type='text/css' href="<?php echo $this->baseUrl()."/css/style.css"; ?>" >
the same for your js files
hope it helps.
i have this in the head of the document:
<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" />
I read all I could about it here, but that didn't help and that's why I'm asking again. I'm positive that it wasn't a typo - PHP file_exists finds the ico file fine, but none of the browsers show it... What could be the reason? This domain is new but after I checked the DNS records they are refreshed and are OK. I cleared local cache and deleted tmp files... You can see it live at http://mybestday.eu
Favicons are stored in a special cache. That cache lasts a long time (days to weeks) and can't be cleared by clearing the normal content cache. You could test favicons on a remote computer (like browserstack) or just wait 'till the cache expires.
Or, see the next answers for (ugly) workarounds:
You can clear your favicon by forcing your browser to re-cache it using a cache buster:
<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico?v=2" />
Every time you change the image, change the version (?v=) to an increment (3, 4, ...).
Here is a related discussion on this issue: How do I force a favicon refresh
**So far i can see it works ;)
**
<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" />
Like bjb568 told you, clean the cache.
I am trying to make a website in PHP (I don't really have any experience in this). What I did was use an existing website that somebody created for me and just went about changing things in the .php files.
I had this in header.php:
<base href="http://old-domain.com/"; />
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<link rel="stylesheet" type="text/css" href="css/default.css?v=4" />
<link rel="shortcut icon" href="favicon.ico" />
I just changed the 'old-domain' to 'new-domain'.
Now, my homepage of the 'new-domain' looks fine. But all other pages, like new-domain.com/help or new-domain.com/about give me a 404.
On the other hand, when I change the 'new-domain' back to 'old-domain', it displays my old website properly, so I guess this means that the code is alright.
What am I doing wrong? Do I need to set up new-domain.com/help, etc somewhere else?
Thank you.
Just check whether any other file contains the link www.old-domain.com and change it to www.new-domain.com.
I assume the project structure is the same.
because there is no seperate php file for those pages create seperate file for each like help.php and about.php and then include those in header
i have a favicon.ico in my webroot folder according to this piece of code
<link rel="icon" href="<?php echo $this->webroot;?>favicon.ico" type="image/x-icon" />
<link rel="shortcut icon" href="<?php echo $this->webroot;?>favicon.ico" type="image/x-icon" />
and i use this in my header to make it appear on all the pages.
<?php echo $html->meta('icon', 'favicon.ico'); ?>
The site am working on is -----> this.
What can possibly be wrong ?
It works in 3 pages on IE. On firefox and chrome, it works only for homepage, not others.
Please let me know what i should do.
You ought to just use href="/favicon.ico". If you notice the source of http://www.movend.com/developers/, for example, your reference to favicon.ico resolves to http://www.movend.com/developers/favicon.ico, which is a 404 error page.
If you tried everything above and it still doesn’t work in IE, check your IIS settings if you are using a Windows Server.
Make sure that the HTTP Headers > “Enable content expiration” setting, IS NOT SET to “Expire immediately”