Sedang Disiapkan

Delisted stock pages to return a 404 page rather than redirecting to homepage.

The php web site has stock pages listed in the search engines that no longer exist. Currently when products are removed, the code or server is redirecting the user to the homepage with a 302 header... We would like to serve to our custom 404 page instead so that when products are removed, Google will revisit the URL, find a 404 and then remove the page from its index.

An example page is below showing the 302(soft404) seen by Google:

"

Fetch as Google

This is how Googlebot fetched the page.

URL: [url removed, login to view]

Date: Friday, December 14, 2012 5:05:15 AM PST

Googlebot Type: Web

Download Time (in milliseconds): 216

HTTP/1.1 302 Found

Date: Fri, 14 Dec 2012 13:08:00 GMT

Server: Apache/[url removed, login to view] (Unix) mod_ssl/[url removed, login to view] OpenSSL/0.9.8e-fips-rhel5 mod_bwlimited/1.4 PHP/5.3.8

X-Powered-By: PHP/5.3.8

Set-Cookie: PHPSESSID=3aee32458288bdb420d850919a3fd09f; path=/

Expires: Thu, 19 Nov 1981 08:52:00 GMT

Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0

Pragma: no-cache

Location: /[url removed, login to view]

Content-Length: 154

Keep-Alive: timeout=5, max=100

Connection: Keep-Alive

Content-Type: text/html

Fatal error: Call to a member function getDisplayText() on a non-object in /home/simplyr1/views/[url removed, login to view] on line 2

"

Kemahiran: PHP

Lihat lebih lanjut: return path, header error control, google web search homepage, stock content, return, openssl, cookie store, fetch post, 404 homepage, 404 page, member function php, error 404 found, plate text, text plate, error code 302, timeout function, download stock code, openssl server, php header set cookie, 404, 302 found, custom date control, homepage text, php phpsessid, cookie check error

Tentang Majikan:
( 30 ulasan ) leeds, United Kingdom

ID Projek: #4049502

Dianugerahkan kepada:

webxtreams

ready to fix sir

$30 USD dalam sehari
(153 Ulasan)
5.7

5 pekerja bebas membida secara purata $50 untuk pekerjaan ini

farhaoui

Hi, I'm ready to work on this project.

$30 USD dalam sehari
(40 Ulasan)
4.9
DishaTechnicals

Dear Sir/Madam, Kindly See PM. Thanks & Regards, Team Head, Creative Professionals Inc.

$30 USD dalam sehari
(129 Ulasan)
4.8
idreamstudio

Hi, kindly check your inbox for references and details....

$30 USD dalam 0 hari
(3 Ulasan)
4.1
invincible13

Dear Sir, We have our expertise in PHP, MySQL, JavaScript, jQuery, CSS which are very relevant to the work to be done on the website. We have been in business for over 2 years now with 5/5 reputation and good review fo Lagi

$60 USD dalam 2 hari
(6 Ulasan)
3.5
InspectahDeck

I can fix this for you today if you like, there should be no problems. As well as the PHP Fatal Error your getting at the bottom. Im sending you a PM if you are interested...

$100 USD dalam sehari
(0 Ulasan)
0.0