musammil

Why new folder is creating while creating a assets

Vote 0 Votes

Hi All,

I am new to MT. I have installed a MT in our staging server and created site. Now I am trying to add assets( folder, files) into the particular site and files were uploaded successfully.
The folder name that I uploaded is : test
When check the folder through Pages-> Folder. I can see the url like http://mystaging.xxx.com/mymtsite/first/test. But When I access this url it show 404 error. Actually the folder was created in the http://mystaging.xxx.com/mymtsite/first/2011/08/17/test.
May I know Why it was created under some sub directory (2011/08/17).

Please let me know. Why the subfolder's are creating while we create a assets.

Reported on Movable Type 5

1 Reply

| Add a Reply
  • Hello,

    Whe presence of the "/year/month/day/" parameter in the URL suggests that we're talking about an Entry, and not a Folder.

    At least, the default archive mapping (URL structure) for Entries is to include also the "/year/month/day/" parameters in the URL.

    For pages, the URL structure should contain only the folder and the page basename, obviously preceeded by the parent website and eventually blog (if the page is posted inside a child blog).

    Kind Regards,
    Mihai Bocsaru

    ----------------------------------
    Web Development
    Movable Type Consulting
    Six Apart Partner

    http://www.pro-it-service.com/
    ----------------------------------

    Movable Type Demo
    http://www.movabletypedemo.org/

Add a Reply

If you need to share template code, replace all the "<" signs with "&lt;" or use this utility.

Forum Groups

1774 6167

Last Topic: Template modules by Zielun on Feb 16, 2012

86 302

Last Topic: website entries by masoud on Oct 26, 2011

1434 5088

Last Topic: Maintenance announcement by Nick on Feb 17, 2012

695 2912

Last Topic: Insert Image / File Fails by Russ Miller on Feb 10, 2012

84 291

Last Topic: How to have some other characters in entry basename automatically written by Afshin Haghighatnia on Dec 22, 2011

174 740

Last Topic: Captcha images rendering slowly by ScottM on Feb 12, 2012

190 568

Last Topic: Analytics Reporting by michael webster on Feb 5, 2012

48 210

Last Topic: An idea and also a request by Afshin Haghighatnia on Jun 29, 2011

64 246

Last Topic: jQuery in MT 5.1 still at 1.4 - why? by perlmonkey on May 25, 2011

code.sixapart.com

137 478

Last Topic: Getting a thumbnail with xpath by Peter on Mar 13, 2011

222 720

Last Topic: Custom Field for Asset Not Appearing by android on Feb 9, 2012