My website is located in let's say http://www.example.com/public
So when I make a newsletter from a bunch of node teasers where the title is set as a link to the full view of the node, the link should be something like http://www.example.com/public/node/12
Instead, I get http://www.example.com/public/public/node/12
I don't have any problem with the images urls. They render perfectly in the e-mail. (maybe because the src URLs are absolute in the node content already)
I tried to set the $base_path variable (which is optional) and cleared the cache. It didn't solve the problem or affect the rest of the website. I think I can find a work around with a redirection but I thought this is quite a big issue that needs to be reported.
Comment | File | Size | Author |
---|---|---|---|
#1 | 1714602-Wrong_URL_generated_when_website_located_in_a_subfolder-1.patch | 1.45 KB | Désiré |
Comments
Comment #1
Désiré CreditAttribution: Désiré commentedThank you, here is the patch!
Comment #2
Désiré CreditAttribution: Désiré commentedCommitted.
http://drupalcode.org/project/mcc.git/commit/ef9e183a0239a9fa00e2a2b294c...
Comment #4
apaderno