var sidebar_align = 'right';
var content_container_margin = parseInt('350px');
var sidebar_width = parseInt('330px');
Help with 301 Redirect
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)
The new web page is:
I have made a .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:
That is the exact URL that I get above, except for "newpage" and "name" have been changed.
So what am I doing wrong?
Just for the record, on another web site, someone suggested adding a "/" so it would be:
redirect 301 / http://www.newpage.com/
But now it comes up as this:
I can't stop it from combining the directory of my old site with my new one.
Gotta love replying to my own posts. This did the trick thanks to a guy in the newsgroups. (Yes they are still good for something)
redirect 301 /personal/name/ http://www.newpage.com/