When you enable permalinks in WordPress, it creates an htaccess file in whatever directory it’s located in. Since WordPress is installed in the root directory, there will be an .htaccess file there that enabled permalinks.
It is possible that the rewrite rules that WordPress is producing are interfering with your install of ecommerce.
If ecommerce doesn’t use an .htaccess file in the directory it’s installed to, you can create a blank one in the ecommerce folder.
You may need to add this to your .htaccess file
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /ecommerce_folder/
</IfModule>
This will prevent whatever rewrite rules wordpress is using from affecting that folder.
You may also want to see this post:
How to avoid wordpress permalink rules to inherit in a sub-folder
Related Posts:
- Removed and Reinstalled WordPress, Redirect Broken now
- How does WordPress handle permalinks?
- Removing the redirect after changing a page’s slug
- 301 Redirects for Changed Permalink Structure & Category Base
- URL rewrite based on a custom field value
- How can I force WordPress to redirect to canonical permalinks?
- How do I turn off 301 redirecting posts (not canonical)?
- Subdomains to pages
- Redirect old permalinks to new permalinks
- Passing variables through permalink structure
- How can I include a query string with get_permalink
- Changing pemalink structure to /%post_id%/%postname%/
- htaccess or redirect to cloak portion of a link?
- Auto 301 to full post permalink? (using /posts/%post_id%/%postname%)
- WordPress on VirtualBox – no pretty permalinks
- Stop redirecting to posts not in a category / duplicate slugs
- WordPress 3.4 Permalinks Redirection Problem
- Random Alphanumeric Key URLs
- Redirect old permalinks with Month and name to Post name on new site
- Rewrite-Rules not working on a vhost, everything goes to index.php
- Using WP rather than .htaccess to redirect pages/posts
- Does WordPress send a 301 header message when you change permalink structures?
- .htaccess – Redirect duplicated post ended in ‘-number/’ to the same url without the -number/
- Top level Pages redirecting to homepage!
- WordPress redirection problem after moving to a new server?
- Specific URL Rewriting with parameters in wordpress
- How to 301 all posts
- WordPress within specific sub-directories, implicitly not root
- Post incorrectly displaying as page
- Changes to .htaccess not updating the file (old rules still take effect)
- wp_logout_url redirects to incorrect page because of pagination
- Need Help Correct Regular Expression Redirect Code
- Infinite redirects after changing the permalink of a page
- Does rename of page slugs create 301 redirects from old slug to new (same as for posts)?
- Custom Permalink
- Changing the post date without causing 404 error
- Change permalinks on move from one site to another
- List / Get post redirects
- Redirect /%year%/%monthnum%/%day%/%postname% [closed]
- Redirect a Blogger Page URL to wordpress
- Redirecting all posts after changing URL structure with htaccess
- Redirect all posts permalinks from “.html” to “/”
- WordPress 4.4 old permalink redirect
- how to redirect old blog post urls when permalinks are changed
- 301 Redirect for Non-Date Based URL’s
- Passing the JQuery string to Worldpress URL
- How to use different domains for different blogs hosted in the same host in subdomains with .htaccess
- How do I make 301 redirection from `/%post_id%/` to `/%postname%/`?
- Freeze child page URLs so parent permalink changes don’t give 404s?
- Permalinks settings
- How can I make internal anchor links work with WordPress’s permalinks?
- Resolve 404 on posts without category
- What causes /pages/ to appear in URI, and how to remove it?
- WordPress Installed But Not Showing Up! [closed]
- Media/attachment urls don’t redirect with fake URL structure
- Test site pages go to main site
- Comment author url link is wrong? How to change from authors/ to author/
- Strange behavior with a redirect loop – involves WPML multi-language plugin
- Redirect From Url To Url
- I’ve removed my /author/ slug but it clashes with new and existing pages. Any fixes?
- Redirecting “wrong” but working links to their canonical URL in order to prevent search engine penalties (e.g. /123/ at the end of URLs)
- WordPress not generating .htaccess but tells me that (Permalink structure updated.)
- After cloning WP do a subdirectory, I can’t access it
- change WordPress permalinks and redirect new urls 301
- Getting an ID from a URL, why can WP do this itself, but none of of the functions provided get it right?
- Custom permalink structure with %postname% in front of domain name
- Configuring Home Page Address
- Redirect after permalink changes
- Passing variable as permalink URL
- Blogger To WordPress Permalink Redirection
- new page redirect to old page which had the same permalink
- All pages load the home page if pretty permalinks are used
- How to redirect old permalinks from https://exmaple.com/category/post_id to https://exmaple.com/category/post_id.html
- Find all URLs for a post
- How can i fix my permalinks?
- remove SLASH on single_post but KEEP on categories and parent pages
- where can i see wordpress automatic redirect History
- How to redirect old permalinks to ones generated by [WP-Hashed-ID] plugin?
- Redirect old /%category%/%postname%/ to just /%postname%/
- Extending page urls without getting a 404
- why wordpress keeps redirecting to old page after deleting it?
- 301 redirects after changing permalinks
- How to experiment with permalink structure on a select number of posts
- Disable “similar permalink” redirect [duplicate]
- Change permalink structure with post id
- Why aren’t my posts being saved or published?
- Changed Permalinks settings, how do I redirect posts on Nginx?
- How to hide slug numbers with htaccess
- All pages lead to home
- Redirect Pretty Permalinks to Ugly Permalinks
- WordPress permalink still not working (error or not understood?)
- Pagination is not working, how to trace it properly?
- redirect old pages by .htaccess
- My wordpress site must be being affected by outside sources [duplicate]
- Why are all pages redirecting to homepage when using custom permalinks?
- Redirecting From An Old Permalink Structure
- .htaccess regex for redirect subdomain to root domain & redirect old permalinks
- 404 posts error after 301 redirection of changed category / tag base
- 301 Redirect posts to newly added categories
- Pages resolve at different URLs (different capitalizations)