| |||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | #1 (permalink) |
| NamePros Member | Hey guys. If you go to http://talkwebhosting.net you will see that the page is titled "Index". That is because the overall header is optimized for search engines. Well I was wondering if someone could tell me how to make it to where it displays something different only for the index.php file. I was thinking something like an "if" and "else" statement would work. Like: If page="index.php" then: <title>TalkWebDesign.net</title> else: <title>{pagetitle}</title> I just don't actually know how to write the code for it or know if it can be done at all. Any help with this will be greatly appreciated.
__________________ www.usdishnetwork.com - Dish Network Satellite TV |
| |
| | #2 (permalink) |
| NamePros Member | Nevermind guys... I found a different way that makes a whole lot more sense. I just changed it in the language file and It worked fine.
__________________ www.usdishnetwork.com - Dish Network Satellite TV |
| |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |