• Welcome to the eight year blog, I'm glad to meet you at the right age!
  • Due to the theme, QQ login partners will display the default avatar in the comments. Please go to the personal center and upload the avatar again.

WordPress automatically modifies. Htaccess as the default solution

Website tips barben 2 years ago (March 09, 2019) 954 views 0 comments

Problem recurrence:

Following yesterday's article《 How to 301 redirection to forcibly jump HTTP to HTTPS 》After that, I felt the real fragrance of changing documents.

however

This morning, let's open the website

Wow, are you serious

resolvent:

Open the host and have a look, yesterday's worry has become a reality! Change 301 jump before how, today is how to open!

WordPress's. Htaccess file is often changed. It may be that installing plug-ins or clicking on some settings in the background (such as fixed link, even if you have not modified any value) will unconsciously change the. Htaccess file.

But!

The. Htaccess file only changes the contents from "begin WordPress" to "end WordPress"!

That is to say, I added the wrong position yesterday

In other words, the correct way to open is Add after end WordPress As shown in the figure:


Eight blogs that year, we've been there all the time
If the author does not indicate the original article, please indicate the link and source of this article
WordPress automatically modifies. Htaccess as the default solution - https://www.barben.cn/skill/118.html
Like it( seventeen )
Post my comments
Cancel comment
expression Mapping Bold Strikethrough Center Italics

You need to bring your nickname and email with you in the year of eight!

  • Nickname (required)
  • Email address (required)
  • website