vrissanen
Forum Replies Created
-
Hi Roch,
Unfortunately it seems that this issue has reappeared for some reason. I don’t know if this is due to recent WordPress or Sportspress updates but anyways, the issue is back.
What has changed in between, is the address of the site: http://sohosportingsociety.com/sohohc
I contacted my service provider and they’ve made all the changes they made previously but for some reason this hasn’t helped. The config file reads like this at the moment:
location /wordpress/ { index index.php index.html index.htm; try_files $uri $uri/ /wordpress/index.php?$args; }Any chance you would know what’s causing the problem to resurface?
Wait a minute, it’s working!
My service provider noticed that they updated the config file only on the main domain and not on the subfolder where our demo site actually is.
Everything is in order now, finally!
Thanks so much for your help, Roch! I’ve marked this topic as resolved.
Hey there,
I have now contacted my service provider and apparently they did what they could with the issue. They’ve added this piece of code into the config on our domain:
location / { index index.php index.html index.htm; try_files $uri $uri/ /index.php?$args; }However, even this addition did not help. They said that usually this helps with permalinks on other users.
Is there any chance that Nginx based servers simply don’t function well with Sportspress?
Thanks again, but it didn’t help. Maybe we should try something else.
Some browsing around the web revealed that this is a common issue for Nginx based servers. I found several topics on different forums on the issue: this WordPress codex and this support ticket both address the issue rather extensively.
But for me, neither are of no help. You see, I can’t find the /etc/nginx/sites-available/ folder or any other config files on my web servers, even though I have the force show hidden files option ticked on Filezilla.
Any suggestions or should I just call my web service provider for help?
Thanks a lot!
Still, no luck. I tried changing the file permissions on the web folder to both 744 and 777 and then changed the permalink settings and kept getting the 404 Nginx error. I also changed the file permissions on the subfolder where the site actually is but that didn’t work either. Also, the .htaccess file wasn’t created.
I guess I should try to manually create the .htaccess file. How should I go about doing that?
Thanks for your patience!
Hey and thanks for your reply!
Haven’t been able to fix the issue yet. File permissions and .htaccess are both areas I’m definitely not familiar with but I did do some searching on the issue and here’s where I’m at now:
– Seems like the .htaccess file indeed is not created.
– Checking my file permissions, I have my web (usually public_html but on my host it’s called web) folder set to 710. Not sure what to do with it though.
– I found this article on why the .htaccess file is not present.
– When I change my permalinks, WordPress does not show me that “If your .htaccess file were writable…” message.
– On that same article, I scrolled down to check the comments and found this comment:It’s worth pointing out that your .htaccess file might be missing because you don’t need one. For instance the Nginx web server doesn’t use .htaccess files for security and performance reasons.
And that’s where the issue might be: I think my host uses the Nginx web server because the 404 Not found error I told you about earlier, it has the word Nginx underneath the error message.
Does this mean it’s not possible to fix the issue while using my current host?