Redirect


#1

What would be the best way to make http://danrippon.com/ point to http://danrippon.com/wpress/ ?

Basically so when the url danrippon.com is typed in, it shows what is on danrippon.com/wpress.

TIA


USE PROMO: 97DH For $97 off!


#2

If you are not familiar with htaccess, remap ought to be enough for you.
http://wiki.dreamhost.com/KB_/Account_Control_Panel/Domains::_Remap_Sub-Dir

Save $97 (MAX Discount) with code: [color=#CC0000]97YES[/color] Sign Up NOW or More Codes Here


#3

I did that before and i am pretty sure wordpress started erroring. I also tried in .htaccess, but the redirect did not work… it went to danrippon.com/wpress/wpress/wpress/wpress… on and on…

Is there a better explanation of the panel’s remap sub-dir function? I am afraid of breaking it again.


USE PROMO: 97DH For $97 off!


#4

you could just add the following to your .htaccess

Redirect / http://danrippon.com/wpress/

this should redirect any traffic to the correct place

$97 DISCOUNT [color=#CC0000]DISCOM97[/color], Double bandwidth or disk [color=#CC0000]DISCOMX2BW[/color]or [color=#CC0000]DISCOMX2SPACE[/color] (worth $119.40 per year). More codes


#5

Doing that causes it to error by sending it into a continous redirect. It tries to rederict to /wpress/wpress/wpress/wpress/wpress… and so on until the browser detects and stops it.

Is the only solution to move the whole site to / from of /wpress?


USE PROMO: 97DH For $97 off!


#6

Well, I think that is certainly the best solution, for several reasons. :wink:

That said, there is another way to have a WordPress installation in a subdirectory reached via “http://yoursite.tld” (proven to work) discussed in this previous forum post. You might want to read through that whole thread to see some stuff that won’t work at all, a way to approach the problem using PHP, and a method that doesn’t work “well” (such as using a meta-refresh tag).

That post discusses, and points you to, the WP Codex article on “Giving WordPress Its Own Directory”, which is the “WordPress” recommended way to leave your blog functioning at it’s present location, but have it reached from http://yourdomain.tld/.

Frankly, I would prefer to just move the installation, but you may feel differently, and this shows you how to do what you are asking about! :wink:

–rlparker