Sponsor:
Server and Web Integrator
Link:
6.5.0
or
7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR
is open-source.
Donate and or Sponsorship always welcome.
Click to:
Donate...
MRatWork
Forum
Please
login
or
register
.
2024-04-27, 09:46:32
Home
Help
Search
Calendar
Login
Register
MRatWork Forum by Mustafa Ramadhan
»
Sawo Project - Kloxo-MR Discussions
»
Kloxo-MR Technical Helps
»
nginxproxy don't work on wordpress if Permalinks is Custom
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: nginxproxy don't work on wordpress if Permalinks is Custom (Read 3134 times)
0 Members and 1 Guest are viewing this topic.
crossing
Senior Member
Posts: 336
Karma: +0/-0
nginxproxy don't work on wordpress if Permalinks is Custom
«
on:
2013-08-20, 20:10:05 »
nginxproxy don't work on wordpress if Permalinks is Custom structure, example: /%year%/%month%/%postname%/
«
Last Edit: 1970-01-01, 01:00:00 by Guest
»
Logged
Kloxo-MR -> Great Panel -> Great person behind it -> Mustafa
crossing
Senior Member
Posts: 336
Karma: +0/-0
Re: nginxproxy don't work on wordpress if Permalinks is Cust
«
Reply #1 on:
2013-08-20, 20:32:06 »
I even added
try_files $uri $uri/ /index.php?q=$uri&$args;
to
/etc/nginx/conf.d/virtual.conf
then I did
nginx -s reload
now file looks like this:
# A virtual host using mix of IP-, name-, and port-based configuration
#
#server {
# listen 8000;
# listen somename:8080;
# server_name somename alias another.alias;
# location / {
# root html;
# index index.html index.htm;
# try_files $uri $uri/ /index.php?q=$uri&$args;
# }
#}
But as long as permanlinks is custome structure /%year%/%month%/%postname%/ blog posts dont work. As soon as I switch to standard Permalinks everything is fine . Check error
http://adresemail.com/2013/
%month%/new-project-coming-next-month-its-called-freshfolio-see-what-is-this-whole-thing-all-about-2/
«
Last Edit: 1970-01-01, 01:00:00 by Guest
»
Logged
Kloxo-MR -> Great Panel -> Great person behind it -> Mustafa
crossing
Senior Member
Posts: 336
Karma: +0/-0
Re: nginxproxy don't work on wordpress if Permalinks is Cust
«
Reply #2 on:
2013-08-20, 20:42:16 »
I tried with nginx alone as webserver with the same results.
«
Last Edit: 1970-01-01, 01:00:00 by Guest
»
Logged
Kloxo-MR -> Great Panel -> Great person behind it -> Mustafa
crossing
Senior Member
Posts: 336
Karma: +0/-0
Re: nginxproxy don't work on wordpress if Permalinks is Cust
«
Reply #3 on:
2013-08-20, 20:55:56 »
Works, strange resolve.. I changed permalinks from /%year%/%month%/%postname%/ to /%year%/%month
num
%/%postname%/ So what I did is to change
month
with
monthnum
and worked like a charm with default virtual.conf file.
«
Last Edit: 1970-01-01, 01:00:00 by Guest
»
Logged
Kloxo-MR -> Great Panel -> Great person behind it -> Mustafa
Print
Pages: [
1
]
Go Up
« previous
next »
MRatWork Forum by Mustafa Ramadhan
»
Sawo Project - Kloxo-MR Discussions
»
Kloxo-MR Technical Helps
»
nginxproxy don't work on wordpress if Permalinks is Custom
MRatWork Affiliates:
BIGRAF(R) Inc.
House of LMAR
EFARgrafix
Design By SMFSimple.com
SMF 2.0.15
|
SMF © 2017
,
Simple Machines
Page created in 0.032 seconds with 19 queries.