Ming Sheu
Forum Replies Created
-
Forum: Plugins
In reply to: [Yoast SEO] [Plugin: WordPress SEO by Yoast] Disable title rewriting by YoastHave you flushed the cache to make sure you’re viewing the updated page titles?
Forum: Plugins
In reply to: [Yoast SEO] [Plugin: WordPress SEO by Yoast] Disable title rewriting by YoastWhat about the WordPress SEO fields per post or page?
Did you uncheck “Force rewrite titles”?
Do you have a sample of the output or a link to the site?
Forum: Plugins
In reply to: [Yoast SEO] [Plugin: WordPress SEO by Yoast] Disable title rewriting by YoastI don’t believe there’s an “option” to turn features on/off. However, it you clear out all of the “title” fields then the plugin will not rewrite the titles.
Clearing out the title templates from the settings page is easy.
Clearing out the titles per post/page if you have fixed titles will take time unless you’re familiar with your database.
Forum: Plugins
In reply to: [Yoast SEO] [Plugin: WordPress SEO by Yoast] page titleTake a look at this thread
It’s likely you have a similar issue with the theme code outputting more than just wp_title in the html title tag.
Just checked your site and the title tags look clean. Did you get it working or moved to another plugin?
Home page is custom string and the other pages are title | sitename
Hi Piet,
If you are not using force rewrite and your header file is coded as suggested then you have a completely different problem than the original poster.
Please start a new thread with as much details as you can and we’ll go from there.
I think I track down the problem as I happen to be working on another site. I wasn’t experiencing the issue you were having because I have other minification (stripping new lines among other things) plugins installed.
When using “force rewrite” the SEO plugin outputs to buffer then at the end extracts the buffer and does a preg_replace to substitute the entire html title tag. The regex pattern doesn’t handle new lines. So, if the theme is outputting the title across multiple lines, the regex won’t match and therefore it won’t rewrite the title.
I put in a minor patch that seems to be working on my sites and for my clients. I’ve also reached out to Yoast to submit the edit for review and inclusion in the next update.
Here’s the patch. Use at your own risk and no warranties are expressed or implied.
In plugins/wordpress-seo/frontend/class-frontend.php around line 830
Replace
$content = preg_replace('/<title>(.*)<\/title>/','<title>'.$title.'</title>', $content);
With
$content = preg_replace('/<title>(.*)<\/title>/sU','<title>'.$title.'</title>', $content);
The minor edit is the regex pattern modifiers that I added, sU.
s = treat string as single line
U = ungreedyNo, I’m not affiliated with Yoast or this plugin.
Do you have other plugins installed? Have you tried disabling all other plugins to see if there’s a conflict?
No, it’s not a specific issue with Multisite. I run Multisite and have validated the settings on a Multisite install. That’s not to say that it couldn’t be something related to your specific configuration.
It seems like you have all the right settings and the plugin is hooking into wp_title as expected. Even the output is expected and correct as you would concatenate wp_title and what is in the header.php code of the twentyeleven code.
The issue is that the “Force rewrite title” is not working for you. At this point, I think you need to look at server logs to see if there are errors. Or, start debugging the code to see if you can track down the issue.
Forum: Hacks
In reply to: Can Category-based posts appear on static pages?Do you need anything special on the “Column” pages? Like custom author bios or layout?
If not, have you considered treating each Column as a Category?
Basically, set each Column as a WordPress Category. Then whenever someone wants to post to that Column they just need to post to that category. This way you’re not limiting each column to just one author. If you need to further categorize the posts, you can always create sub-categories or use tags.
Then just use the default category pages in your theme as the Column pages. And, then add the category pages to you menus.
Doing it this way mean you are losing some customizations capabilities but maybe it’s good enough? Depending on your theme, you may need to make minor tweaks to change “category” to some other label that makes more sense?
This is not the best way or full featured way to do it but it’s worth considering, especially if your on a budget or have limited dev skills/resources.
Here’s an example of a site that does the “Columns” by category strategy.
Just to verify some settings
1) You have a Page created to be the home page?
2) Settings -> Reading -> Static Front page is set for the home page you created?
3) SEO -> Titles -> Force rewrite title = Checked?
4) SEO -> Titles -> Homepage & Front page = “You can determine the title and description for the front page by editing the front page itself “
5) SEO -> Titles -> Page -> Title Template = %%sitename%%% (for testing only)
6) Page -> Edit Page -> SEO Title = blank (of the page you are using as the static home page)Go to home page, what is the page title?
For testing
SEO -> Titles -> Page -> Title Template = blank
Page -> Edit Page -> SEO Title = Home (of the page you are using as the static home page)Go to home page, what is the page title?
When you turn on “force rewrite titles” and set the title template to %%sitename%% does it still outputs more than sitename to the title tag? Are you using the latest version of the plugin? Any errors in the logs?
Do you have force rewrite on now?
Looking at the site it looks like you have it off and your Home page template settings is just the custom string and then the theme is appending sitename | tagline
I’ve tested force rewrite on WordPress SEO 1.1.5 and Twenty Eleven 1.3 and it works on my install.
Forum: Plugins
In reply to: maximum execution time of 30 seconds exceededDid you read the doc and test by adding set_time_limit() to your plugin code?
Forum: Plugins
In reply to: WP SEO and WPFolio 1.75All that the WPFolio code does is output the title based on the page type. If you are happy with how the WordPress SEO titles work then there’s no problems. Your change won’t break anything.