Is there a way to add meta tags in elgg. So when people search on certain words on google.com. They find ur website.
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
Is there anyone, who can help me out?
It's not automated. You can edit or override the views/default/page_elements/header.php file, though...
I recommend extending the metatags view rather than overriding the header view.
// Extend META
extend_view('metatags', 'PlugInName/... ');
<META> and <SCRIPT> both are placed in the same section within the <HEAD> - so this will also work for javascript code.
@Dhurp
Where do i add the code? <in the header>?
@CVA
cwapsss.. spel my name coreklty if yew wana reply lolz ;-)
@Dhrup
LOL :-) *sorry*
@cva
You add the code in your own plugin. Never change the core Elgg files or you will have an upgrade nightmare!
See:
http://docs.elgg.org/wiki/Plugin_development
to start.
Anyone just consider writing an html page with all the metatags in it and just using a robots.txt file to redirect the google bot to it?
Because the googlebot looks @ the part what is in the external page(frontpage).
I need to look in this.
- Previous
- 1
- 2
- 3
- 4
- Next
You must log in to post replies.