You are here: Help! 301 redirect not working. « HTML « IT news, forums, messages
Help! 301 redirect not working.

Posted by JB on 11/21/06 16:45

Ok, I have an old web page where I want the entire page to redirect to a new
one.

The old one is (some content edited)

http://intergate.ca/personal/name/index.htm

The new web page is:

http://www.newpage.com

I have made an .htaccess file using notepad, making sure it's not saved as a
..txt file.

Notepad has wordwrap off.

In the file I have:

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

I have uploaded it to the root directory of the old site using CuteFTP in
ascii transfer mode.

Now when I access http://intergate.ca/personal/name/index.htm

It wants to go here:

http://www.newpage.compersonal/name/index.htm

That is the exact URL that I get above, except for "newpage" and "name" have
been changed.

So what am I doing wrong?

Thanks!

JB

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация