Webmaster Forum

Go Back   Webmaster Forum > Web Development > Coding Forum

Coding Forum Problems with your code? Discuss coding issues, including JavaScript, PHP & MySQL, HTML & CSS, Flash & ActionScript, and more.


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-11-2007, 01:38 AM
Member
Latest Blog:
None

 
Join Date: 09-13-06
Posts: 68
iTrader: 0 / 0%
cher is liked by many
Need help to locate codes in index.php

A not so repsonsible web designer left me with a site without title, description
and keywords meta tags , saying I do not need that for SEO. I want to add the website decription and keywords meta tags myself but could not locate them in the index.php file. please help.I a not familiar with .php file. many thanks in advance.

The site is http://www.jrmeds.com
Digg this Post!Add Post to del.icio.us
Reply With Quote
  #2 (permalink)  
Old 11-11-2007, 07:16 AM
Contributing Member
Latest Blog:
None

 
Join Date: 06-11-07
Posts: 238
iTrader: 0 / 0%
Capo64 is a jewel in the roughCapo64 is a jewel in the roughCapo64 is a jewel in the roughCapo64 is a jewel in the roughCapo64 is a jewel in the roughCapo64 is a jewel in the rough
go in to your code, press ctrl+f and type in <meta

and you will have your meta tags right there.

i can see that you have meta tags when i view your source.

.php files use the same HTML as .html files so the only foreign code to you should be the code that's in the <? and ?>'s
Digg this Post!Add Post to del.icio.us
Reply With Quote
  #3 (permalink)  
Old 11-11-2007, 05:30 PM
Member
Latest Blog:
None

 
Join Date: 09-13-06
Posts: 68
iTrader: 0 / 0%
cher is liked by many
cannot locate meta tags

Hello - meta tags have the words "coming soon" but do not see this
meta tags in index.php
Digg this Post!Add Post to del.icio.us
Reply With Quote
  #4 (permalink)  
Old 11-11-2007, 07:04 PM
Contributing Member
Latest Blog:
None

 
Join Date: 06-11-07
Posts: 238
iTrader: 0 / 0%
Capo64 is a jewel in the roughCapo64 is a jewel in the roughCapo64 is a jewel in the roughCapo64 is a jewel in the roughCapo64 is a jewel in the roughCapo64 is a jewel in the rough
Did you do ctrl+f and search <meta ?

If you tried and they weren't there then that's not the same file that's up there.

Unless if there's an include file, check the php code for the code

include("filename");

if that's there anywhere check those files for the meta tags too
Digg this Post!Add Post to del.icio.us
Reply With Quote
  #5 (permalink)  
Old 11-13-2007, 06:55 AM
Member
Latest Blog:
None

 
Join Date: 09-13-06
Posts: 68
iTrader: 0 / 0%
cher is liked by many
cannot change title

Hello - Thanks for your kindness and help.I manage to change keywords
and description. But unable to change title.

The title codes is : <TITLE><?=$pageTitle ?></TITLE>

I look for pagetitle and found something below :

$pageTitle = $SITE_OBJ['sitename'];

$pageTitle = htmlentities($pageTitle);

many thanks.
Digg this Post!Add Post to del.icio.us
Reply With Quote
  #6 (permalink)  
Old 11-13-2007, 02:16 PM
Contributing Member
Latest Blog:
None

 
Join Date: 06-11-07
Posts: 238
iTrader: 0 / 0%
Capo64 is a jewel in the roughCapo64 is a jewel in the roughCapo64 is a jewel in the roughCapo64 is a jewel in the roughCapo64 is a jewel in the roughCapo64 is a jewel in the rough
The easiest way would be just to delete <?=$pageTitle ?> and replace it with whatever you want the title to be.

Although it looks like the person who ran the site before had the title stored in $SITE_OBJ['sitename'];

so you can search through and try to find where that value is set, once again, check include files etc. that's only if you want though. You can easily just do what i said before.

Last edited by Capo64; 11-13-2007 at 02:45 PM.
Digg this Post!Add Post to del.icio.us
Reply With Quote
  #7 (permalink)  
Old 11-14-2007, 07:35 PM
Member
Latest Blog:
None

 
Join Date: 09-13-06
Posts: 68
iTrader: 0 / 0%
cher is liked by many
cannot open site manager

Hello - many thanks for helping me.I have done it already . But today I cannot
open my site manager browser and cannot login in to read my emails after sucessful login to my website cpanel. my computer detected a virus earlier while I was surfing the net and told me a torjan-something- btye- something was detected and the file was removed.what should I do ?
Digg this Post!Add Post to del.icio.us
Reply With Quote
  #8 (permalink)  
Old 11-15-2007, 09:18 AM
Costin Trifan's Avatar
Coding Tiger
 
Join Date: 04-13-07
Location: Romania
Posts: 3,308
iTrader: 0 / 0%
Costin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest order
Send a message via Yahoo to Costin Trifan
^^ reboot and run a full HDD virus scan?
btw, which AV program are you using?
__________________

my private spice

...to be continued
Digg this Post!Add Post to del.icio.us
Reply With Quote
  #9 (permalink)  
Old 11-17-2007, 05:08 AM
Member
Latest Blog:
None

 
Join Date: 09-13-06
Posts: 68
iTrader: 0 / 0%
cher is liked by many
Hello - I am using norton antivirus. suppose there are no virus on my
computer and the same problem continued, could it cause by other softwares running on my computer. I downloaded some new softwares from the net recently.
Digg this Post!Add Post to del.icio.us
Reply With Quote
  #10 (permalink)  
Old 11-17-2007, 03:25 PM
Costin Trifan's Avatar
Coding Tiger
 
Join Date: 04-13-07
Location: Romania
Posts: 3,308
iTrader: 0 / 0%
Costin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest orderCostin Trifan is a web professional of the highest order
Send a message via Yahoo to Costin Trifan
INHO, norton is not a professional AV. I recommend you either Kaspersky or BitDefender.

For example:
I had norton installed on my mother's computer and it couldn't detect a trojan that was there but my Kaspersky, installed on my computer did. how about that?
__________________

my private spice

...to be continued
Digg this Post!Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Coding Forum

Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Font - Cant Locate bestpokerdeals Graphic Design Forum 2 08-22-2007 12:29 PM
How to redirect index.html to index.php and keep the same positions? sniperhiga SEO Forum 7 04-23-2007 06:51 AM
How to locate Orphaned Pages? DelMarSurf SEO Forum 9 06-24-2006 11:55 AM
google index times and inital index? jasonstrempke Google Forum 10 04-24-2006 10:19 AM
Perl can't locate image::magick jake2003 Web Design Lobby 10 01-04-2004 01:26 PM


Sponsor Links
Get exposure! Contextual Links V7N SEO Blog V7N Directory


All times are GMT -7. The time now is 07:13 PM.
© Copyright 2010 V7 Inc
Powered by vBulletin
Copyright © 2000-2010 Jelsoft Enterprises Limited.


Search Engine Optimization by vBSEO 3.3.0 ©2009, Crawlability, Inc.