WordPress.org

Forums

Change Attachment Page Directory Name (2 posts)

  1. TitanMarketingLLC
    Member
    Posted 1 year 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 1 year 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