Wordpress 作者页面 link 重定向到首页
Wordpress author page link redirets to top page
我想弄清楚这个网站的作者页面有什么问题 link。 author.php 正确放置在主题文件夹中。
这是我必须link的唯一代码:
<p class="autor">por <?php get_the_author_posts_link(); ?></p>
这是作者页面的示例 link:
https://aoriente.com/news/author/goncaloasm/
这里是 post。作者link 只是在标题下面咆哮:
https://aoriente.com/news/688/
可能出了什么问题?
作者页面可以通过 Yoast SEO 插件 enabled/disabled。
您应该查看 Yoast SEO 设置以启用它。
我们使用了您的插件,其中 Wordpress 作者页面 link 重定向到首页
plugin- https://wordpress.org/plugins/wordpress-seo/
https://wordpress.org/plugins/redirection/
https://wordpress.org/plugins/simple-301-redirects/
将旧域重定向到新域
Here’s the code that you will need to add to the .htaccess file of the
old domain.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTP_HOST} ^olddomain\.com$ [OR]
RewriteCond %{HTTP_HOST} ^www\.olddomain\.com$
RewriteRule (.*)$ http://www.newdomain.com/ [R=301,L]
</IfModule>
我想弄清楚这个网站的作者页面有什么问题 link。 author.php 正确放置在主题文件夹中。
这是我必须link的唯一代码:
<p class="autor">por <?php get_the_author_posts_link(); ?></p>
这是作者页面的示例 link: https://aoriente.com/news/author/goncaloasm/
这里是 post。作者link 只是在标题下面咆哮: https://aoriente.com/news/688/
可能出了什么问题?
作者页面可以通过 Yoast SEO 插件 enabled/disabled。
您应该查看 Yoast SEO 设置以启用它。
我们使用了您的插件,其中 Wordpress 作者页面 link 重定向到首页
plugin- https://wordpress.org/plugins/wordpress-seo/
https://wordpress.org/plugins/redirection/
https://wordpress.org/plugins/simple-301-redirects/
将旧域重定向到新域
Here’s the code that you will need to add to the .htaccess file of the
old domain.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTP_HOST} ^olddomain\.com$ [OR]
RewriteCond %{HTTP_HOST} ^www\.olddomain\.com$
RewriteRule (.*)$ http://www.newdomain.com/ [R=301,L]
</IfModule>