Welcome to WebmasterWorld Guest from 54.167.175.107

Forum Moderators: Ocean10000 & incrediBILL & phranque

temp redirect for whole site

Its a cart with dynamic page generation

   
3:38 am on Oct 5, 2006 (gmt 0)

10+ Year Member



Hi
I have a site which is effectively a shopping cart written in perl!
Using cpanel I have redirected www.mysite.com to www.newsite.com but when it generates a page like www.mysite.com/cgi-bin/#*$!xx etc is there another "global " redirect command I should put on cpanel as well as just the main site URL?

Thanks

Michael

5:00 pm on Oct 5, 2006 (gmt 0)

WebmasterWorld Senior Member jdmorgan is a WebmasterWorld Top Contributor of All Time 10+ Year Member



You'll have to test to see if the cPanel code does everything you need. If not, remove it and do it 'manually' in the server config file or in your .htaccess files.

Do not use a temporary 302 redirect unless your intent is to return the site to oldomain soon. If the move is permanent, then use the 301-Moved Permenently response instead.

Jim

3:34 am on Oct 6, 2006 (gmt 0)

10+ Year Member



Thanks Jim

M

 

Featured Threads

Hot Threads This Week

Hot Threads This Month