Found an answer!
It’s an issue with the .htaccess file. I needed to write a rule in the .htaccess file for this exception, after renaming my download folder to downloads. So it still requires the folder to be renamed.
RewriteRule ^download/(.+)$ downloads/$1
This rule should be before the wordpress rules in the file. This makes sure that if someone is looking in the mysite.com/download/folder1 sub-directory, he’s actually redirected to mysite.com/downloads/folder1.
Related Posts:
- redirect index.html inside folder to wordpress page of same name
- Check IF is a “single product page” and Check the “role” for a Redirect
- WP Page and Subdirectory with same name
- How to redirect on particular page in wordpress? [closed]
- Where does the 404 redirection happen?
- How to change redirect after moving a page to trash?
- Static files or dynamic WP pages for “static content”?
- Password Protected Page Not Displaying Content After Entering Password
- Redirect “Sorry, you are not allowed to access this page.” to Home
- How to redirect a page to subdomain?
- Slug is redirecting to 404
- If a page does not exist, include a different page?
- How to redirect a page to another?
- Page redirects to archive
- Unique page URL redirect to file_get_contents() at domain
- Change base URL of pages created by certain users
- Redirect page to default subpage
- Page access only from a specific page in wordpress website
- logout redirect only from admin page
- Folder wordpress page redirect
- How to rewrite a page url
- Custom folder for wordpress page templates
- How should I set up a Tumblr blog at a WordPress Page?
- URL redirect to home page issue in word press site
- WordPress redirects to login page when I enter url.com/index.php
- Share a folder with files
- Cannot use old slug – it just 301s to site home page
- Have subdirectory name act as $_GET or $_POST data
- Directory location of new page
- How to change the default location where new post gets stored?
- Need pages with same names in multiple subdirectories
- Get page id by template
- How to load JS and CSS only on specific Pages using is_page()?
- Listing pages which uses specific template [duplicate]
- How to add jQuery script to an individual page?
- WordPress page edit does not save selected template
- Manual excerpts for pages not working on Search
- Pages 404 in wordpress
- Automatically set page order on create page
- WP is not using the select custom template.php that its selected for a page
- Is it possible to set a page template on a dynamic home page (articles list)?
- wordpress with many custom styled static pages
- Check whether the child page has siblings
- Redirect before post page
- wp_dropdown_pages default value
- A function like is_page() but returns true if on any sub page of given page
- How to get the excerpt of a page before more tag?
- is_page condition not working
- Get all children page ID’s including parent by title
- How to modify the default WordPress ‘Pages’ widget to have titles on the anchor tags?
- How to publish new posts/pages in root instead of subfolder, but keep old structure in place?
- is_home() returns TRUE on page template
- Moved WP from example.com/blog to example.com, cannot add pages now
- Created php page in wordpress – Error Page can not be reached
- Adding New Users to Your WordPress Site for edditign only one page
- Empty folder being created by WordPress, breaks site
- Removing Parent Page URL While Keeping the Navigation Intact
- Passing the JQuery string to Worldpress URL
- Custom page template for multiple pages
- IF user is logged in only show certain page
- hard coded html / php pages on local host directory don’t show up in WP dashboard
- the_content of template page
- Post Fetching Ignoring Sort_Column?
- 404 Page not found
- Styling Previous/Next Pages differently from Index
- production site routes to staging site after cloning
- How to show ‘tags’ in ‘WordPress Pages’ [not Posts]
- How can I change “page” (as in foobar.com/page/5) to another word?
- determine whether content is of type Page or a Post and display accordingly
- Is it possible to restrict access to specific pages in the admin area based on the page slug?
- Make “default” wordpress pages & features unaccessible
- Set a variable to using in redirected page
- How can I edit pages from my local environment?
- Displaying the blog entries in a Page (using get_posts to retrieve the posts)?
- Updating page template pragmatically
- Why can’t pages be categorized / tagged?
- Adding in additional pages into a custom theme
- CSS and JS not loading after uploading onto server
- List of pages of a specific user
- Multiple meta_key with get_pages
- Sup pages can’t be found
- How to use wp_dropdown_pages or wp_list_pages to accomplish a menu like this?
- Get child pages in get_pages function
- Bundle a page with custom url and a function
- Custom Upload Adds Ghost File
- Displaying Content Only in Certain Page IDs Not Working
- Widget & storing a Select box choice
- How to Change the path of a child page?
- Annoying notification when trying to create a new page
- Page stuttering on load
- How To List Sibling Pages And Include The Featured Image?
- WP Template Hierarchy – Need help choosing the correct templates
- disable trashability for certain pages
- how bbPress and buddypress add their own page templates to the page template drop down on the page editing screen
- Redirect url in plugin to somewhere else?
- pages won’t show on front page using loop or pre_get_posts
- List of pages – AJAX load more
- one time visit to the page
- How to display text of a page in home or custom page?
- How do I count the number of pages a user has seen on my site, and force them to log in after a certain amount