Register Advertise with usHelp Desk Today's Posts Search

Closed Thread
Thread Tools Search this Thread
Unread 12th Oct 2012, 04:14 PM   #1
HyperActive Warrior
 
wally247's Avatar
 
Join Date: 2011
Posts: 381
Thanks: 106
Thanked 95 Times in 76 Posts
Default
Adding title tags to PHP site?
Share on: 
fb share twitter share gplus share more share

Yo,

OK. I'm working a site that is not, and never will be Wordpress for a guy. It's hosted on (when I put the name of the hosting company here, it was replaced with "NO NO NO NO NO" but the company starts with GO and ends with DADDY. (not going to change that either, it's a very short-term engagement).


So anyway, this guy wants to brand himself so on this site, I just want to be able to add some <title>TITLE</title> tags and some things like that...I'm not looking to go SEO crazy on the site.

The problem is that I have zero concept of PHP other than knowing if I screw it up, I don't know how to fix it. WITH THAT SAID I also know enough not to put random code just anywhere


With all of that nonsense out of the way, does anybody know how I can do this?

Here's how I get to the files. I am logging into NO-NO-NO-NO-NO-NO-NO-.com, and using the FTP manager to see the files, named main.php and so on.


I can edit the text files pretty easily it looks like, so that's where I'm guessing I need to add the tags.


Can anyone help me, or do you need more info?


thanks
wally247 is offline  
Unread 12th Oct 2012, 04:31 PM   #2
Niche Websites Buildiers
War Room Member
 
topnichewebsites's Avatar
 
Join Date: 2012
Location: Annapolis, Maryland - USA
Posts: 857
Thanks: 62
Thanked 171 Times in 169 Posts
Default
Re: Adding title tags to PHP site?
Share on: 
fb share twitter share gplus share more share

If its not wordpress .. just html or php/html

after your <head> tag

add this .....

<title>YOUR TITLE HERE</title>
<metaname="description"content="YOUR DESCRIPTION">
<metaname="keywords"content="YOUR KEYWORDS">


before this .....
</head>

Normally if its a modular site then look for a file called head.php or header.php Hard to tell without looking at it, but its pretty simple.

Hit me up on Skype if you are still confused or require more help

Skype: topnichewebsites


http://pixelcovers.com/ <- eBook add eCovers

https://www.unicommercesolutions.com <- WordPress Websites and Maintenance
topnichewebsites is offline  
The Following User Says Thank You to topnichewebsites For This Useful Post:
Unread 12th Oct 2012, 04:33 PM   #3
HyperActive Warrior
 
wally247's Avatar
 
Join Date: 2011
Posts: 381
Thanks: 106
Thanked 95 Times in 76 Posts
Default
Re: Adding title tags to PHP site?
Share on: 
fb share twitter share gplus share more share

Originally Posted by topnichewebsites View Post

If its not wordpress .. just html or php/html

after your <head> tag

add this .....

<title>YOUR TITLE HERE</title>
<metaname="description"content="YOUR DESCRIPTION">
<metaname="keywords"content="YOUR KEYWORDS">


before this .....
</head>

Normally if its a modular site then look for a file called head.php or header.php Hard to tell without looking at it, but its pretty simple.

Hit me up on Skype if you are still confused or require more help

Skype: topnichewebsites

THANK YOU SO MUCH!

I may hit you up, thanks a bunch for the offer! I'll try to get it myself first though.
wally247 is offline  
Unread 12th Oct 2012, 11:38 PM   #4
HyperActive Warrior
 
Join Date: 2012
Posts: 153
Thanks: 1
Thanked 7 Times in 7 Posts
Default
Re: Adding title tags to PHP site?
Share on: 
fb share twitter share gplus share more share

You could have easily found that if you would have search this on google " How to Add title to a website"

Anyways Wally247 Answered your question very nicely ! *Claps*
boilingstocks is offline  
Unread 12th Oct 2012, 11:53 PM   #5
HyperActive Warrior
 
wally247's Avatar
 
Join Date: 2011
Posts: 381
Thanks: 106
Thanked 95 Times in 76 Posts
Default
Re: Adding title tags to PHP site?
Share on: 
fb share twitter share gplus share more share

Originally Posted by boilingstocks View Post

You could have easily found that if you would have search this on google " How to Add title to a website"

Anyways Wally247 Answered your question very nicely ! *Claps*
Yea, actually not. Unlike 99.9% of people here, I search for things before I ask.


I even searched site:warriorforum and only found 1 thread, which was half-assed.


The <tags>TAGS</tags> are not the problem, they are not hard. What IS hard if you don't know PHP is WHERE to put them.


If you've ever screwed up some PHP by having one tiny piece of wrong/missing code you know that a whole website can be totally screwed in a click.
wally247 is offline  
Unread 13th Oct 2012, 03:33 AM   #6
Warrior Member
 
Join Date: 2012
Location: India
Posts: 22
Thanks: 0
Thanked 1 Time in 1 Post
Default
Re: Adding title tags to PHP site?
Share on: 
fb share twitter share gplus share more share

Originally Posted by wally247 View Post

Yea, actually not. Unlike 99.9% of people here, I search for things before I ask.


I even searched site:warriorforum and only found 1 thread, which was half-assed.


The <tags>TAGS</tags> are not the problem, they are not hard. What IS hard if you don't know PHP is WHERE to put them.


If you've ever screwed up some PHP by having one tiny piece of wrong/missing code you know that a whole website can be totally screwed in a click.
Yes, there is no problem with tag. You have to put title tag in <head>
section of your home page or any other page. Title tags are always put inside head tag. like..

<head>
<title>PHP web development</title>
</head>
After this tag your main <body> tag will start.

I think this will surely help you...
phpindia is offline  
The Following User Says Thank You to phpindia For This Useful Post:
Unread 14th Oct 2012, 11:37 PM   #7
Senior Warrior Member
War Room Member
 
Join Date: 2012
Posts: 3,258
Thanks: 47
Thanked 328 Times in 299 Posts
Default
Re: Adding title tags to PHP site?
Share on: 
fb share twitter share gplus share more share

Originally Posted by phpindia View Post

Yes, there is no problem with tag. You have to put title tag in <head>
section of your home page or any other page. Title tags are always put inside head tag. like..

<head>
<title>PHP web development</title>
</head>
After this tag your main <body> tag will start.

I think this will surely help you...
Yes, you are right i did the same things before try this dear....

Moneymaker2012 is offline  
Closed Thread


Bookmarks

Tags
adding, php, site, tags, title


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 Off
Pingbacks are Off
Refbacks are Off




All times are GMT -6. The time now is 11:47 PM.