|
|
||||||
|
||||||
| Index Link To US Private Messages Archive FAQ RSS | ||||||
| Web Programming Discussion Forum Working with an API? Developing a plugin? Writing a Mod or script for your favorite blog, Web 2.0 site or Forum? Welcome. |
Share Thread: & Tags
|
||||
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
PHP Code:
Should the code look more like this? PHP Code:
|
|
|||
|
Hi,
GWT should not do that, but if its happening then you need to tell how your are generating the variable $cwIns? Also open these pages in different browser windows and view the source and see if all the pages have different meta description or not. Cheers, |
|
|||
|
Herein must lay the crux. Good catch!
The pages are generating as per schedule in all current version browsers, XP, including Safari. The user agents should be seeing the same generated page, shouldn't they? An index page is the trap for this url, and from a lookup table supplies related data to the page. The variable value is contained in the query string and is not altered during initial processing. Since the pages are all happening per spec, there is no obvious slip up in the code that is making itself evident at this point. Whats more, the pages are being indexed so the user agents must be seeing them. The descriptions and keywords HAVE to be different. I can't get them to be the same by any trick or fancy. And since the actual pages are making it into the index, I know it's not the fall back page being repeated for each URL. Last edited by weegillis; 12-23-2008 at 01:59 AM. |
|
|||
|
Hi,
I think you will have to do some manipulation at the stage where the variable is being created. The manipulation will be to generate different values for the descriptions. If you can share with me the code generating this variable and give some input on how you want the description to be generated then i might comment on how this can be done. Cheers, ~Maneet |
|
|||
|
The landing page is index.php. index.csv consists of n rows, 1 per instructor. The first three columns are index number, instructor id and their name, following are groups of 4 columns, one group for each course taught. %1 is course id, %2 is course name, %3 is course objective index number (1..4), %4 is a status flag (0 || 1).
Each URL is double-keyed. Either an index number match, or an instructor id match will return true and route through index2.php. All others return false and fall back to index1.php, the default index page. The main array, built as the validation lookup table remains global, while the unique variables that have been parsed out of the table are passed to index2.php, including $cwIns, all of which are declared global. /instructors/ PHP Code:
Last edited by weegillis; 12-23-2008 at 01:41 PM. |
|
|||
|
I just came from GWT where the site is given all green lights. It seems I may have answered my own question in the OP. The latter is the method employed as an experimental solution, and it seems to have worked.
It's a mystery why the UAs couldn't see what the browser was seeing in the former version. Looks like I'll be using the string method from now on. Thank you, Maneetpuri, for the highly objective input. I'd love to take in any critical input you may have on the above code. Even while it may work, it is still the output of a PHP dabbler. I'm ripe for learning. |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Duplicate Keywords Meta Tags | staker2 | Search Engine Optimization Forum | 8 | 06-20-2008 01:58 AM |
| Meta keywords, descriptions and search engines | allthingsyou | Search Engine Optimization Forum | 27 | 11-03-2007 07:35 PM |
| Google not updating meta descriptions | MarkHodson | Google Discussion Forum | 10 | 06-13-2007 04:29 AM |
| meta tags & descriptions hijacked | somjai | Internet Security Discussion Forum | 4 | 01-28-2005 05:33 AM |
| meta descriptions | jackson992 | Web Programming Discussion Forum | 3 | 01-18-2004 09:47 PM |
|
WebProWorld |
Advertise |
Contact Us |
About |
Forum Rules |
MVP's |
Archive |
Newsletter Archive |
Top |
WebProNews
WebProWorld is an iEntry, Inc. ® site - © 2009 All Rights Reserved Privacy Policy and Legal iEntry, Inc. 2549 Richmond Rd. Lexington KY, 40509 |