Welcome to WebmasterWorld Guest from 54.205.170.21

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

Redirect not working in Test environment

   
11:04 am on Jun 15, 2009 (gmt 0)

10+ Year Member



I am attempting to redirect products from the old ecommerce website to the new. The new is on a different host and the nameservers have not yet been changed.

Hence, I have modified my hosts file to allow my browser to "see" the new website. I have added a 30 redirect to the .htaccess file for each product (as such)

Redirect 301 /catalog/vortex_tubes.php [mysite.com...]

but when testing, it simply gives me a page not found error on the new site.

My syntax is correct. Would there be any reason this wouldn't test out properly?

12:14 pm on Jun 15, 2009 (gmt 0)

WebmasterWorld Senior Member g1smd is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



The test is successful if the redirect forces the URL shown in the browser URL bar to change from the old URL to the new URL.

This does not depend on the new URL returning a valid page or not. That's another step, and not dependent on the redirect.

 

Featured Threads

Hot Threads This Week

Hot Threads This Month