Board index   FAQ   Search  
Register  Login
Board index php forum :: php coding PHP coding => General

PHP redirect to language variation of current page

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

PHP redirect to language variation of current page

Postby webalizator » Sat Oct 20, 2012 10:52 pm

Hello!

I need help with php ridirect.
I have a webiste with 2 language variations: English and Russsian.

I need help on following:

1) Which code I can use so it redirects on language variation of CURRENT page. For example: I'm on www.mysite.com/ABOUTUS page and by clciking on language icon I need to be redirected on www.mysite.com/RU/ABOUTUS/
2) Also I will use language icons ofr my language menu

You can see example here http://starelectro.kz. It always redirects to current page among languages

Thanks in advance and sorry about my English

Regards
webalizator
webalizator
New php-forum User
New php-forum User
 
Posts: 1
Joined: Sat Oct 20, 2012 10:45 pm

Re: PHP redirect to language variation of current page

Postby westside » Sun Oct 21, 2012 4:03 am

Hi.. im having the same problem as well. im using, <a href=" " ></a> it doesnt seem to work. it redirect on the current page.
westside
New php-forum User
New php-forum User
 
Posts: 4
Joined: Fri Oct 19, 2012 12:20 pm


Return to PHP coding => General

Who is online

Users browsing this forum: No registered users and 3 guests

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.