WordPress.org

Ready to get started?Download WordPress

Forums

Change Attachment Page Directory Name (2 posts)

  1. TitanMarketingLLC
    Member
    Posted 3 months 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 3 months ago #

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

Reply

You must log in to post.

About this Topic