Multiple Questions

Post Reply
happydg
Posts: 412
Joined: Mon Jul 08, 2013 2:22 pm

Multiple Questions

Post by happydg »

Hello,

- In a tag page, is there a variable which output tags and description of the first gallery listed?
I want to ouput them in meta keywords and meta description so all pages have different metas.

- I notice in settings when i put a skim to 60, the skim is in the gallery url. So when google bots check the gallery url directly, it's sometimes redirected to a trade. Is it possible to have a skim at 60 percent with galleries urls at 100% skim ?

- I noticed content_search is for tags and search. Is it possible to have two separate templates for tags and search?

- By default, are tags pages order by ctr?

- How to create htaccess rewrite for tags oder, ie /scj/tube/?tag=...&order=ctr ... ?

Thank you.
admin
Site Admin
Posts: 38004
Joined: Wed Sep 10, 2008 11:43 am

Re: Multiple Questions

Post by admin »

1. do you create thumbs for tags ?
2. set skimming 100% for bots
3. add &force_template=...
4. depends on what you call tag pages ...
5. it's much better to take a look at mod_rewrite documentation
Don't forget to run script update
happydg
Posts: 412
Joined: Mon Jul 08, 2013 2:22 pm

Re: Multiple Questions

Post by happydg »

Resolved 1.2.3

4. I mean for example tag/asian/ Is it ordered by ctr ?

I created a new page with tags thumbs rotation by ctr. Here is the code i put:

<tag_cloud num=1-120 min_gallery_count=3 order=clicks>
<div class="cat">
<a href="/tag/<!--TAG_NAME-->/?<!--THUMB_LINK-->" title="<!--TAG_NAME-->" title="<!--TAG_NAME-->" target="_blank"><img src="<!--THUMB_URL-->" alt="<!--TAG_NAME-->">
<div class="catbottom">
<div class="categcenter"><a href="/tag/<!--TAG_NAME-->/ctr/1/?<!--THUMB_LINK-->" title="Best <!--TAG_NAME--> videos" target="_blank"><!--TAG_NAME--></a></div>
</div>
<div class="total"><a href="/tag/<!--TAG_NAME-->/ctr/1/?<!--THUMB_LINK-->" title="Best <!--TAG_NAME--> videos" target="_blank">Total: <!--TAG_HITS--></a></div>
<div class="recent"><a href="/tag/<!--TAG_NAME-->/date/1/?<!--THUMB_LINK-->" title="Recent <!--TAG_NAME--> videos" target="_blank">Today: <!--TAG_HITS--></a></div>
</div> </a>
</tag_cloud>

6. In the code above do i need to include ?<!--THUMB_LINK--> at the end of each tag links to track tag thumbs ctr?

7. Is there a variable like <!--TAG_HITS--> but for the number of galleries published today ( instead of overall ) for a tag?

5. I searched on google about mod rewrites and read manual. So i did this one for tags.

RewriteCond %{QUERY_STRING} ^(.+)$
RewriteRule ^tag/([^/]+)/$ /scj/cgi/out.php?link=images/%{QUERY_STRING}&url=content&p=100&skip_to_cookie=true&skip_sell=true&tag=$1&order=ctr&force_template=content_tag [L]
RewriteRule ^tag/([^/]+)/$ /scj/tube/index.php?tag=$1&force_template=content_tag [L]
RewriteRule ^tag/([^/]+)/([^/]+)/([^/]+)/$ /scj/cgi/out.php?link=images/%{QUERY_STRING}&url=content&p=100&skip_to_cookie=true&skip_sell=true&tag=$1&order=$2&page=$3&force_template=content_tag [L]
RewriteCond %{QUERY_STRING} ^(.+)$
RewriteRule ^tag/([^/]+)/([^/]+)/([^/]+)/([^/]+)/$ /scj/cgi/out.php?link=images/%{QUERY_STRING}&url=content&p=100&skip_to_cookie=true&skip_sell=true&tag=$1&order=$3&page=$4&force_template=content_tag [L]
RewriteRule ^category/([^/]+)/([^/]+)/([^/]+)/([^/]+)/$ /scj/tube/index.php?tag=$1&order=$3&page=$4&force_template=content_tag [L]

It seems to work for pagination. Are the tag thumbs rotation links good?
admin
Site Admin
Posts: 38004
Joined: Wed Sep 10, 2008 11:43 am

Re: Multiple Questions

Post by admin »

4. basically there's no direct dependency between url and sort order caz you can add order=.. in template

if you count tag's ctr - <tag_cloud num=1-120 min_gallery_count=3 order=clicks>
yes , it should work.


6. yes, if you have rewrites for this kind of urls

7. no

8. yes
Don't forget to run script update
Post Reply