Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

 

Register GFY Rules Calendar Mark Forums Read
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
New Webmasters ask "How-To" questions here. This is where other fucking Webmasters help.

 
Thread Tools
Old 09-15-2012, 04:26 PM   #1
EN1GMA
Confirmed User
 
EN1GMA's Avatar
 
Industry Role:
Join Date: Nov 2005
Posts: 1,251
Little PHP question

Hello guys,

Maybe you can help me with a little question about PHP...
Im starting to program myself, and Im now making one of my websites multi-language.

Can I use this code inside the <title> tags?
PHP Code:
<title><?php echo $lang['TITLE']; ?></title>
And this in meta tags?
PHP Code:
<meta name="description" content="<?php echo $lang['DES']; ?>" />
<meta name="keywords" content="<?php echo $lang['KEY']; ?>" />
Is thos good, bad or equal for SEO?
I just dont want to screw my website position on search engines... :-)

Sorry for the newbie question..

--------------------------------
EDIT
--------------------------------

Btw, Im adding this code in the top of my php files:
PHP Code:
<?php include("lang/en.php");?>
Im doing this well?
Or is better to use this?
PHP Code:
<html lang="en-US" ... 
Or this is not to use to use multi language?

If yes, what is the code to show the text that I want?

Thanks!
EN1GMA is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 09-15-2012, 04:39 PM   #2
Presnus
Confirmed User
 
Industry Role:
Join Date: May 2011
Posts: 1,087
You can do it this way, but make sure you don't get marked by google as cloaking. Be sure you have a language parameter in your url. Or use subdomains.
Presnus is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
Old 09-15-2012, 05:14 PM   #3
EN1GMA
Confirmed User
 
EN1GMA's Avatar
 
Industry Role:
Join Date: Nov 2005
Posts: 1,251
Thank you for your reply mate!

Yes, this is to use in sub-domains :-)
EN1GMA is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook
 
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks
Thread Tools



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.