roundaboutmv
Forum Replies Created
-
Forum: Plugins
In reply to: [Yoast SEO] Activating Yoast causing 500 internal server errorsThe .htaccess file has the following, I’m not seeing any obvious problems. Any ideas?
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /blog/
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /blog/index.php [L]
</IfModule># END WordPress
Yup, Force Rewrites is turned on. I’ll ask the client make the header.php writeable to change the title code and see if that method works.
Sure. Nope, that’s not correct. The title tag we have entered in AISEO Pack is Fantastic Faux Wood Fireplace! | Faux Wood Workshop. It’s displaying correctly in the preview snippet, but on the real public side the title tags are being pulled from the theme default, set in the header.php as <title><?php bloginfo(‘name’); ?> <?php if ( is_single() ) { ?> » Blog Archive <?php } ?> <?php wp_title(); ?></title>
What’s strange is that we have a sister site https://www.fauxpanels.com/blog which has the exact same version of AISEO, but IS working properly, and they both have the same settings.
The only difference I could find between the two is that the client made the header.php not writeable in the one that’s not working. Could that be the culprit? Also strange that it’s pulling the correct meta description but not the title.
I am having the exact same problem on our client’s blog https://www.fauxwoodbeams.com/blog. We just updated to version 2.0 and now the title tags are showing the theme default. When I look at the source code I can see the correct meta descriptions for each post, but no title tag anywhere. Help!
gerobe’s solution below worked great for me to exclude the canonical for one page. My question is, what is the correct syntax to have it excluded on two pages? I’m assuming there’s might be “array” involved, but so far everything I’ve tried has broken it.
of function wpseo_canonical_exclude( $canonical ) {
global $post;
if ( $post->ID == xxx) {
$canonical = false;
}
return $canonical;
}
add_filter( ‘wpseo_canonical’, ‘wpseo_canonical_exclude’ );Forum: Fixing WordPress
In reply to: How to post different articles in categoriesSure – no problem. Good luck
Forum: Fixing WordPress
In reply to: How to post different articles in categoriesWhat is your site URL? I had the same problem with a WordPress site I was working on – https://www.masshistory.com. If you look on the front page, there are all types of different buttons to different pages, and like you, each one had to display blog posts only for that page/category.
This is how I did it, hopefully it helps you:
Create a page with the same name as your category.
Make sure each post is assigned to the correct category.
Install the plugin Pages Posts by Rich Gubby
Once installed, go to Pages Posts under Settings and do this:1. Select the page name of the new page you just created
2. Type: Category
3. Category: Now select the category that matches the name of your new page.
4. Choose display excerpt or full post (whatever you want)
5. Show original page text before posts: choose yes or no. Yes will allow you to type in page text above where the posts start appearing. Select no if you don’t want to do that.
6. Put number of posts you want to display per page. The default is 10, but you can change the number.
7. Show as though a home page: Select No
8. Click the Add Page buttonNow repeat this for each category where you want only those posts assigned to appear.
Let me know how it works out!