• Resolved winterstreet

    (@winterstreet)


    We have TablePress installed on a site. The site was developed using the IP address/~username. Once it was ready to go live I ran a query to update the url in post_content. In order to update the tablepress urls I had to escape the slashes. This all worked fine (I thought), but now if I’m logged into WordPress I get the correct URL, if I’m logged out I get the old url. I have tried it on multiple browsers with the same effect. I have also cleared my cache etc. If I go into the table to edit I see the correct URL also. If you click on a board member you’ll get a 404 error. http://www.sierrafund.org/about/board-and-staff/

    Any help would be appreciated.

    https://wordpress.org/plugins/tablepress/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    The reason for this is that TablePress caches the rendered table HTML code to save some processing time when a user visits a page with a table. That cached copy was however not changed when you changed the URL in the database.
    Now, as the cache is cleared every twelve hours, this problem should have resolved itself by now. Can you maybe check again? Otherwise, you can also clear the cache for a table manually be just saving it again.

    Regards,
    Tobias

    Thread Starter winterstreet

    (@winterstreet)

    Okay thanks, seems fine now like you said, and thanks for the quick reply.

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    no problem, you are very welcome! 🙂 Good to hear that this helped!

    If you want to double-check, you could search for the old URL in all “WordPress Options” (the wp_options table in the database) where the name starts with “tablepress_”. That’s where the table HTML is cached for twelve hours.

    Best wishes,
    Tobias

    P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Base URL changes depending on logged in or not’ is closed to new replies.