Vivvo CMS Support Forum Home | Free Trial | Online Demo | Docs and Manuals | Order Now   

Go Back   Vivvo CMS Support Forums > Vivvo 4 > Troubleshooting

Troubleshooting Problems, need help? Have a tip or advice? Post it here.

Reply
Thread Tools Display Modes
Unread 05-04-2012, 05:24 PM   #1
berto
Senior Vivvo User
 
Join Date: Dec 2006
Location: London, UK
Posts: 494
Rep Power: 9
berto is on a distinguished road
Default Adding meta tag depending on article status

Want to add the noindex, follow meta tag to articles I have deleted - moved to trash bin. This in time will reduced the number of 404's as I eventually delete articles all together.

Would this be possible by doing something like:

<vte:if test="{article.status} = -2">
<meta name="robots" content="noindex,follow" />
<vte:else>
<meta name="robots" content="index,follow" />
</vte:else>
</vte:if>
__________________
Vivvo Vs Wordpress

Last edited by berto; 05-04-2012 at 06:34 PM.
berto is offline   Reply With Quote
Unread 05-07-2012, 08:10 AM   #2
Micha
Administrator
 
Micha's Avatar
 
Join Date: Feb 2006
Location: Belgrade
Posts: 2,662
Rep Power: 10
Micha will become famous soon enough
Default

Hm, not sure if this will work, but try with following VTE:

Code:
<vte:if test="{status.-2}">
  <meta name="robots" content="noindex,follow" />
  <vte:else>
    <meta name="robots" content="index,follow" />
  </vte:else>
</vte:if>
__________________
--[Read Forum Rules and Guidelines before you post!!!]--

Djole, Djole, bas si bezobrazan sto si se pravio da si mali zekan. Zato cu te dobro kazniti...
Micha is offline   Reply With Quote
Unread 05-07-2012, 09:02 PM   #3
berto
Senior Vivvo User
 
Join Date: Dec 2006
Location: London, UK
Posts: 494
Rep Power: 9
berto is on a distinguished road
Default

Thanks Micha.

The way I tried (as above) seems to have worked.
__________________
Vivvo Vs Wordpress
berto is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Order now:

Order your copy of Vivvo now and get:
bullet Six months free upgrades
bullet Free support
bullet Full source code
bullet Immediate download
bullet Starting at only $295.00
Order now

Support HelpDesk:

You can submit a trouble ticket in the support area at any time, using your client area email and password.

Vivvo CMS Resource Center:

The Vivvo CMS Resource Center is your window to a variety of resources that showcase Vivvo's features and technologies. So whether you're brand new to Vivvo or a seasoned user, you can find the information you need right here!

Latest Additions:

Contact us:

Email inquiries
sales@vivvo.net
(Sales inquiries)
support@vivvo.net
(Support inquiries)

All times are GMT +1. The time now is 06:11 AM.
Contact Us - Vivvo Home - Archive - Privacy Statement - Top

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.