?
Solved

Best/easiest way to redirect all WordPress content to a single page

Posted on 2011-02-15
3
Medium Priority
?
474 Views
Last Modified: 2012-05-11
Hi folks,

I'm running a WordPress site which is taking registration for an event and the organizers are postponing the event indefinitely.  I need an easy way to get all of the content (about 30 pages and posts) to redirect to a single page.  

Any suggestions?
0
Comment
Question by:Jason C. Levine
[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
3 Comments
 
LVL 16

Accepted Solution

by:
sjklein42 earned 1400 total points
ID: 34903728
You could use a RewriteRule in your Apache config.

Either of these should redirect all pages to new page.  The difference is whether the user sees the new (redirected) address in their browser address field or not.

RewriteRule ^.*$ new.html
RewriteRule ^.*$ new.html [R]
 

Open in new window

0
 
LVL 12

Assisted Solution

by:mwochnick
mwochnick earned 596 total points
ID: 34903738
if you host your own site on apache you could add a mod_rewrite rule that would do it -
Here's a link to the rewrite guide
http://httpd.apache.org/docs/2.0/misc/rewriteguide.html

rewrite syntax can be tricky so - this may not be as easy as using a wordpress plugin like
http://wordpress.org/extend/plugins/redirection/
0
 
LVL 70

Author Comment

by:Jason C. Levine
ID: 34904045
Yeah, I know I can do this with mod-rewrite but I was really looking for a cheap and easy way so I can recommend it to people who host WP sites who may not have access to someone who can do .htaccess-fu.

The plugin looks interesting, though.

Any other suggestions?
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

So you have coded your own WordPress plugin and now you want to allow users to upload images to a folder in the plugin folder rather than the default media location? Follow along and this article will show you how to do just that!
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
The purpose of this video is to demonstrate how to Test the speed of a WordPress Website. Site Speed is an important metric of a site’s health. Slow site speed can result in viewers leaving your site quickly and not seeing your content. This…
The purpose of this video is to demonstrate how to integrate Mailchimp with WordPress, by placing a Mailchimp signup form on a WordPress Page or Post. This will be demonstrated using a Windows 8 PC. Mailchimp will be used. Log into your Mailchi…
Suggested Courses

764 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