Forum Moderators: phranque

Message Too Old, No Replies

301 redirect problem

         

greennature

8:13 pm on Jun 14, 2007 (gmt 0)



I was checking out my .htaccess page and noticed that only some of my redirect 301 commands were working.

The lines that are not working are for redirects to new subfolders. For example,

I have a couple of lines of code that say,

redirect 301 /articleabc.html http://example.com/subfolder/newpage/

When I do a header checker I get a multiple response.

First, the page is correctly redirected with a 301 header. Second, the page is further redirected to the home page with a 302 header.

Has anyone dealt with this issue?

[edited by: jdMorgan at 10:41 pm (utc) on June 14, 2007]
[edit reason] example.com [/edit]

greennature

10:15 pm on Jun 14, 2007 (gmt 0)



Problem solved when I noticed the real problem in an .htaccess file in the intended folder.