mattVo Posted May 6, 2009 Share Posted May 6, 2009 Hi all, I'm quite new to this and would need some help with something I'm sure is quite trivial. I would need to change the path to my file: from www.website1.com/about/general.php to www.website2.com/about/general.php How would I go about doing this? THanks all! Quote Link to comment https://forums.phpfreaks.com/topic/157149-change-path-from-one-website-to-another/ Share on other sites More sharing options...
sKunKbad Posted May 6, 2009 Share Posted May 6, 2009 What exactly to you mean by change the path? Obviously you know how to make an HTML link, but in the context of whatever you are doing, your question is not clear. Quote Link to comment https://forums.phpfreaks.com/topic/157149-change-path-from-one-website-to-another/#findComment-828064 Share on other sites More sharing options...
mattVo Posted May 6, 2009 Author Share Posted May 6, 2009 Hey thanks for the reply, Sorry I wasnt clearer. I'll try to explain. I'm trying to create a link where the user can switch between languages, french and english sites. The two sites have different URLs. So if I'm on www.englishSite.com/about/general.php that language link should lead to www.frenchSite.com/about/general.php with a link like <a href="">See french translation</a> Is there a way to replace the www.englishSite.com with www.frenchSite.com using php? I would not want to edit each page on my site. Thanks again Quote Link to comment https://forums.phpfreaks.com/topic/157149-change-path-from-one-website-to-another/#findComment-828083 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.