fazlionline Posted May 30, 2009 Report 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
jlhaslip Posted May 30, 2009 Report 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?
newseed Posted May 30, 2009 Report 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).
CrimianVaid Posted August 20, 2009 Report 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.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now