Home>

I'm a beginner and I didn't understand any questions, so I searched for it myself, but I couldn't find a solution and I would like to write a question that I would like to ask for your help.
Thanks for your support.

I want to achieve
I would like to know how to redirect to display all articles in url without/wp.

I am writing an article with wordpress.
The other day, I noticed that the domain was followed by/wp, and I was able to investigate and remove it.
When I entered the url directly in the browser and checked it, the article was displayed with the url (domain only) ** with **/wp.
I thought the problem was solved, but when I searched by article name the day before yesterday, it jumped to the url with **/wp and 404 was displayed. ** **
Corresponding source code
nothing special.
What I tried

● Applying Redirection tools
Investigate and use wordpress "Redirection" plugin
I tried to redirect to domain/wp → domain.

However, one article jumps to an article with domain/wp and 404 is displayed. For one article, only the domain jumped to the article and the article was displayed.

It's unclear why some articles have redirects and some don't.

● Overwrite .htaccess (not implemented)
I also found a way to overwrite .htaccess, but I couldn't find a way to redirect from domain/wp to domain only (directory one level up from/wp).

-Code to change the directory (domain/aaa → domain/bbb)
・ Code to change domain (http: 〇〇〇.com → http: ××× .com)
I found two of them ...

Supplementary information (FW/tool version, etc.)

WordPress 5.4.4
Redirection version 4.9.2

  • Answer # 1

    https://www.google.com/search?q=wordpress+wp%E3%83%87%E3%82%A3%E3%83%AC%E3%82%AF%E3%83%88%E3% 83% AA +% E6% B6% 88% E3% 81% 99&oq = wordpress + wp% E3% 83% 87% E3% 82% A3% E3% 83% AC% E3% 82% AF% E3% 83% 88% E3% 83% AA% E3% 80% 80% E6% B6% 88% E3% 81% 99&aqs = chrome..69i57j0i333l3.14277j0j1&sourceid = chrome&ie = UTF-8
    Is it like this?