Free Adult Tube-Video Script Forum

Full Version: Hardlinks Seo
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi!
I would like to know how can i add links only to my home page(index), not sitewide.
Is it possible?
do you mean menu links?
if so, im not sure if it will work, but some php stuff like PPHP_SELF (i think)
may work, it would just take some trial and error...
later tonight i will see if i can get it working, and bring back my results...
I mean some of my trade partner ask me to put their links only to my homepage not all of my pages.
And as i see there is only index.php in this script and everything will be visible on all pages...
ahh ok, i know what you mean now...
umm where about are you preferring to put these links?
sidebar? footer? etc...

then i can work with the exact area you wish to show these links...
In the footer if possible but sidebar fine as well...Thanks!
php_self seems to be always returning index.php...
even on other pages...

i will continue looking for an answer to this, because i am sure it is possible...
'PATH_INFO'
Contains any client-provided pathname information trailing the actual script filename but preceding the query string, if available. For instance, if the current script was accessed via the URL http://www.example.com/php/path_info.php...f?foo=bar, then $_SERVER['PATH_INFO'] would contain /some/stuff.

http://php.net/manual/en/reserved.variables.server.php
you can place this code, in your templates index.php fle...
just above or below where you see
Code:
<? footer(); ?>
or something like that...

i had to include an "else" for some reason, i dont know why...

Code:
<?php
$page = $_SERVER['QUERY_STRING'];
  if (empty($page)) {
?>

HTML CODE HERE

<?php
  } else {
}
?>
php codes are also work in free html areas
Reference URL's