WordPress 3 Site Blueprints phần 6

Với Tỉa Quảng cáo được thiết lập Yes, nội dung cũ sẽ không xuất hiện trên trang web của bạn. Liên kết đến những danh sách, tuy nhiên, vẫn còn xuất hiện trong công cụ tìm kiếm cho đến khi họ cập nhật các chỉ số của họ. Điều đó có nghĩa là du khách có thể bấm | Project 4 Building a Local Classified Ads Website Implementing a private messaging system At present the only way users of your site have to contact each other is via the email contact form included with ClassiPress. It s possible however to provide your visitors with a way to send and receive private messages through your site with the WP Private Messages plugin which is available at http extend plugins wp-private-messages installation . If after activating WP Private Messages you see an alert box at the top of your screen informing you that you have a new message then you will know that the plugin is functioning properly. To send or receive private messages users need only navigate to Users Private Messages. Manage Plugins Add New You have 1 new messages You can see here Plugin activated. Dealing with deleted ads and 404 errors With Ad Pruning set to Yes old content won t appear on your site. Links to those listings will however still appear in the search engines until they update their indexes. That means that visitors may click on links for ads that have since been deleted. Instead of arriving at the page that they hoped to find they will instead be presented with a 404 error page. There s a simple solution to this problem that will be very effective for keeping these visitors on your website. All you need to do is edit the 4 template supplied with the ClassiPress theme so that visitors will be automatically redirected from this error page to your website s home page. Open the 4 file included with the ClassiPress theme and then replace all of the text in this template with the following lines of code. When performing this edit be sure to enter the URL for your site in place of http . After saving these changes the redirect will now be in place. php header Status 301 Moved Permanently header Location http 134 Chapter 4 Summary When you first decided to build a local classified ads website you might have been .

Không thể tạo bản xem trước, hãy bấm tải xuống
TỪ KHÓA LIÊN QUAN
TÀI LIỆU MỚI ĐĂNG
99    64    3    29-03-2024
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.