![]() |
![]() |
![]() |
||||
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. |
|
New Webmasters ask "How-To" questions here. This is where other fucking Webmasters help. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
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:
PHP Code:
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:
Or is better to use this? PHP Code:
If yes, what is the code to show the text that I want? Thanks! |
![]() |
![]() ![]() ![]() ![]() |
![]() |
#2 |
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.
|
![]() |
![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Industry Role:
Join Date: Nov 2005
Posts: 1,251
|
Thank you for your reply mate!
Yes, this is to use in sub-domains :-) |
![]() |
![]() ![]() ![]() ![]() |