• Hello to all
    I have an index.html file in a folder and have that image to link.
    I add to my wordpress page with iframe code. How do I restrict access to this folder outside of wordpress.

    -wp-admin
    -wp-content
    -mydirectory-index.html
    ————-subdirectory
    ————————–img001.jpg
    ————————–img002.jpg

Viewing 1 replies (of 1 total)
  • Perhaps someone else might help, but I think if you add a blank index.html page to the subdirectory, wordpress & htaccess will do the rest.

    So it would be like this
    ————-subdirectory
    ————————–index.html (blank)
    ————————–img001.jpg
    ————————–img002.jpg

    Let me know if this works. Its simpler than having to go hack your htaccess file.

Viewing 1 replies (of 1 total)
  • The topic ‘How do I block running index.html in the specific folder except from wordpress’ is closed to new replies.