Solved

redirect issues

Posted on 2006-07-14
2
157 Views
Last Modified: 2010-04-27
I have a site with technical problems - it's displaying an ugly syntax error for every single page in the entire site.  So, we want to redirect people to a functioning site for the same company until we can fix our database problem.  This might be a day or two.  I have been reading about 301 and 302 redirects in .htaccess.

We will be coming back online after repair with all the same file names, so, what should I do??
0
Comment
Question by:linque
2 Comments
 
LVL 7

Expert Comment

by:ashishjvw
ID: 17113485
301 redirects are considered good for seo.
0
 
LVL 12

Accepted Solution

by:
ShaneJones earned 500 total points
ID: 17114632
301s are indeed good, 302s are bad

in your .htaccess file you need to add

redirect 301 "/folder/page.html" http://www.domain.com/newfolder/newpage.html


More information here
http://www.javascriptkit.com/howto/htaccess7.shtml


ShaneJones
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Read about how to choose the best possible content marketing agency to suit your needs. Content marketing has become an integral part of running a successful tech business, so it is wise to be informed.
Read about the 3 stages of the buyer's journey: awareness, consideration, and decision.
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to choose which pages of your form are visible to your users based on their inputs. The page rules feature provides you with an opportunity to create if:then statements for y…
Learn how to set-up custom confirmation messages to users who complete your Wufoo form. Include inputs from fields in your form, webpage redirects, and more with Wufoo’s confirmation options.

785 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question