Featured Posts

How to make the Classipress Google Map to default in Hybrid ModeHow to make the Classipress Google Map to default in... One of Classipress best feature is the inclusion of Google Maps. Once the user entered a street address, his posting will automatically show a map based on the given location. This is really a cool and...

Readmore

Statpress Reloaded, an ideal Statistics Plugin for Classipress classifieds siteStatpress Reloaded, an ideal Statistics Plugin for... When running a Classifieds site or a site in general, it is not only interesting but useful to know who is visiting your website, where these visitors come from and what they do on your site. You can use...

Readmore

Spice up your Classipress main page with random imagesSpice up your Classipress main page with random images Showing some random automated cosmetic activities will definitely make your Classipress site more exciting and never boring. A way to do that is to have random images of your ads displayed in the main...

Readmore

Display Members and Users Online in ClassiPressDisplay Members and Users Online in ClassiPress To make your Classipress site more interesting to visitors is to make it look active taming with activities. One way to show it is to display members or users who are online. When a first time visitor...

Readmore

An introduction to Classipress Theme and how to use it to make a great Classifieds siteAn introduction to Classipress Theme and how to use... Let’s start with the basics. This post is just going to explain what ClassiPress theme is and what you need to do to set it up in order to start your Classifieds ad site. Specific strategies to optimize...

Readmore

Classipress Error 404 management

Posted by admin | Posted in Plugins and Mods |

1

Classipress is a great wordpress theme-classifieds ads platform. With it, you have to option to set a schedule when a particular ad will expire and subsequently deleted. It is a really great feature but it will also result to several error 404 pages when a particular page or posting is already indexed by the search engine.

classipress_error_404

There are several wordpress plugins to manage error for redirection but I find the easy way to do it is to change the Classipress default 404. Simply replace the Classipress 404.php code with the code below;

<?php
header(“Status: 301 Moved Permanently”);
header(“Location:http://www.yoursite.com”);
?>

Yes, it’s a simple code and there you go. Every time a deleted post will come out in the search engine result and visitors click on it, they will be redirected to the homepage.

Related posts:

  1. Classipress Classifieds Old Ads Alert

Home > Plugins and Mods > Classipress Error 404 management

Comments (1)

it didnt work for me
it says …

syntax error unexpected on line 2

Write a comment

*
To prove you're a person (not a spam script), type the answer to the math equation shown in the picture. Click on the picture to hear an audio file of the equation.
Click to hear an audio file of the anti-spam equation