I want to move pages to subdirectories with 301 redirects. I have
cpanel. I can set-up the redirects via cpanel without having to touch
.htacess. I copied a test page to the sub directory. The page
redirects to the sub in this manner but it takes a long time then I get dead page:
http://www.subdirectory.mysite.com/page.html. The only way
the sub directory page loads correctly is
http://www.mysite.com/subdirectory/page.html
I want the subdirectory page to show up:
http://www.subdirectory.mysite.com/page.html. Subdirectory is
actually a web directory on our main site that isn't relevant to our
site, but it has PR6 pages and I want to move it so that the SE's look
at it as it's own domain and not part of our website. The sub's name
is web-directory.
Besides creating a .htacess page, do I also have to creat the
_vti_bin, etc, for each subdirectory for the pages to show? Do I have
to create image folders? I read something about mod_rewrite and I
think that's the answer but I can't figure that out. Can I put a
mod_rewrite command in the .htacess file? Here is the
.htacess file that is on the root and I copied to the subdirectory. I
don't use frontpage by the way, it's just the code that was on the
file when I opened it :
# -FrontPage-
IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*
<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthName www.mysite.com
AuthUserFile /home2/sitename/public_html/_vti_pvt/service.pwd
AuthGroupFile /home2/sitename/public_html/_vti_pvt/service.grp
I have a total of 30 pages I want to move to the subdirectory:
http://www.web-directory.mysite.com
Thanks in advance for the help. Mike |