I've installed the module and it is creating links without ?q=, but clean URL option is disabled. This makes all the links 404.

Comments

geodaniel’s picture

Title: Module is not "clear URL" setting-aware » Module is not "clean URL" setting-aware
manuel garcia’s picture

Priority: Normal » Critical
Status: Active » Needs review
StatusFileSize
new8.66 KB

Confirmed, imho this is a critical bug, changing priority.

Please test the patch I provide, on my local install it does the trick. Review would be welcomed.

geodaniel’s picture

StatusFileSize
new1.31 KB

I didn't try that patch, though it has some issues with line endings and it is building the URL manually instead of using the url() function as it probably should be. I've attached an updated patch which uses url() instead.

I also removed the code that strips out the 'en' language code if it's set, as I think that's needed if a user has a language set in their account, to be able to switch back to English.

manuel garcia’s picture

True, my patch came out kinda messy sorry. I didnt touch much about how the link is being built, that is the original code in the module though.

PixelClever’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.