0

An issue that happens much too often, but this time I can't find the way out:

I have a Wordpress site using the following special permalink configuration: /%post_id%/%postname%/. Everything seems to work but I have just one issue with Chromium:

Assume the following URL: http://example.com/123/the-title-of-the-post/

When I open it in Firefox everything's fine. When I open it in Chromium, it shows a save-as-window.

The same post is also available under http://example.com/123/. When I use this URL everything's fine in Firefox and also Chromium shows the blog post.

Ok. So I thought it might be a Content-Type issue, but, the output for curl -D - -o /dev/null <URL> looks the same for both URLs from above. Both outputs contain the line Content-Type: text/html; charset=UTF-8.

The website is running on nginx but it does not contain a special configuration for permalink-URLs.

Now I am a little bit lost, because I don't know which part of the system causes this issue. Is it Chromium? Is it Nginx? Is it PHP5-FPM? Or is it Wordpress itself? Any idea?

  • This probably will need the actual URL to resolve it, so that people can see it for themselves. – Michael Hampton Jun 18 '14 at 20:55
  • maybe one thing: everything is up to date. even wordpress is at version 3.9.1. – Ethan Leroy Jun 18 '14 at 20:55
  • 1
    Can you check for the headers sent to chrome via its dev tools? Something might be different based on user agent or cookies that you won't see in curl. – Shane Madden Jun 18 '14 at 20:56
  • Oh no!! Thanks you for this hint. Even when using Ctrl+F5 Chromium loaded the site from cache. Now I purged the cache for all websites and it works... – Ethan Leroy Jun 18 '14 at 21:03
0

Too bad. It was just a caching issue and I had to write this question to find it out.

Purging the cache in Chromium helped.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.