Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
I'm not sure if it's the right section to post but... I came across a strange problem. I saw google starting to index my website with urls like /node/45/18 although I have pathauto and global redirect enabled and working.
The global redirect works well with urls like /node/xx, but it stops working with urls like /node/xx/xx. I think drupal should redirect to a 404 error, but no: if you have a page like /node/25 that redirects to /my-nice-page, you can try on your site to go to /node/25/xx and it will show you the content of /my-nice-page.
Can anyone help me out finding a solution for the above topic, i need to register a user manually and should have a specific access time for them, i mean to say that i need to change the status from active to block for manually registered user, the context is m gonna migrate my old customers in to my new website, so each of them have different validity,
i have the module role expire but that is not i wanted actually, i dont want to expire role, but need to block the user after the validity period gets over..
I add a block containing node's teaser list of a content type and wish to demote any node's teaser from front page if the datetime define in node's cck field ($node->field_timestart[0]['view']) has passed. I know very few about php, any suggestion are welcome. Hereunder the php snippet I use in a block.
Hi, I have a site with 3 languages, english (default), spanish and italian. I have a module that generates a path like this: /members/home, so when access in english the path is /members/home, in spanish is /es/members/home and in italian is /it/members/home.
I don't want the users accessing the italian url and instead being redirected to the deafault one (english).
How can I accomplish that?