meanstreak
Forum Replies Created
-
Makes sense. Thanks again for the help!
Thanks for the quick reply. I’m not sure what I did wrong. this is the error code that I am receiving when I edit both files.
Fatal error: Cannot redeclare twentytwelve_add_title_to_keywords() (previously declared in /wp-content/plugins/all-in-one-seo-pack/aioseop_functions.php:519) in /wp-content/themes/twentytwelve/functions.php on line 499
If i just edit one file (function.php or aioseo_functions.php), the site times out. I will do a restore of the server files to return the site to its original state, unless you might have any additional suggestions.
Thanks for all your help!
Thanks for the help. I tried the code in both Wp function AIONSEO function like you mentioned. I changed meanstreak to my theme name twentytwelve.
Upon removing the code from the function file(s), the site keeps timing out with a 500 server error.
I replace the edited files with backups, but the site still will not connect. Did this code add anything to the database?
Thanks again for taking the time to respond!
I think it could be located here. I have tried several test with no success.
/all-in-one-seo-pack/aioseop_class.php
( isset( $keywords ) && $togglekeywords == 0 && !empty( $keywords ) && !( is_home() && is_paged() ) ) {
if ( isset( $meta_string ) ) $meta_string .= “\n”;
$keywords = str_replace( ‘”‘, ”, $keywords );
$meta_string .= sprintf( “<meta name=\”keywords\”the_title, \”%s\” />\n”, $keywords );Worked for me too! Thanks!