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.
Corresponding source code
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. ** **
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 ...
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?
- htaccess - i want to move and redirect a site to a child page in another domain
- apache - redirect processing by [htaccess] (from main domain to sub domain)
- htaccess - regarding the redirect processing from the old domain to the new domain, i want to redirect the page that is "no
- htaccess - redirect to pc page when sp page is accessed
- html - how to redirect with htaccess after measuring with google tag manager or google analytics
- htaccess redirect doesn't work
- how to write htaccess redirect
- htaccess - redirect site redirect settings are not working properly
- server + - mumu domain, how to redirect from lollipop to home server
- [htaccess] about redirect settings from url with parameters to url with parameters
- redirect from https: // to http: // via htaccess
- apache - i can't redirect htaccess
- ssl redirect setting of wordpress htaccess does not work
- htaccess - about redirect
- wordpress htaccess redirect setting does not work
- apache - what is 301 redirect and how to describe htaccess
- html - how to describe 301 redirect in htaccess
- website - do i need a domain contract to redirect?
- php - automate saving permalink changes in wp
- wordpress : Redirect with exception
- website - i want to prioritize and fixedly display wordpress custom post type posts
- php - if you are a member of the wordpress plugin "woocommerce", you want to apply free shipping
- php - i want to enlarge the product image when i click it on the product detail page of welcart
- php - i want to create pagination with numbers using the plugin "wp-pagenavi" that can create wordpress pagination
- about security when creating a membership site with wp-members of wordpress
- htaccess - when you access the url of a subdomain, the address of the domain will be displayed
- wordpress - standard language setting of plug-in "bogo"