Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
642 views
in Technique[技术] by (71.8m points)

.htaccess - Use 301 Redirect In Google Blogger/Blogspot

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.

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?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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.

  1. Go To Your Desired "Blog" Dashboard.
  2. Go To "Setting".
  3. Go To "Search prefences".
  4. Click "Edit" On Custom Redirects ? no items Edit
  5. Now Add Your Desired Old Post URL In "From" Input Section And Your URL Should Be Like /YEAR/MONTH/POST-TITLE.html
  6. Now Add Your Desired New Post URL In "To" Input Section And Your URL Should Be Like /YEAR/MONTH/POST-TITLE.html
  7. Check "Permanent" Option.
  8. Click "Save".
  9. Then Click "Save Changes".

I added a screenshoot below to understand completely.

enter image description here


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...