- Posts: 2
COMMUNITY FORUM
Deactivate calendar
- Rune Andersen
- Topic Author
- Offline
- New Member
Less
More
12 years 3 months ago #67491
by Rune Andersen
Deactivate calendar was created by Rune Andersen
I have some problems with K2. Google is indexing a calendar and the urls is like this:
www.breinholtandersen.dk/index.php?option=com_k2&view=itemlist&task=calendar&month=5&year=1666&Itemid=0
Is there any way I can deactivate this function?
www.breinholtandersen.dk/index.php?option=com_k2&view=itemlist&task=calendar&month=5&year=1666&Itemid=0
Is there any way I can deactivate this function?
Please Log in or Create an account to join the conversation.
- schlogo
- Offline
- Junior Member
Less
More
- Posts: 21
12 years 3 months ago #67492
by schlogo
Replied by schlogo on topic Re: Deactivate calendar
Hello
Same issue here, i d like to stop this too , if one has the answer, please help !
tks
Same issue here, i d like to stop this too , if one has the answer, please help !
tks
Please Log in or Create an account to join the conversation.
- Lefteris
- Offline
- Moderator
Less
More
- Posts: 8743
12 years 3 months ago #67493
by Lefteris
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Lefteris on topic Re: Deactivate calendar
Hi. Why do you want to hide those links from search engines? They are links to your content. Anyway if you still want to do this, you need to hack K2 core files. Adding a rel="nofollow" to the links generated in /modules/mod_k2_tools/includes/calendarClass.php will do the trick. Have in mind that this is a core file in K2 and you will need to reaply the changes everytime K2 gets updated.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Rune Andersen
- Topic Author
- Offline
- New Member
Less
More
- Posts: 2
12 years 3 months ago #67494
by Rune Andersen
Replied by Rune Andersen on topic Re: Deactivate calendar
How can i hide those links from Google? There is so many links as you can see here: www.google.dk/#q=site:breinholtandersen.dk&hl=da&prmd=imvns&ei=cKPqT_zmGsHVsgbu2ISkBg&start=10&sa=N&bav=on.2,or.r_gc.r_pw.r_cp.r_qf.,cf.osb&fp=be934df185a9cec3&biw=1284&bih=984
The year of the calendar is 1934, 2172, 2061 and so on?
I will try add the nofollow to the php-file - thanks! :)
The year of the calendar is 1934, 2172, 2061 and so on?
I will try add the nofollow to the php-file - thanks! :)
Please Log in or Create an account to join the conversation.