iWare Forum
February 06, 2012, 12:41:16 am *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Update to 'index.php'  (Read 440 times)
james
Newbie
*
Posts: 2



View Profile
« on: June 15, 2010, 08:27:37 pm »

I was a user of iware from previous releases and noticed a change to the index file that I do not believe you meant to release.  The title, keywords, and description tags in your install package reads...

Code:
<title>iWare demoversion</title>
<meta name="Keywords" content="">
<meta name="Description" content="">

...when I believe it should read ...

Code:
<title><?php echo $IW->Client_GetPageTitle($_REQUEST['D']); ?></title>
<meta name="Keywords" content="<?php echo $IW->Client_GetPageKeywords($_REQUEST['D']); ?>">
<meta name="Description" content="<?php echo $IW->Client_GetPageDescription($_REQUEST['D']); ?>">

This works great for me.    Grin

~ James
« Last Edit: June 16, 2010, 04:09:34 am by james » Logged
Administrator
Administrator
*****
Posts: 26



View Profile WWW Email
« Reply #1 on: June 16, 2010, 01:14:12 pm »

James,

You're absolutely right.
The index.php file should read what you mentioned.

You can use it differently, but then your settings in each page for keywords and discription are not being used by search engines.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.15 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!