• I have a local intranet that uses wordpress. I have links setup to open file locations on our servers using “file://///server/filelocation” This has worked until the last update and now the location give 404 error – it looks like the url is being rewritten to

    "https://wordpressserver/////server/filelocation"

    I can copy and paste the URL in IE and it works fine. Just when clicking from wordpress do I have an issue.

    I cannot figure out what has changed.

    Thanks in advance

    • This topic was modified 4 years, 11 months ago by surf4profit.
    • This topic was modified 4 years, 11 months ago by surf4profit.
    • This topic was modified 4 years, 11 months ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Everything else WordPress topic
Viewing 6 replies - 1 through 6 (of 6 total)
  • I think you might want to setup a local intranet domain so you can access things properly rather than trying to use a relative file URL. Your IT team should be able to set this up for you where you could then have https://anything.anything for your domain name.

    Thread Starter surf4profit

    (@surf4profit)

    That is a possibility – but this worked for years prior to the upgrade about 2 weeks ago.

    Thread Starter surf4profit

    (@surf4profit)

    I have determined that this upgrade is adding the website URL from the settings Site Address (URL) to at least this type of link

    “a href=”file://///fileserver/EntrancesCalendar/Calendar.docx”

    It is rewriting to to the following

    https://Site Address/////fileserver/EntrancesCalendar/Calendar.docx”

    Is there any work around?

    If I change the address in that setting it adds those to the rewritten URL address it tries to go to.

    • This reply was modified 4 years, 11 months ago by surf4profit.
    • This reply was modified 4 years, 11 months ago by surf4profit.
    • This reply was modified 4 years, 11 months ago by surf4profit.
    • This reply was modified 4 years, 11 months ago by surf4profit.
    • This reply was modified 4 years, 11 months ago by surf4profit.
    • This reply was modified 4 years, 11 months ago by surf4profit.
    • This reply was modified 4 years, 11 months ago by surf4profit.
    • This reply was modified 4 years, 11 months ago by surf4profit.
    Thread Starter surf4profit

    (@surf4profit)

    It appears the be stripping the – file: out of the ‘a href’ html line

    a href=”file://///fileserver/EntrancesCalendar/Calendar.docx”

    becomes

    a href=”/////fileserver/EntrancesCalendar/Calendar.docx”

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    This is not an answer to your question, but why do you have so many slashes there?

    Normally, a file link would be file://fileserver/whatever.doc.

    So, why do you consistently have like 5 slashes where you should only have two?

    Thread Starter surf4profit

    (@surf4profit)

    It is definitely striping the file: portion of the url and making it http:. It does it for all new pages and posts. If you embed the link, when you click on it – wordpress rewrites it to http:

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Launching file location after upgrade to 5.3.2’ is closed to new replies.