Forum Replies Created

Viewing 15 replies - 46 through 60 (of 112 total)
  • Plugin Author Team Staatic

    (@staatic)

    Hello Edson,

    Thank you for reaching out and for providing a detailed explanation of the issue you’re encountering with your blog’s permalinks. We understand your concern regarding the URL structure and its potential impact on SEO.

    Staatic is designed to adapt to the permalink structure you’ve configured within your WordPress settings. If your permalinks are set to include “.html” at the end, like “/%postname%.html”, Staatic should normally generate links that exactly match this structure, resulting in URLs like “/some/page.html”. The presence of “/some/page.html/index.html” on the filesystem is due to how Staatic organizes content for web delivery. This technical detail is primarily for serving the files correctly and should not affect how your URLs appear to visitors or search engines.

    However, the issue you’re experiencing, where a trailing slash is added to your URLs, making them appear as “/year/month/blog-post.html/”, is something we can certainly look into. This behavior isn’t expected based on the permalink structure you’ve described.

    To help us diagnose and address this issue more effectively, could you please provide us with your site’s Health screen information? This can be found by going to Tools > Site Health > Info (tab) in your WordPress dashboard. There, you’ll find a button to copy the information to your clipboard. Once you have that information, please send it to us at contact@staatic.com.

    Additionally, we appreciate you sharing the C# program you created to address this issue.

    Thanks in advance for providing the requested information.

    Plugin Author Team Staatic

    (@staatic)

    @angelseee, we’ve made progress on the issue you reported. Our team was able to reproduce the problem and has developed a solution. This fix has been included in the newly released version 1.9.1. We apologize again for any inconvenience this may have caused and expect that the latest version will resolve the issue in your environment. Thank you for your patience and understanding.

    If for some reason you’re still encountering issues, please feel free to reopen the topic.

    Plugin Author Team Staatic

    (@staatic)

    @angelsee, we apologize for the difficulties you’ve encountered with the update. It appears the adjustments we made to URL and path detection, intended to enhance compatibility with environments such as Bedrock and WPMU, especially on the Windows platform, may be contributing factors. We’re actively working to replicate the issue you’ve described and will provide an update promptly. We sincerely regret any inconvenience this has caused.

    Plugin Author Team Staatic

    (@staatic)

    Currently, deploying directly using FTP is not an out-of-the-box feature in our plugin. However, you can achieve this by utilizing tools like CurlFtpFS, which allows you to mount remote directories locally. By combining CurlFtpFS with our “Local Directory” deployment method, you can effectively deploy via FTP right now.

    We understand the value of having native FTP support and will consider adding this feature in future updates. Thanks for your input!

    Plugin Author Team Staatic

    (@staatic)

    Thank you for your feedback and suggestions. We are glad to hear that the new filter hooks have been working well for you.

    Your suggestion for a GUI textarea for custom code is noted. It’s an interesting idea that could simplify the user experience. We’re also considering your other suggestions, like options for URL redirections and gzip compression.

    If you have any other ideas or feedback, please feel free to share them with us.

    Plugin Author Team Staatic

    (@staatic)

    Thanks for sharing your feedback, @djwchess!

    Plugin Author Team Staatic

    (@staatic)

    Hello Ben,

    Thank you for reaching out. The current version of Staatic makes it a bit tricky to add custom code to the .htaccess file. However, we’ve introduced new features to help with this. We’ve added two filter hooks: staatic_filesystem_apache_config and staatic_filesystem_nginx_config. These allow you to modify the .htaccess and nginx_rules.conf files before saving them.

    To access these new features, you need to update to the latest development version of Staatic. Here’s how to do it:

    1. Go to the WordPress Plugin Directory.
    2. Find Staatic, click on Advanced View.
    3. Scroll down to Advanced Options.
    4. Choose Development Version and click Download.
    5. Install this new version.

    For guidance on using these hooks, check out this example: staatic_filesystem_apache_config.php. You can add this code to your theme’s functions.php file, or as a new file in wp-content/mu-plugins (like staatic_filesystem_apache_config.php).

    If you have any more questions or need help, feel free to ask.

    Plugin Author Team Staatic

    (@staatic)

    @barrypersonalctonet, we just wanted to let you know that we managed to find the root cause of this issue.

    Due to an error in the database schema definition, urls longer than 255 characters were not handled correctly. This has been addressed in the latest plugin release, version 1.6.3. We encourage you to download this version at your earliest convenience.

    Should you encounter any more difficulties or if you have any more queries, please feel free to reach out.

    Plugin Author Team Staatic

    (@staatic)

    @barrypersonalctonet, is everything up and running for you now? If you’re still having trouble, could you let us know where things stand? We’re ready to assist!

    Plugin Author Team Staatic

    (@staatic)

    Hi Barry, thanks so much for trying Staatic to improve the performance and security of your WordPress sites.

    According to the error, during the crawler initialization phase (where Staatic builds a list of URLs that should definitely be included in the static version of your site), a URL was encountered which was either too long (longer than 2,083 characters), or contains invalid characters (in most cases non-UTF-8 characters).

    In order to resolve the issue, we need to find out which URL is causing this, and which URL provider provided the invalid URL. Could you please enable “Detailed logging” and restart the publication? Detailed logging can be enabled from Staatic > Settings > Advanced > Logging. Once the publication has finished, you can view the logs by going to Staatic > Publications > Details > Logs.

    Could you then share the last log entries before the publication fails? You may also send an export of the publication logs (using the Export button at the top of the Logs page) as well as a copy of your site’s Health Info report (by going to Tools > Site Health > Info > Copy site info to clipboard) to contact@staatic.com. This will give us a bit more information to work with.

    Looking forward to your feedback.

    Plugin Author Team Staatic

    (@staatic)

    Koa ora Raza, thanks for the well wishes! All is good here and we hope the same for you.

    Thank you for bringing up your concerns regarding the limitations of our current ‘Publish Changes’ feature. We’re aware of this issue and are actively working on enhancements to address it. Our development team has scheduled these improvements for inclusion in the upcoming plugin update.

    In the meantime, utilizing the ‘Publish All’ option serves as the most reliable workaround. We understand this may not be ideal and appreciate your patience as we work to enhance the feature.

    As for the second scenario you mentioned, we’re going to look into whether it can also be addressed in the upcoming improvements.

    We’ll keep you informed of our progress and will notify you as soon as the updated functionality becomes available.

    Plugin Author Team Staatic

    (@staatic)

    Hello @gorahul ,

    We haven’t heard from you for over a week now, so it looks like you don’t have any more questions for us.

    Feel free to re-open this ticket if needed.

    Plugin Author Team Staatic

    (@staatic)

    @gorahul, were you able to get things working? If not, can you please give us an update. We’re here to help!

    Plugin Author Team Staatic

    (@staatic)

    Hi @gorahul, first of all thanks for trying Staatic to improve the performance and security of your WordPress site.

    Normally, in order to include robots.txt to the build, you should go to Staatic > Settings > Build and add /robots.txt to Additional URLs.

    Since the error indicates that robots.txt is being crawled, but with a prefix of /agi, resulting in a 404 page not found error, are you running WordPress from the /agi sub directory? What happens if, in the Additional URLs setting, you change /robots.txt to the full URL, e.g. http://localhost/robots.txt?

    Looking forward to your response.

    Plugin Author Team Staatic

    (@staatic)

    Hi, thanks so much for using Staatic and glad to hear that you are happy with our plugin.

    Having scheduled posts published to your static site automatically requires the Publish on Event automation, which is part of Staatic Premium. This also integrates with the Quick Publications feature, which will only update the actually published post, instead of regenerating the complete static site.

    Hopefully this answers your question. If you have any other questions, please feel free to get back to us any time.

Viewing 15 replies - 46 through 60 (of 112 total)