I have my OSSN site here: https://social.thevhgroup.ml/ (in directory GlobaLine; using URL forwarding 301, I'm redirecting https://social.thevhgroup.ml/ to https://social.thevhgroup.ml/GlobaLine/). I have searched a lot and read many discussions about favicon here, but, none helped me. Mostly because, most of them had just one link in a reply pointing it to some other favicon thread. Please, don't do it here. By now, I have got to know that I'm just supposed to upload the favicon in the root directory (I have added the favicon file to the root directory of domain, as well as to the root directory of OSSN installation). I have of course tried clearing cache and cookies, etc. The cache of my OSSN website is disabled too. I haven't made any changes to the OSSN code. I do have a lot of components installed, but, the problem persisted even before installing anything. What else am I supposed to do for the favicon to appear?
My OSSN is here: https://social.thevhgroup.ml/
I'm using OSSN on Google Chrome on Windows 10 (latest version of both)
Test account username: testacc
Test account e-mail address: [email protected]
Test account password: testacc
System Info module installed: https://social.thevhgroup.ml/GlobaLine/ossninfo/
Fine. Thanks for the help!
ico file not uploaded you dont need worry about that
if you try https://social.thevhgroup.ml/GlobaLine/icon/fav.ico
show which means no file
You are welcome
Anyways, Malik, one question. Now, before uploading this png file, I have uploaded 2 ico files. So, are they stored anywhere so that I can delete them?
ZMan The permissions are 644 only.
Malik, thanks a lot! Yeah! Changing it to PNG did work. I was first uploading icon only. So, it probably, didn't. Thanks a lot for the component.
So, finally, the issue is fixed.
Okay,
now https://social.thevhgroup.ml/GlobaLine/favicon.ico is in place, but permission are wrong.
Try setting them to 644
try visit it seems you not uploaded fav icon
https://social.thevhgroup.ml/GlobaLine/icon/fav.png
if you uploaded? it not saved the extension should be .png
thanks
At first, the favicon was kept in /GlobaLine/ only. For 2 to 3 days it's like that. It didn't work. So, yeah, I have contacted the hosting on their forum (they do reply within a few hours), so, let's see.
Thanks for the suggestion about Virtual Image. I'll try it out. Thanks for the help too.
Well,
since I can access https://social.thevhgroup.ml/GlobaLine/LICENSE.txt without problems - and I don't assume you have an extra .htaccess rule for that, then https://social.thevhgroup.ml/GlobaLine/favicon.ico should work the same way WITHOUT any rule defined and the icon file in the same directory.
So remove your .ico rule, and make sure the file is in place . If it still doesn't work - your provider may have a special global rule for favicons - so try to get help from your provider's support.
As for "just playing around" with OSSN: A much better solution might be using the virtual machine image then and running it locally
Yes. Actually, I thought of that after posting the previous reply and was getting 404 error. So, I was just editing my .htaccess to redirect /favicon.ico to /GlobaLine/favicon.ico as that image is loading in the browser. Can you just tell me if my .htaccess code is correct:
RewriteEngine on
RewriteRule ^(.*)favicon\.ico /GlobaLine/favicon.ico [L]
Because, I tried visiting, but, still got the 404 error. I suppose, redirecting isn't helping too.
And about the free hosting thing.. yeah, I know. They're applying many limitations. But, you see? I'm just a class 12 boy from almost a lower middle class family in India. Parents are not really interested to support this interest of mine and so, I can't pay anything to anyone yet. Or else, there was no need for me to use a free domain too. So, I can't be using any good paid hosting and also, I'm planning to keep OSSN's use within limits only. I'm not a self promoter too, I mean, I don't go around telling even my friends to sign up and all, it's almost like, I'm alone on my OSSN. Just that, I'm developing it in background, so, in case, my days decide to change, in case I'm ever ready to pay, I should be ready to do so. I don't want to start working on all this after that.
Due to the many requests in the past for additonal features and components we have decided to develope a premium version. Features like Hashtags, Videos, Polls, Events, Stories, Link Preview, etc included in it.
$199 (Life Time)