Is "Remap Sub Dir" in the panel a 301?


#1

I need to redirect my /test/ sub-directory to the main root directory of http://www.fimel.org.

Will the “Remap Sub Dir” in the web panel do it as a 301? If not, how, in simplest terms, should I do that? I’ve never made an htacess file before so I’d need some real “for Dummies” help with that.

thanks!


Awesome>>www.biklopsdesign.com


#2

Remap is for hooking someone else’s directory into your website.

Try changing your web directory in the panel under Domains -> Manage Domains and edit your Fully Hosted domain (fimel.org) so that it’s using /home/USER/fimel.org/test

-Scott


#3

That doesn’t sound right to me.

I want users heading to www.fimel.org and www.fimel.org/test/
to be re-routed to www.fimel.org.

the /test/ sub-directory doesn’t even exist any more.


Awesome>>www.biklopsdesign.com


#4

Now I get it. You are looking for a 301 redirect. I know this comes up from time to time. sXi is pretty good with these, but try adding this line to .htaccess in your main domain directory:
Redirect 301 /sub /

-Scott


#5

What Scott said is correct, remapping isn’t the solution you’re looking for.

In fimel.org’s .htaccess:

Maximum Cash Discount on any plan with MAXCASH

How To Install PHP.INI / ionCube on DreamHost


#6

Something weird is happening now.

Check out www.fimel.org/test/performances.html

The .htaccess now redirects that to www.fimel.orgperformances.html

What??


Awesome>>www.biklopsdesign.com


#7

My two guesses would be to take the trailing slash off of /test/ or add a trailing slash to fimel.org in the redirect statement.

EDIT: As I think about this, is there a www.fimel.org/performances.html? Or did you want any requests to /test get redirected to the main site’s index page?

-Scott


#8

worked! Thank you!

Should I do a resubmission now that these issues are dealt with?


Awesome>>www.biklopsdesign.com


#9

What do you mean by resubmission? If you filed a Support request, you can cancel the request.

-Scott


#10

A google resubmission. Like so:

https://www.google.com/webmasters/tools/reconsideration


Awesome>>www.biklopsdesign.com