510 posts
  • Beta Tester
  • Bought between 10 and 49 items
  • Contributed a Tutorial to a Tuts+ Site
  • Exclusive Author
  • Has been a member for 4-5 years
  • Microlancer Beta Tester
  • Referred between 1 and 9 users
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Sold between 1 000 and 5 000 dollars
pxt says

If I had both of the following domains:

mydomain.com and mydomain.co.uk

How would I make all traffic from the .co.uk forward to the .com

e.g. mydomain.co.uk/portfolio/project1 forwards to mydomain.com/portfolio/project1

2963 posts
  • Exclusive Author
  • Beta Tester
  • Microlancer Beta Tester
  • Sold between 1 and 100 dollars
  • Has been a member for 4-5 years
  • Bought between 50 and 99 items
  • United States
TNL3542 says

redirect.. from your control panel

510 posts
  • Beta Tester
  • Bought between 10 and 49 items
  • Contributed a Tutorial to a Tuts+ Site
  • Exclusive Author
  • Has been a member for 4-5 years
  • Microlancer Beta Tester
  • Referred between 1 and 9 users
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Sold between 1 000 and 5 000 dollars
pxt says
redirect.. from your control panel

But this won’t keep the whole link will it, it’ll just redirect to the homepage.

2963 posts
  • Exclusive Author
  • Beta Tester
  • Microlancer Beta Tester
  • Sold between 1 and 100 dollars
  • Has been a member for 4-5 years
  • Bought between 50 and 99 items
  • United States
TNL3542 says
redirect.. from your control panel
But this won’t keep the whole link will it, it’ll just redirect to the homepage.

hmmm try doing a webserch :)

2509 posts Put a Donk On It
  • Exclusive Author
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Elite Author
  • Sold between 250 000 and 1 000 000 dollars
  • Attended a Community Meetup
  • Referred between 100 and 199 users
  • Contributed a Tutorial to a Tuts+ Site
+5 more
ThemeProvince says

You can use php to redirect. I can help :)

56 posts
  • Author had a Free File of the Month
  • Bought between 1 and 9 items
  • Exclusive Author
  • Has been a member for 3-4 years
  • Referred between 1 and 9 users
flashdrone says

I don’t think a simple php redirect will do it if this is the same situation as with flashden moving to activeden. Let’s suppose if a user enters mydomain.co.uk/portfolio/project1/sample.html, then it’s to redirect to mydomain.com/portfolio/project1/sample.html for which you’ve to include a php/ some other redirection script in every single file.

I remember doing a similar thing few months back where I think I’ve used some kind of triggers. Don’t exactly remember it. It’ll be interesting to find how envato does it.

510 posts
  • Beta Tester
  • Bought between 10 and 49 items
  • Contributed a Tutorial to a Tuts+ Site
  • Exclusive Author
  • Has been a member for 4-5 years
  • Microlancer Beta Tester
  • Referred between 1 and 9 users
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Sold between 1 000 and 5 000 dollars
pxt says

Yes, envato does do it aswell with there main website.

e.g. envato.net/contact goes to envato.com/contact

by
by
by
by
by
by