Re: Redirection 301 create "Redirection loop" while using wordpress site.

2016-04-13 Thread Muhammad Yousuf Khan
Thanks Steve and Alt for the hint. you point out the correct problem. there are two settings in wp-config.php which i change something like this and it worked. from this define('WP_HOME','http://www.xxx.com'); define('WP_SITEURL','http://www.xxx.com'); to this

Re: Redirection 301 create "Redirection loop" while using wordpress site.

2016-04-12 Thread Steve Wilson
It sounds to me like wordpress believes that www is required and nginx doesn't want it. I'd try commenting out the redirect server{} block and add the server_name to the xxx.com one and see what you end up with in your browser, then have a look through the wordpress settings to see what it's

Re: Redirection 301 create "Redirection loop" while using wordpress site.

2016-04-12 Thread Alt
Hello, Muhammad Yousuf Khan Wrote: --- > I can access php files properly like info.php. to check whether php > is > working or not. however the problem part is wordpress. > > when i try to load my wordpress site chrome shows an error saying >

Redirection 301 create "Redirection loop" while using wordpress site.

2016-04-12 Thread Muhammad Yousuf Khan
Dear All, I am very new to nginx and trying to learn it from very basic. i have a website and i am willing to remove the "www" before my actual domain name. the solution so far i have find out on google is very simple. so when ever any of the visitor visits my website by using www.xxx.com he