I apologise for the blatant ignorance of this question but I've been charged with fixing something in Django that I have NO experience with!
We're getting an issue with URLs and duplicated content.
If we visit "www.hello.com/services/" then we get our full page rendered, absolutely fine.
If we visit "www.hello.com/services" then we get the same content but with a default that seems to be set in a line:
class PageTitleNode(template.Node):?
?
def render(self, context):?
try:?
meta_info = MetaInfo.objects.get(url=context['request'].path)?
except ObjectDoesNotExist:?
return u'This is our default page title'?
return u"%s - hello.com" % meta_info.title
The main problem with this is that Google is indexing two almost identical pages and it's bad SEO according to our client's overpaid online strategy partner.
I know it's vague but if anyone can help then much rejoicing will be had.
Thanks for reading!