Let me try to explain my problem....
I have built a website and would like to duplicate the contents for several different websites that I own. Therefore I would just like to use the same pages that I have already built.
e.g.
mywebsite1.com
mywebsite2.com
mywebsite3.com
There are quite a lot of links within the pages I have built and at the moment they all contain the domain name mywebsite1.com. I don't want to have to go through and change the domain names within all the links.
e.g.
the link: http://www.mywebsite1.com/page1
will need to be: http://www.mywebsite2.com/page1
on mywebsite2.com
Is there a way to create the links so that they automatically change the domain for me?
Perhaps there is a script that takes the domain name from a part of a page and inserts it into the link?
Thanks in advance if you can help me with this problem.
I have built a website and would like to duplicate the contents for several different websites that I own. Therefore I would just like to use the same pages that I have already built.
e.g.
mywebsite1.com
mywebsite2.com
mywebsite3.com
There are quite a lot of links within the pages I have built and at the moment they all contain the domain name mywebsite1.com. I don't want to have to go through and change the domain names within all the links.
e.g.
the link: http://www.mywebsite1.com/page1
will need to be: http://www.mywebsite2.com/page1
on mywebsite2.com
Is there a way to create the links so that they automatically change the domain for me?
Perhaps there is a script that takes the domain name from a part of a page and inserts it into the link?
Thanks in advance if you can help me with this problem.
Comment