2.0, keep image path as /images instead of /content/images?

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
12 năm cách đây
see topic - any recommendations on a way to do this, or if it might be a bad idea (ie, potential bad repercussions from it?) id like to keep the image urls the same as my olders version, as the current ones are already indexed in google... plus I like to keep the path a bit shorter. TIA
12 năm cách đây
Interesting. I'm not sure it can be done though !

In MVC3, I've always seen the images folder inside the Content folder.
12 năm cách đây
ill research and report. worst case ill add a rule to the IIS rewriter, but that would be a kinda dirty solution.
12 năm cách đây
1. Open \Libraries\Nop.Services\Media\PictureService.cs file
2. Search for 'content' keyword (for example, "content\\images\\thumbs" on line 561)
3. Remove 'content\\' or 'content/'

P.S. Don't forget to create new /images directory
12 năm cách đây
Thanks a bunch!
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.