Drupal 5 using latest version of all modules on Apache with clean URL's
The global meta information is showing up for me, but not the specifics. I set a description and some extra keywords on one of my views (taxonomy/$arg), but they do not show up. Only the global keywords show up. Any idea what might be causing this or how to fix it?
I'm using a custom template but there is a print($head) statement.
Comments
Comment #1
urwas commentedSame problem for me... trying to use Robots-Tags for views, but they dont show up
Comment #2
al.ex commentedme too..
Comment #3
s560095 commentedI have exactly the same problem. Does anybody have a solution to this? PLEASE...
Comment #4
davidburnsI'm having the same issue as well.
Comment #5
lamojo commentedi don't want google to index my views, but only the underlaying full nodes...
unfortunately i'm also experiencing above problem...
for now i solved my problem with a sloppy hack, replacing the "index,follow" in the $head parameter before printing it.
in page.tpl.php i changed
for
to have google not index the view page www.examplesite.com/view/some-list where view/some-list is the views URL
Comment #6
yelvington commentedBingo. Same issue here. Same need. Thanks.
On a subsite, we need a homepage view that points to a load of individual pages. Do not want the homepage of that subsite to be indexed, but do want the links to be followed. Settings in meta tags configuration are not obeyed by the views component.
Comment #7
yelvington commented(Changing this from "support request" to "bug report."
I can see in the code where the default settings are applied if no override is retrieved, but I don't (yet?) see where/how settings specific to views are stored/retrieved, so I can't offer a patch.
WORKAROUND: Update your view to create a block. Make a blank page. Assign your block to the $content region. Edit the page's meta tags to NOINDEX, FOLLOW. Redefine that page as your homepage.
Comment #8
summit commentedHi,
I have a similar question. I would like to NOT show my metatags on certain pages with have arg(0) = 'over'. I will fill the meta tags from the view.
How can I solve this with Preg_replace?
The following code I want to remove.
I tried
but it is not working. Can somebody please help?
thanks a lot in advance!
greetings,
Martijn
Comment #9
al.ex commentedMy problem was similar to sgware's, the specific meta tags didn't show up in views, but actually only on the frontpage, which is a view in my case.
Look at this code snippet:
This helper functions assumes that the frontpage has to be a 'page' type, ignoring any alternatives like views. It sets the wrong type for the DB query and thus no meta tags for the view can be retrieved.
By commenting out this if clause, everything is working perfectly again for me. Maybe this can help others too..
-Alex
Comment #10
Robrecht Jacques commentedIs the view problem still present in 5.x-1.9? I can't reproduce.
al.ex (#9): there is an option "Use front page meta tags" in 5.x-1.9 that overrides this.
Summit (#8): you may want to try http://drupal.org/project/nodewords_bypath.
Setting as duplicate of #202486: Meta Tags not saved for Views.
Comment #11
akosiana commentedissue resolution: go to module, configure nodewords, set output html displays. thanks