Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8643519
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T12:03:55+00:00 2026-06-12T12:03:55+00:00

In Drupal 7 multilingual site, when a node is created with language set to

  • 0

In Drupal 7 multilingual site, when a node is created with language set to something except “Language neutral”, its alias does not work (error 404) when site language is different from node language.

You can avoid this problem changing alias language to “All languages” from alias edit page (admin/config/search/path).

This is very annoying, because you have to do this for every new node with language support. Moreover, when Bulk update changes some alias, this setting is lost.

Is there any way to get “All languages” to be set for every new alias created?
Is there any way to get “All languages” to be set for all alias already created?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T12:03:56+00:00Added an answer on June 12, 2026 at 12:03 pm

    you should add this code to your template.php

    function youtheme_node_presave($node) {
             if ($node->type == 'nodetype') {
             $node->language = LANGUAGE_NONE;
            }
    }
    

    this basically will save your nodes to neutral language 😉
    change nodetype or add more if u need.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm about to embark on a journey to build a multilingual Drupal site, where
In Drupal, if you want to insert something into the node table, 'nid' can
My drupal site (internal) will not display the TinyMCE editor when using Google Chrome
Drupal 6. I have created a node type which consists of just a body
Drupal by default does not allow trailing slash for pages and articles. Is it
Our drupal site runs with jQuery version 1.2.1 which we have not upgraded. The
Drupal Question: Does anyone have a method of using Views and highlighting a selected/current
Does Drupal parse (and/or run) hooks that are unrelated to the content being loaded
If you're not a native English speaker doing Drupal, then the i18n module is
[For Drupal 6] Let's say I've created a content type called my_content_type. I can

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.