Jump to content



Recommended Posts

I made a favicon, and placed it on my site, it works perfectly.


As I have many pages, on three different languages, and many sections in each languages. So the data stored in my host is arranged as per different languages, then each related topics are in deferent folders.


If I create a favicon, as I did, then is there any way that all pages should have same favicon, with the help of any code.


It is difficult manually to open each page, go to code, and place that favicon code in



As I have more than 3000 php pages, all in 368 different folders.

Any suggestion

Link to comment
Share on other sites

  • 2 months later...

as an example in your header that hopefully is templated in the php:

if your favicon is in a folder off root 'templates/images/'

set the src = './templates/images/fav...'


place that concept in your header file (header.html) for example.

There is absolutely no reason you should be tweaking 3000 php pages to do this.

That would rather defeat the purpose of php.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...