lord1027
Elite Member
- Sep 20, 2013
- 3,218
- 2,342
Hey guys, I have a small question for you. I think it can be done in .htaccess, but I just didn't manage to find a working solution yet.
Basically, I want a domain and all it's subpages to redirect to a specific URL, pretty much like this:
Whenever someone tries to visit mydomain.com/anypage/1234 he would get redirected to http://www.somethingstatic.com/anypage/1234 (in URL encoded form).
Example:
Visitor lands on www.mydomain.com/something/else/123, he would get redirected to http://www.somethingstatic.com//something/else/123
Basically, I want mydomain.com/* to point to seconddomain.com/* (with * URL encoded this time)
Does anyone know how to do this?
Basically, I want a domain and all it's subpages to redirect to a specific URL, pretty much like this:
Whenever someone tries to visit mydomain.com/anypage/1234 he would get redirected to http://www.somethingstatic.com/anypage/1234 (in URL encoded form).
Example:
Visitor lands on www.mydomain.com/something/else/123, he would get redirected to http://www.somethingstatic.com//something/else/123
Basically, I want mydomain.com/* to point to seconddomain.com/* (with * URL encoded this time)
Does anyone know how to do this?