Index
Subject
: Re: LUG: Permanent redirect of NCSU webpage
From
: Ben Berry <bsberry@ncsu.[redacted]>
Date
: Mon, 05 Jul 2010 15:58:36 -0400
Parent
I would also note that redirects and other .htaccess directives might
be disallowed to prevent spoofing (i.e. Get someone to click a link to
a .ncsu.edu address and the redirect them somewhere else).
If all else fails, a meta refresh tag will get the job done, if be not
quite as canonical.
Ben
On Monday, July 5, 2010, Edward Anderson <nilbus@nilbus.[redacted]> wrote:
> 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
: