Zen Follower
- Join Date:
- Apr 2013
- Location:
- north carolina
- Posts:
- 110
- Plugin Contributions:
- 0
Strange issue with redirecting from another website
Hi,
My store used to reside on another URL as part of a WordPress website (on an Apache server). This week I re-launched it at its new stand-alone Zen Cart location (also Apache) and set up htaccess Redirect 301 on the old website for all of the store pages. Alas, today I noticed that all except home page gave me 404 errors. I was able to fix product and utility pages (contact, shipping, etc.), but all category and subcategory pages are still ending up not being found. (THANK YOU for the sitemap on the "not found" page, by the way!)
On the old website (using an OsCommerce-based plugin for WordPress), category addresses looked like this:
/OLD_SITE/STORE/index/cpath/1/ (or whatever the category ID was)
When categories are accessed by clicking links on the new website, they are found just fine and their URLs look like this:
/NEW_SITE/meaningful-category-name/ (thanks to Ceon URI Mapping)
However, when they're accessed through the redirects from the old website, they are not found and try to look like this:
/NEW_SITE/index/cpath/1/
I set up the htaccess Redirect 301 on the new website to send each /index/cpath/#/ to its corresponding meaningful URL, but although that solution worked for the product and utility pages, it did not work for the category/subcategory pages.
How can I fix this please?
Thank you,
Magz