Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2010-01-26 17:52:51

ecklesroad
Plugin Author
From: Bemidji, MN
Registered: 2008-02-22
Posts: 119
Website

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

#2 2010-01-26 23:18:10

philwareham
Core designer
From: Haslemere, Surrey, UK
Registered: 2009-06-11
Posts: 3,564
Website GitHub Mastodon

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

#3 2010-01-27 14:20:55

ecklesroad
Plugin Author
From: Bemidji, MN
Registered: 2008-02-22
Posts: 119
Website

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

Board footer

Powered by FluxBB