ralcus
Forum Replies Created
-
I’m not sure the best way to do that. Wouldn’t you only need the plugin directory? or do you store files in wp-content?
If you do store stuff in the actual wp-content folder maybe you can get the plugin directory using plugin_dir_url() and then go up one.
Not sure if this is the most ideal way to do it but as far as i know plugins always have to be in the wp-content folder whether of not that wp-content folder has been moved somewhere else or renamed.
sorry the link should have been: http://yoursite/wp-admin/admin.php?page=wpseo_titles#top#post_types
Also all the template tags you can use can be found here: http://yoursite/wp-admin/admin.php?page=wpseo_titles#top#template_help
if you go here: http://yoursite/admin.php?page=wpseo_titles#top#post_types you can set the default titles for all your different types of content.
so if you set this for posts: ‘%%title%% – your site’ all of your sites posts would conform to that. Much better then editing each individual post.
Yeah sorry i was wrong about the ‘force rewrite title’ thing.
I’m still a little confused as to why it is messing up the titles but i think i’ve found out how to fix it.
My problem was in my theme files. In your header.php where you use wp_title() function make sure you have a value set that is not null and not an empty string for the first argument. This is the separator.
This is what i have set
wp_title( ‘–’, true, ‘right’ )
This – is a hyphen. I found that if i just used ‘-‘ it ended up showing two hyphens. Good luck.
I had this problem too, if you go to the wordpress seo settings and then to the ‘Titles & Metas’ page there is a link labeled ‘Force rewrite titles’
Ticking this seemed to sort the problem out for me.
Forum: Plugins
In reply to: [Batcache] batcache is not workingthe newest version of the plugin has styledev’s fix in it and debug mode is turned on by default so it will always output the message just above the header…
Unless you are logged into the site as administrator (aka cache exempt visitor), something i just realized after some head scratching and then finally actually reading the code
// Never batcache when cookies indicate a cache-exempt visitor.