• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to link mirror sites?

 
rrn rose
Greenhorn
Posts: 10
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
my website (english) in php , sql .

on the index page there's a link to the arabic site which is a mirror site of the english site.

whenever i click the link , it is directing to the index.php of arabic site.

this is the code




what i need is , if i am on the site.php of english site and then i click the link it should direct to site.php of arabic site..
if i am on the abc.php of english site and then i click the link it should direct to site.php of arabic site..
likewise it should be applicable to all the php pages..

hope you understood the problem..
please help me........
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The link needs to point to the page you are on. The links need to be smarter.

Eric
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64173
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"rrn rose", please check your private messages for an important administrative matter.
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic