Changeset 1079 in products
- Timestamp:
- Jul 13, 2009 1:07:09 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
qSEOptimizer/trunk/skins/qSEOptimizer/qSEO_Canonical.py
r1078 r1079 16 16 portal = context.portal_url.getPortalObject() 17 17 if portal.hasProperty('canonical_url'): 18 return portal.getProperty('canonical_url') + context.portal_url.getRelativeUrl(context) 18 rpath = context.portal_url.getRelativeUrl(context) 19 if rpath.endswith('index_html'): 20 rpath = rpath[:-11] 21 return portal.getProperty('canonical_url') + rpath 19 22 else: 20 23 return context.absolute_url()
Note: See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/trac/chrome/common/qtrac_logo.png)