Background with multi language

  • tinmar
    Inactive member
  • Topic Author
  • Member
  • Member
More
11 years 3 weeks ago #35472 by tinmar
The problem is to install multi language and only see the first image, then melted to white.

After many revisions and testing, I found the problem , the system searches images in the installed languages​​, for example:

background-image: url( www.mydomain.com/ es/templates/hot_destinations/images/bg1.jpg); background-attachment: fixed; background-position: 50% 50%; background-repeat: initial initial;

opacity: 1; background-image: url( www.mydomain.com/ es/templates/hot_destinations/images/bg2.jpg); background-attachment: fixed; background-position: 50% 50%; background-repeat: initial initial;

The searches all the languages ​​that I have installed in the wrong place.

If writing to this address, the images are perfectly in the browser.

www.mydomain.com/templates/hot_destinations/images/bg1.jpg

I need to change the path location of the background images.

Thank you very much.

Please Log in to join the conversation.

More
11 years 3 weeks ago #35475 by ivan.milic
That can be solved form .htaaccess by adding some rule but I'am not expert on URL rewriting just google and try.

Please Log in to join the conversation.

  • tinmar
    Inactive member
  • Topic Author
  • Member
  • Member
More
11 years 2 weeks ago #35603 by tinmar
My little knowledge of writing, I make impossible the search for a solution, someone who can give us a light of knowledge on this subject?.

Thank you very much.

Happy holidays.

A greeting.

Please Log in to join the conversation.

More
11 years 2 weeks ago #35607 by ivan.milic
See answer on bottom os this page:

expressionengine.stackexchange.com/quest...irectory-folder-name

I think replacing index.php with (/en/|/es/) should do the trick

Please Log in to join the conversation.

Time to create page: 0.201 seconds
Powered by Kunena Forum