[opencms-dev] Keywords in meta tags...

Stephan Hartmann beffe at beffe.de
Thu Nov 6 23:13:02 CET 2003


A request to a link to a internal page is not sent as redirect. It's more a
kind of forward. The property tag takes the property of the requested file
which is in fact the link file itself and not the link target file. A
workaroud would be to specify the complete URL of the target:
http://servername/cms/app/...

Bye,
Stephan

----- Original Message -----
From: "Dylan Milks" <DMilks at greenridge.ca>
To: <opencms-dev at opencms.org>
Sent: Thursday, November 06, 2003 9:24 PM
Subject: RE: [opencms-dev] Keywords in meta tags...


> I created a new file which is of type "Link" which redirects to another
page. When I view that link in my browser, it forwards to the right page but
the keywords don't get displayed in the meta tag.
>
> Dylan
>
> -----Original Message-----
> From: Stephan Hartmann [mailto:beffe at beffe.de]
> Sent: Thursday, November 06, 2003 2:19 PM
> To: opencms-dev at opencms.org
> Subject: Re: [opencms-dev] Keywords in meta tags...
>
>
> How do you make that redirect?
>
> ----- Original Message -----
> From: Dylan Milks
> To: opencms-dev at opencms.org
> Sent: Wednesday, November 05, 2003 4:41 PM
> Subject: [opencms-dev] Keywords in meta tags...
>
>
> Hi. I have an OpenCMS web site where the index page (index.html) is a link
> to another html page. My main JSP template has the following line of code
> within the <head></head> tag:
>
> <META NAME="KEYWORDS" CONTENT="<cms:property name="Keywords" />">
>
> However, when I go to the URL
http://mydomain/cms/app/foldername/index.html
> which will redirect to
> http://mydomain/cms/app/myfolder/mysubfolder/index.html, no keywords are
> found for the file. But if I go directly to the URL
> http://mydomain/cms/app/myfolder/mysubfolder/index.html, the keywords are
> displayed in the META tag. Why is this? How can I fix this?
>
> Thanks,
> Dylan
>
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev
>




More information about the opencms-dev mailing list