Solved

redirect issues

Posted on 2006-07-14
2
161 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

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

Suggested Solutions

In this blog, I will share you some basic tips for content marketing and to rank your website on Google.
Online promotion is consistently becoming more important for all types of businesses. From Facebook ads to search engines to YouTube videos, there are all sorts of channels that can effectively be used to promote a business or product. But how shoul…
Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
Use Wufoo, an online form creation tool, to make powerful forms. Learn how to selectively show certain fields based on user input using rules to gather relevant information and data from your forms. The rules feature provides you with an opportunity…

739 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