cricket-hockey Posted November 16, 2015 Share Posted November 16, 2015 HELP! I've changed the url structure of my product pages to: www.domain.com/product-name ...rather than having the category names before the product name. Since doing this none of my product pages work when friendly urls are enabled. All product pages get redirected back to the homepage. If I enable friendly urls and change the structure back to category-name/product-name then it works as before. Why does removing the category name break the friendly url?? Link to comment Share on other sites More sharing options...
NemoPS Posted November 18, 2015 Share Posted November 18, 2015 Are you using any module that gets rid of ids? Link to comment Share on other sites More sharing options...
cricket-hockey Posted November 18, 2015 Author Share Posted November 18, 2015 Yes, but I've found a solution. I had both category and product pages set to {rewrite} I just changed the category settings to {rewrite}- and it works. Ideally I don't want the - after the category name but I guess it won't do any harm if that is the only way around it. Link to comment Share on other sites More sharing options...
NemoPS Posted November 20, 2015 Share Posted November 20, 2015 Yeah, you cannot have them identical, because of the dispatcher's Architecture Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now