Few Questions regarding SCJ
Posted: Sun Mar 26, 2017 7:22 pm
Hi,
Below are a few questions, would appreciate if you could help me out.
1.) If I have a category name (group) for example Teens but in the category url slugs I don't want it to display:
xyz.com/category/Teens/
Instead I want it display
xyz.com/category/teens/
How to achieve this and also on site when I am displaying category name in text it should show "Teens". Basically slugs without the big letter T and small t instead.
2.) In searches on site if someone is searching for 2 or 3 words, for example "hot wife", in URL it displays correct:
xyz.com/?search=hot+wife
but when outputting the most popular or recent searches on site using :
<thumb search_log=all num=1-10 order=hits>
<a href="/<!--SEARCH_QUERY-->/" title="<!--SEARCH_QUERY-->"><!--SEARCH_QUERY--></a>
</thumb>
It shows as "hot wife", instead it should show "hot+wife". How do I fix this so that it adds the + between the words while showing the result on the site?
3.)How to export Rotation groups (and all data in the groups) from v1.51 to copy into site on v 2.1
4.) Is it possible to upgrade v1.5 to v 2.1? What command to upgrade?
5.) When I import data from embed tubes the Title gets imported into ALT(title) but DESCRIPTION field is empty, is there a way to make the DESCRIPTION same as ALT(title) after the data is imported?
6.) Am using V2.1 Build 201702151114 and have these rewrites for categories:
RewriteRule ^group/([^/]+)/latest/$ /manage/tube/index.php?group_name=$1&order=date&%{QUERY_STRING} [L]
RewriteRule ^group/([^/]+)/latest/([0-9]+)/$ /manage/tube/index.php?group_name=$1&page=$2&order=date&%{QUERY_STRING} [L]
RewriteRule ^group/([^/]+)/popular/$ /manage/tube/index.php?group_name=$1&order=ctr&%{QUERY_STRING} [L]
RewriteRule ^group/([^/]+)/popular/([0-9]+)/$ /manage/tube/index.php?group_name=$1&page=$2&order=ctr&%{QUERY_STRING} [L]
RewriteRule ^group/([^/]+)/longest/$ /manage/tube/index.php?group_name=$1&order=duration&%{QUERY_STRING} [L]
RewriteRule ^group/([^/]+)/longest/([0-9]+)/$ /manage/tube/index.php?group_name=$1&page=$2&order=duration&%{QUERY_STRING} [L]
The rewrites work but the category pages do not sort by duration,date and ctr.Anything I am missing here.
Please let me know and thanks for the help.
Regards,
Below are a few questions, would appreciate if you could help me out.
1.) If I have a category name (group) for example Teens but in the category url slugs I don't want it to display:
xyz.com/category/Teens/
Instead I want it display
xyz.com/category/teens/
How to achieve this and also on site when I am displaying category name in text it should show "Teens". Basically slugs without the big letter T and small t instead.
2.) In searches on site if someone is searching for 2 or 3 words, for example "hot wife", in URL it displays correct:
xyz.com/?search=hot+wife
but when outputting the most popular or recent searches on site using :
<thumb search_log=all num=1-10 order=hits>
<a href="/<!--SEARCH_QUERY-->/" title="<!--SEARCH_QUERY-->"><!--SEARCH_QUERY--></a>
</thumb>
It shows as "hot wife", instead it should show "hot+wife". How do I fix this so that it adds the + between the words while showing the result on the site?
3.)How to export Rotation groups (and all data in the groups) from v1.51 to copy into site on v 2.1
4.) Is it possible to upgrade v1.5 to v 2.1? What command to upgrade?
5.) When I import data from embed tubes the Title gets imported into ALT(title) but DESCRIPTION field is empty, is there a way to make the DESCRIPTION same as ALT(title) after the data is imported?
6.) Am using V2.1 Build 201702151114 and have these rewrites for categories:
RewriteRule ^group/([^/]+)/latest/$ /manage/tube/index.php?group_name=$1&order=date&%{QUERY_STRING} [L]
RewriteRule ^group/([^/]+)/latest/([0-9]+)/$ /manage/tube/index.php?group_name=$1&page=$2&order=date&%{QUERY_STRING} [L]
RewriteRule ^group/([^/]+)/popular/$ /manage/tube/index.php?group_name=$1&order=ctr&%{QUERY_STRING} [L]
RewriteRule ^group/([^/]+)/popular/([0-9]+)/$ /manage/tube/index.php?group_name=$1&page=$2&order=ctr&%{QUERY_STRING} [L]
RewriteRule ^group/([^/]+)/longest/$ /manage/tube/index.php?group_name=$1&order=duration&%{QUERY_STRING} [L]
RewriteRule ^group/([^/]+)/longest/([0-9]+)/$ /manage/tube/index.php?group_name=$1&page=$2&order=duration&%{QUERY_STRING} [L]
The rewrites work but the category pages do not sort by duration,date and ctr.Anything I am missing here.
Please let me know and thanks for the help.
Regards,