WordPress.org

Ready to get started?Download WordPress

Forums

Intranet link to network share, file:// link? (5 posts)

  1. Sug7
    Member
    Posted 1 year ago #

    Hi guys, wondering if anyone can help me, I have setup a WordPress site as an intranet which works great however I can't link to shared files on a network share.

    Within HTML you can create a link using the "file://server name/share name/file.etc" however using the menu feature built in WordPress it won't allow "file://" for links only http:// etc...

    Has anyone got any ideas or a solution to this?

    Thanks in advance.

  2. Johnb81
    Member
    Posted 1 year ago #

    Is there any particular reason why you wouldn't use the http:// URL to keep all things standard?

  3. Sug7
    Member
    Posted 1 year ago #

    Problem is http:// only works with web severs, the internal documents are stored on file servers using network shares.

    I am able to copy the documents across to the WordPress server and then link to them using http:// links no problem. But the issue I have is amendments, every time a document is changed it would mean copying it across every time.

    Our current intranet is developed using basic HTML and works fine with "file://" links.

  4. Pioneer Valley Web Design
    Member
    Posted 1 year ago #

    At a minimum, one needs to call the local executable and then the /switch (in this case the share path/file-name)...this is most often done with a network script, (and permissions)...loading local content in browsers is outdated...let me hack you and load my script in local is the example...it's bad practice and insecure.

  5. Sug7
    Member
    Posted 1 year ago #

    Thanks for the information, does anyone have a secure alternative solution to this ?

Topic Closed

This topic has been closed to new replies.

About this Topic