410.php made from 404.php throws errors
Hey there,
I think this is very important for SEO (because 410 is underestimated for relaunchs)
I cloned my 404.php to a 410.php and try to use it for Gone pages:
ErrorDocument 410 /wp-content/themes/betheme/410.php
Redirect Gone /removed
but I get this:
Fatal error: Call to undefined function mfn_opts_get() in .../wp-content/themes/betheme/410.php on line 10
Could you please give me a hint why 404.php is working fine with these functions and 410.php is not?
all the best,
Malte
Comments
the code you presented above can be used under .htaccess file so we don't think this is a good solution for php files. We recommend to have a look into Google to check where you did the mistake exactly. Also please notice that we do not offer files modifications so we won't be able to modify theme code for you.
Thanks for understanding!
Anyway, we can have a look on it of course but if we'll notice the problem related with the code inside file, then we won't be able to help. So please send us private message with access to your FTP and we'll see how the files looks like and what you did wrong.
Thanks for understanding