[Log In ] [New Posts] []
Go Back   GotApex? Forums Forums > General Topics > Technical Support
User Name
Password

Reply
 
Thread Tools Search this Thread Display Modes
Old 07-17-2003, 10:33 PM   #1
ray
captain awesome
 
ray's Avatar
 
Join Date: Jan 2003
Posts: 7,054
meta tags in index.php

Can I add normal html meta tags in my index.php file for my website? I want to have spiders grab the right keywords etc, but i don't want to corrupt the .php file in case it can't handle it.
ray is offline   Reply With Quote
Old 07-17-2003, 10:40 PM   #2
hapoo
Fleet Admiral
 
hapoo's Avatar
 
Join Date: Jan 2000
Location: 742 Evergreen Terrace, Springfield USA
Posts: 9,276
sure you can.
Either you can have the php script print the meta info like so:
Code:
<?php echo "meta info goes here"; print "or here"; php code ?>
Another option would be exiting script mode.

Code:
meta info <?php my php code ?>

<technical jargon>
now, i don't know what your php script does so you might have to make sure you put the meta info in the correct position. Putting it in the wrong place could mess with the output file header. </technical jargon>
hapoo is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -7. The time now is 03:46 AM.