Problems, need help? Have a tip or advice? Post it here.
2 posts Page 1 of 1
Hi Guys, how is it going? I haven't being posting a lot but I have been using couch to create CRMs believe it or not !!!!. This said I'm encountering a small problem with a blog i did a while ago. The client hired a SEO expert to check it and apparently if you put a post into a "category" or "folder" as we call it, that post is accessible from 2 urls e.g. http://www.website.com/blog/blog-catego ... -blog-post and http://www.website.com/blog/example-blog-post . I need to make it that if a post goes into a folder the url without the folder redirect to that one with a 301. Do you guys have any idea on how to acheive that?

This said please do let me know if I can help creating modules or stuff to help couch great expansion !!!! CHEERS!!!
Hi Emanuele :)

I need to make it that if a post goes into a folder the url without the folder redirect to that one with a 301.
But that is the default behavior of Couch. It automatically redirects to the canonical URL (containing the folder(s) if the page is within those).

Can you please send me the links to check the (anomalous) behavior you mentioned?
2 posts Page 1 of 1