musicshahram
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: WP 4.6 issue : website Crashed totallyto hide ini_get_all errors u may go to wp-includes > load.php and search for ini_get_all then add this mark @ at the begining it surpasses errors .. should look like below in wp 4.6
if ( ! isset( $ini_all ) ) {
@$ini_all = ini_get_all();
}dear Khang Minh through some info you gave id did it finally using mysql.
though it’s a little extra burden on loading .. so if there was a something like your default system to do the job let me know.hello thank for helping ..
i did so and first there was error >
BWP Google XML Sitemaps Error: There is no class named BWP_GXS_MODULE_page in the module file page.php.changed this to BWP_GXS_MODULE_POST this BWP_GXS_MODULE_PAGE ..
then this error >
BWP Google XML Sitemaps Error: page.xml does not have any item. There are no public Page. Enable/disable sitemaps via BWP Sitemaps >> XML Sitemaps.re-enabled the plugin and re-enabled page option flush ctr+f5 .. the same error
sorry for not creating new topic ..
am i write? > just created modules_custom folder beside the original module folder then copied the post.php from module into modules_custom and just renamed the file to page.php ..
but should i write something i functins.php file ? nothing happend yet..well i used to have many my program based pages which are nonsenses to seo and also i always use many posts but gategoriesed below a top page .. u see as pages can use template that’s why in some aspect pages are important to build my site .. any idea sir?
by the way in normal wp query these pages could be found in ‘noindex’ cat .. and just to say it may help the other plugin ‘google-sitemap-generator’ can understand pages in the category ..
after all if any help to use >
get_post_meta( get_the_ID(), ‘noindex’, true) i really appreciate ..and i use below func in finctions.php to enable cat for pages but perhaps it’s after plugin load so should i code something somewhere?
function add_category_to_pages() {
// Add category metabox to page
register_taxonomy_for_object_type(‘category’, ‘page’);
}
// Add to the admin_init hook of your theme functions.php file
add_action( ‘admin_init’, ‘add_category_to_pages’ );found something .. when i exclude the noindex category post’s belonging to that category are not indexed good..
but still pages belonging to ‘noindex’ category are indexed.. is there something i should do ?by the way when excluding by some words from post’s title it works like a charm .. just to clear > Exclude terms when i choose a category it can not filter post’s belonging to the category out..
if i am right i did > Exclude items >select a taxonomy >
i selected ‘category’ then in below box typed ‘noindex’ if found it and i pressed the button exclude selected items and checked the ‘also excludeposts that …
now even in show/hide excluded items i can see ‘noindex’ but again in sitemaps nothing changes.. flushed again .. again pages belonging to noindex are indexed .. please any idea?hi there .. good plugin .. the only problem is see i can not find out how to exclude by category .
for example i need to exclude all post or pages in catetory ‘noindex’
any help ?Forum: Plugins
In reply to: [WP Super Cache] Selective interval cachinethanks , Object caching helped me for now.. still that’s interesting to me sure someone will add selective interval duration to his cache system, can u please give an idea of how to imitate loading a page? i mean not opening every page in my browser.. with that suggestion using ajax or something, i will do it with some codes but i don’t know “how to start the visiting the pages ” i mean actually if i visit every page in my browser it will be cached, ok. but how to virtually visit a page? not in browser..? if you know please help..
Forum: Plugins
In reply to: [WP Super Cache] Selective interval cachinewell it depends on many things, first of all preload caching is so well to speed up for users and also for bots.. problem is when preload starts for the duration of preloading ( half an hour more or less) web server’s cpu and memory is too busy with preloading and cant handle bots or visitors..
now consider super cache has option ‘Selective interval cache’:
let’s say I have 240 pages, then I’ll set the super cache to preload one page in every six minute! so in one hour 10 page will be preloaded without any stress on the server. in a 24 hours cycle all my page will be refreshed without any pressure on server to lose bots or users.. depending on different servers and web sites you my apply different cycles not just 24 hours etc..Forum: Plugins
In reply to: [WP Super Cache] Selective interval cachinethank , good idea. but in practice may u please write some codes.. what to
load where to load? and will it be automated?