Meaningless Drivel is fun!*
The moose likes HTML, CSS and JavaScript and the fly likes how to link mirror sites? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "how to link mirror sites?" Watch "how to link mirror sites?" New topic
Author

how to link mirror sites?

rrn rose
Greenhorn

Joined: Apr 14, 2009
Posts: 10
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

Joined: Nov 08, 2001
Posts: 15376
    
    6
The link needs to point to the page you are on. The links need to be smarter.

Eric
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61095
    
  66

"rrn rose", please check your private messages for an important administrative matter.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: how to link mirror sites?