Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Redirecting a parked domain directly to a textpattern article
I’m kinda pulling my hair out trying to figure out a redirect.
What I have is http://www.somedomain.com and a parked domain http://www.someotherdomain.com on a cPanel hosting account.
I’m trying to setup a 301 redirect so that if someone comes to the parked domain http://www.someotherdomain.com it will redirect to http://www.somedomain.com/somesection/articleid/title/
Any way this is possible? My next option is to do the redirect on my Godaddy account, but I’d rather not do that if possible.
Last edited by ecklesroad (2010-01-26 18:09:17)
Offline
Re: Redirecting a parked domain directly to a textpattern article
On the hosting space for www.someotherdomain.com, put this in a .htaccess file…
redirect 301 / http://www.somedomain.com/somesection/articleid/title/
But that’s if you actually have webspace for that domain, otherwise go directly through your ISP (would be better IMHO).
Last edited by philwareham (2010-01-26 23:22:39)
Offline
Re: Redirecting a parked domain directly to a textpattern article
I figured it out. What I had to do is make an Addon Domain and set that to http://www.someotherdomain.com, and then have a redirect in the .htaccess file for that domain to go to http://www.somedomain.com/somesection/articleid/title/. so I guess what you had above. Thanks!
Offline