![]() |
Custom Meta Tags. How to enable customized Meta Tags for PhotoPost ? like a proper description and proper keywords ? I would like to see the title of photo first in keywords and descriptions. If you check our site index on google here: http://www.google.co.in/search?num=5...G=Search&meta= Note the indexing descriptions. :confused: |
You can add a headtags file with some extra meta tags |
i want to customize this meta tags. I am able to acheive this in other popular scripts (like vbulletin, cms scripts and portal scripts) I have a meta keyword and meta description setup for all images on our gallery. I would like to acheive following: (for meta elemets of page source) <Meta Keywords = title of photo + keywords in photo + keywords used for photopost gallery) <Meta descritption = title of photo + description in photo + descritption used for photopost gallery) How can i acheive this ? Thanks |
Do you know how to add a meta tag? This is quite simple <meta name="keywords" content="$title,$keywords" /> <meta name="description" content="$description" /> |
Man this is simply wonderful........ thanks omegatron. Dont mind, if i still keep asking further questions :) I am trying them all now.. Thanx for your support. Warm Regards. |
added headtags.htm as well following code into it: <meta name="keywords" content="$title,$keywords" /> <meta name="description" content="$description" /> but its not working, instead i am able to see the above code as it is, in the page source ? |
Well you'll probally need to make your headtags file a php file and do something like this <? if ( THIS_SCRIPT == "showphoto" ) { echo <<<PPPRINT <meta name="keywords" content="$title,$keywords" /> <meta name="description" content="$description" /> PPPRINT; } ?> |
still wont work with above code :( |
Open showphoto and and grab the variables and replace my examples with the proper ones. My posts are guidelines to follow not the hack. Remember this is a how do I forum not write me a hack forum ;) |
Quote:
How about working more on meta content in future release of photopost ? for better search engine visibility ? Yahoo likes more meta content as well google ? for images with same titles etc. (my thery expierence) Quote:
since the photopost developer forum is closed i am left only with this place. :rolleyes: |
bumping back topic |
well its alot more complicated then I am saying initially but we will gladly look at things like this in a future release |
Quote:
thats simply wonderful, i will appreciate if this feature is incorporated on priority in the new version/release of photopost.. I am waiting eagerly for same.. Importance - It is quite important cause text based publishing networks as well many other serps ignore photos without meta content. Regards, |
Yes, I've been frustrated with this too. I've tried changing the code to avail. What is it that is stopping this from functioning? I think the header needs to be recoded to allow these variables to work. Thanks for your attention. |
EXACTLY you hit the nail on the head |
Which file in review post? Quote:
I've got the same problem as SaN-Deep but in reviewpost. I'm going to turn headtags.htm to headtags.php Which file should i open instead of "showphoto" to grab the variables? Thank you |
showproduct.php |
A bit more help please Quote:
This is what i've got: headtags.php CHMOD: 666 Path: /home/username/public_html/reviews/headtags.php fine so far... headtags.php : <? if ( THIS_SCRIPT == "showproduct" ) { echo <<<PPPRINT <meta name="keywords" content="$title,$keywords" /> <meta name="description" content="$description" /> PPPRINT; } ?> On the top left side of index appears : PPPRINT; } ?> and in view source the whole (headtags.php) code above. I could really do with some help on which variables i need to grab. Thank you ver much |
As this thread says it can not be done this way. Try searching in the mod forum as I think Garrynz posted something on this |
Has this type of mod ever been figured out by anyone? I see this thread is a couple of years old. |
| All times are GMT -5. The time now is 04:19 PM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0