rewrite issue
March 27, 2015 07:44PM
Hi all Ive got a problem that I hope is simple.

I have a wordpress plug in that produces a link to a picture when a user chooses to share it.
I have discovered that the link is properly formed and should work

It looks like this:
http://www.example.com/nextgen-share/6064/872/thumb?uri=/the-galleries/headshot-gallery/

When that link hits the server coming back in it changes to
http://www.example.com/?q=/nextgen-share/6064/872/thumb?#gallery/6064/872. Wordpress chokes on that link .

I have narrowed it down to a line in my nginx conf.
location / {
try_files $uri $uri/ /index.php?q=$request_uri;
}
This is needed to make the permalinks work I guess

My question is how to make the generated url work correctly ?

This has been my first nginx install that I have managed so I am still very much on the learning curve so I would appriciate any help
Re: rewrite issue
March 30, 2015 10:34AM
Can no one help with this . The software developer has firmly stated it is a redirect issue . How can I overcome it
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 147
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready