Solved

redirect issues

Posted on 2006-07-14
2
160 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

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

Suggested Solutions

Owning a franchise can be the dream of a lifetime. It provides a chance for economic growth. You can be as successful as you want.  To make your franchise successful, you need to market it successfully. Here are six of the best marketing strategies …
For many of us, the  holiday season kindles the natural urge to give back to our friends, family members and communities. While it's easy for friends to notice the impact of such deeds, understanding the contributions of businesses and enterprises i…
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…

679 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