Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

redirect issues

Posted on 2006-07-14
2
Medium Priority
?
164 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 2000 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

There are many other benefits to creating an inbound marketing strategy. Let’s take a look at five of the biggest and how they'll affect your business.
Whoever said that “a picture is worth one thousand words” observed a fact that can dramatically affect your marketing success. Most people tend to learn visually, so many publishers commonly acknowledge the effectiveness of visual learning by using…
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.

604 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