fazlionline Posted May 30, 2009 Report Share Posted May 30, 2009 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 Quote Link to comment Share on other sites More sharing options...
jlhaslip Posted May 30, 2009 Report Share Posted May 30, 2009 place the favicon in the Root Folder, and name the favicon as favicon.ico. You need to look at using a modular site or a CMS, maybe? Quote Link to comment Share on other sites More sharing options...
newseed Posted May 30, 2009 Report Share Posted May 30, 2009 With that many pages, I certainly hoped you used server side includes for your header/footer. If not, the only way I know of is to use the Find and Replace feature of your web editor. (I use Expression Web). Quote Link to comment Share on other sites More sharing options...
CrimianVaid Posted August 20, 2009 Report Share Posted August 20, 2009 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.