WordPress.org

Forums

The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Change Attachment Page Directory Name (2 posts)

  1. TitanMarketingLLC
    Member
    Posted 2 years ago #

    When I link an image to an attachment page /attachment/ is in the url. I would like to change
    http://mysite.com/mypage/attachment/myattachment
    into
    http://mysite.com/mypage/newfoldername/myattachment

  2. bcworkz
    Member
    Posted 2 years ago #

    You need to define a new permastructure. See Function_Reference/add_permastruct.

Topic Closed

This topic has been closed to new replies.

About this Topic