使用301重定向在谷歌的Blogger / Blogspot的 [英] Use 301 Redirect In Google Blogger/Blogspot
问题描述
我有一个谷歌的Blogger博客,我的博客。不久以前,我发布一个职位,但现在得到新的数据之后,我更新这个职位和我的那个帖子新的URL。但是,我有很多的反向链接到旧的URL,现在当他们htiing然后他们得到404页这是一个糟糕的搜索引擎优化。现在我想用 301重定向
来旧的URL重定向到新的URL。
I have a Google Blogger blog where I blog. Sometime ago, I posted a post but now after getting new data, I updated that post and I got new URL of that post. But I have a lot of backlinks to that old URL and now when they are htiing then they are getting 404 page that is a bad SEO. Now I want to use 301 Redirect
to redirect old URL to new URL.
为此,我知道,我们必须使用的.htaccess
并添加重定向301 OLD_POST_URL NEW_POST_URL
但谷歌博客不提供修改的.htaccess
那么,如何做到这一点呢?
For this purpose, I know that we have to use .htaccess
and add Redirect 301 OLD_POST_URL NEW_POST_URL
but Google Blogger doesn't offer to edit .htaccess
so How to do this there?
推荐答案
是的,谷歌的Blogger不提供您编辑的.htaccess
文件,但他们刚刚发布了一个选项,使用自定义301重定向
。从这个FEATURS,你可以做你想做的。只需按照下面的步骤来使用此功能。
Yes, Google Blogger does not offer you to edit .htaccess
file but they just released an option to use Custom 301 Redirects
. From this featurs, you can do what you want. Just follow the below step to use this features.
- 转到所需的博客仪表板。
- 进入设置。
- 跳转到搜索prefences。
- 单击编辑
自定义重定向?没有项目修改
- 现在,添加你想要的旧帖子的网址在从输入栏中,您的
URL应该像
/YEAR/MONTH/POST-TITLE.html
- 现在,添加您需要的新帖子的网址在To输入栏中,您的网址
应该像
/YEAR/MONTH/POST-TITLE.html
- 检查永久选项。
- 单击保存。
- 然后点击保存更改。
- Go To Your Desired "Blog" Dashboard.
- Go To "Setting".
- Go To "Search prefences".
- Click "Edit" On
Custom Redirects ? no items Edit
- Now Add Your Desired Old Post URL In "From" Input Section And Your
URL Should Be Like
/YEAR/MONTH/POST-TITLE.html
- Now Add Your Desired New Post URL In "To" Input Section And Your URL
Should Be Like
/YEAR/MONTH/POST-TITLE.html
- Check "Permanent" Option.
- Click "Save".
- Then Click "Save Changes".
我添加以下screenshoot完全理解。
I added a screenshoot below to understand completely.
这篇关于使用301重定向在谷歌的Blogger / Blogspot的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!