homepage Welcome to WebmasterWorld Guest from 54.196.63.93
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

    
temp redirect for whole site
Its a cart with dynamic page generation
moneymancn

10+ Year Member



 
Msg#: 3109124 posted 3:38 am on Oct 5, 2006 (gmt 0)

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

 

jdMorgan

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



 
Msg#: 3109124 posted 5:00 pm on Oct 5, 2006 (gmt 0)

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

moneymancn

10+ Year Member



 
Msg#: 3109124 posted 3:34 am on Oct 6, 2006 (gmt 0)

Thanks Jim

M

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved