Index

Subject : Re: LUG: Permanent redirect of NCSU webpage

From : Edward Anderson <nilbus@nilbus.[redacted]>

Date : Mon, 05 Jul 2010 06:51:18 -0400

Parent


Well, I do asee that you typed index/html rather than index.html.
Perhaps that's your problem?

For a sitewide redirect, use something like

redirect 301 / http://www.mynewpage.com/

be sure to include the http:// and the trailing /

Edward

On Sunday, July 4, 2010, Jitendra Kumar <jitendra.ncsu@gmail.[redacted]> wrote:
> Hello group,
> I just graduated from NCSU and want to redirect my NCSU homepage to my new webpage. While doing that I want to preserve the search engines rankings of my webpage. Currently I have very good rankings on all search engines and don't want to loose it.
>
> After some Googling I figured that permanent '301' redirect using .htaccess file is the best way to accomplish this. However, adding a .htaccess file with this following line in my "www" seems to have no effect at all.
> "redirect 301 /index/html www.mynewpage.com/index.html"
> File permissions on my .htaccess file is 644.
>
> I would appreciate any tips and suggestions to do this for NCSU webpage.
>
> Thanks,
> Jitu
>


Replies :