Update your .htaccess in WordPress root folder with below code
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /foo
RewriteRule ^/foo/app\.php$ - [L]
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
Related Posts:
- issue with wordpress [wp-admin] redirects, when using kubernetes ingress hosting two wordpress websites using path
- Why wp redirects me to wp-login.php when I visit a rewritten wp-admin URL?
- How to redirect/rewrite all /wp-login requests
- Change Login URL Without Plugin
- WordPress in sub directory wp-admin problem
- How to change “wp-admin” to something else without search-replacing the core?
- Custom rewrite rule for backend/admin?
- Prevent /wp-admin/ from redirecting to homepage?
- How do I host WordPress on a hidden domain through a reverse proxy?
- Change pagination url format
- Weird urls after moving site from local env to a server
- 403 Error when using save buttons
- Can’t get pretty permalinks to work without index.php
- How can you change the admin dashboard URL without symlinking?
- WP-Include rewrite directory
- adding the category to the admin column for a custom post type?
- Change page title in admin area
- How to filter by post-format in admin?
- Securing wp-admin folder – Purpose? Importance?
- Archive page with multiple taxonomies rewrite
- Preserving $_GET parameter while using custom Rewrite Rule
- Removing taxonomy base using WP rewrite
- URL Rewrite + Page + Custom Post Type = Unusual Redirect
- How to show an error message after publishing a post?
- Set “Display name publicly as” to be usernames by default
- Moving wordpress from localhost to server throws admin panel access error?
- How to disable admin flyout menus?
- 500 Internal Server Error after Register dialog, but with successful registration
- Change Dashboard url
- Change Query String to pretty permalink
- Block access to wp-admin
- CDN + WP Admin Query – .htaccess redirection
- Users Unable to Access Dashboard/Posts/Pages
- url rewrite parsing a custom url parameter not working
- How to add custom variable in url without redirect?
- Password reset link becomes invalid immediately [closed]
- special characters after saving draft interpreted as �
- WordPress and bbPress Login conflicts?
- How to catch Rewrite rules then display a specific post?
- How can I use a variable to include a linked image?
- Add css code in admin_enqueue_scripts
- Why isn’t my email showing up as registered with WordPress anymore?
- Add custom list menu on Posts page in admin panel
- Does it matter if two people are using the same WordPress admin account?
- Rewrite URLs – Custom Post Type – Post Slug, Taxonamy Slug
- URL Rewriting for PHP script on an image URL
- redirect to a dedicated sign in page
- How to redirect specific URL to Subdomain
- How do I change the custom taxonomy slug to be the same as the custom post type slug?
- 404 redirect wp-login and wp-admin after changing login url [closed]
- Rewrite API -Adding a parameter before the slug
- More than one admin logged in?
- How do I let logged out users see the dashboard?
- Register page in admin area
- “WordPress installations is currently out of date” problem with difficult situation [closed]
- load-{$page hook} and returned parameter
- Custom plugin admin page issues
- Making Comments, a sub_menu in admin menu
- Without using wordpress cms Is it possible to signup from my html page
- Page get parameter doesn’t work with is_single() function
- Adding URL prefix for foreign language support
- How can I add rewrite rules to a class-based plugin?
- Rewrite specific action url
- Using URL rewrite to add custom URL for custom post type
- How to add custom CSS and JavaScript file for wp- admin dashboard (backend)
- GoDaddy hosting wp-admin problem
- Add custom fields to a page template, admin side
- Error messages & can’t reach admin after upgrading to 3.4.1 WordPress
- Newly created user role not displaying on users screen
- Could not override the url in wp-config file
- WordPress Admin extremely slow when other admin logged in
- Rewrite rules for sub category (child product categry & grand-child)
- wordpress path generation from rewrite rule
- multiple URLS for the same page
- WordPress Migration Post Problems
- Can’t access WP-Admin via HTTPS
- Ugly URLs when there’s pagination
- wp-admin and wp-login.php not Accessible after Cloudflare
- Get rendered HTML of Page in Admin Area
- Having SSL enabled on admin, but disabled on post preview and live preview?
- Can I get programmatic access to wp-admin?
- Strange URLs admin area bug
- wp.svgPainter cannot init error, causing issues with admin panel
- mysql_escape_string PROBLEM
- Cannot access my wordpress website
- Custom comment action
- page not found for example.com/custom-post-name
- Problem with admin columns
- Custom pages with plugin
- get_current_screen – ‘Trying to get property of non-object’ error
- Added fields in quick edit screen need to update at the moment
- Why won’t this rewrite rule work?
- Modify admin panel tab position
- Getting 404 when using rewrite rule for posts
- not able to add thumbnail custom field in dropdown
- No wp-admin, wp-config, or .htaccess folder/file
- Taking over a WordPress site
- wordpress admin is broken [closed]
- WordPress add parameters with friendly url structure
- LinkControl not showing suggestions when used on admin page