WP 3 Menu: Link to Homepage redirects to default language

Having Problems? Need Help? Post here!

Re: WP 3 Menu: Link to Homepage redirects to default language

Postby bedex78 » Wed Oct 06, 2010 7:26 pm

Just to inform you people that I had posted the solution to this:

viewtopic.php?f=3&t=1746&start=0
bedex78
 
Posts: 31
Joined: Mon Oct 04, 2010 9:11 am

Re: WP 3 Menu: Link to Homepage redirects to default language

Postby mitko_83 » Sat Oct 09, 2010 2:57 pm

To not open a new topic write in this
Hello! I have not had problems with qtranslate. Successfully implement it in my site. This is my site www.avtoaktiv.com
I hope you allow me the only problem I have. I work with 2 languages. By default, use the Bulgarian, the second is English. My first page is static. When I Link to Homepage redirects to default language.

I can not deal with this problem.
mitko_83
 
Posts: 2
Joined: Sat Oct 09, 2010 2:34 pm

Re: WP 3 Menu: Link to Homepage redirects to default language

Postby bedex78 » Sat Oct 09, 2010 3:07 pm

@mitko_83:

If you're using WP3 nav menu system then the solution is in the link I posted above... (See the post before yours)
bedex78
 
Posts: 31
Joined: Mon Oct 04, 2010 9:11 am

Re: WP 3 Menu: Link to Homepage redirects to default language

Postby mitko_83 » Sat Oct 09, 2010 3:20 pm

bedex78 wrote:@mitko_83:

If you're using WP3 nav menu system then the solution is in the link I posted above... (See the post before yours)


I use wp 2.9.2 but i I do not know what is my nav menu :(
mitko_83
 
Posts: 2
Joined: Sat Oct 09, 2010 2:34 pm

Re: WP 3 Menu: Link to Homepage redirects to default language

Postby spring » Sat Mar 03, 2012 9:36 pm

Wow, thank you very much Ppivec, it works perfectly for me!
I've lost several hours trying to fix this before, and was really desperate, thanks again.


ppivec wrote:Okay, this appears to work just fine.

Create a page titled "Home".

Under settings/reading, set Post page to Home, and leave front page to "select" (ie: dont set it).
But , set front page to "static".

Under Appearance/Menus, select Home as the first menu entry (being Home).

Save.

I
Selecting another language and clicking home or the heading stays in that language.

Coming into the page from the base URL, defaults to the Posts page which is "Home" and in the default language.

At least it os working for me :D
spring
 
Posts: 4
Joined: Fri Oct 07, 2011 7:59 am

Re: WP 3 Menu: Link to Homepage redirects to default language

Postby andrex289 » Tue Apr 24, 2012 5:43 am

I have used this page template:

Code: Select all
<?php
/*
Template Name: Redirect
*/
?>

<?php
/*

USAGE INSTRUCTIONS:

1. Create a new page in WordPress
2. Add a title to the page (e.g. WooThemes)
3. Add an URL to the content of the page (e.g. http://www.woothemes.com OR woothemes.com OR www.woothemes.com)
4. Select "Redirect" as the page template
5. Publish!

*/
   header( 'Location: ' . qtrans_convertURL(home_url()) ) ;
   exit;
?>


I think is a little faster than thomas page template.
andrex289
 
Posts: 1
Joined: Tue Apr 24, 2012 5:40 am

Previous

Return to qTranslate Support Forum

Who is online

Users browsing this forum: Google [Bot] and 2 guests

cron