Thanks for the info. will check on that.
On Wed, May 4, 2016 at 12:22 AM, Francis Daly wrote:
> On Mon, May 02, 2016 at 05:48:12PM +0500, Muhammad Yousuf Khan wrote:
>
> Hi there,
>
> > Thanks for the reply, actually we have 5 categories. and then we have
> > hundred plus
On Mon, May 02, 2016 at 05:48:12PM +0500, Muhammad Yousuf Khan wrote:
Hi there,
> Thanks for the reply, actually we have 5 categories. and then we have
> hundred plus post in each category. now when user click on our category. he
> sees intro about the category and then list of all posts.
> when
first of all my apologies if i question something inapplicable , this
could be the result of my less knowledge in nginx. i hope you guys don't
mind.
Thanks for the reply, actually we have 5 categories. and then we have
hundred plus post in each category. now when user click on our category. he
On Sun, May 01, 2016 at 01:16:51PM +0500, Muhammad Yousuf Khan wrote:
Hi there,
> >>The configuration you have shown says "if the request is for /live/,
> >>ask the browser to instead request /live".
>
> >>The configuration you have not shown says "if the request is for /live,
> >>ask the
So these opposite redirection rules are fighting each other and are the
source of your problem, which Francis helped you to alleviate.
Sit back, grab an erasable whiteboard, scratch your head and think about
your website's design: both rules probably have their use in their own
corner, but you
just want to make it more clear that when i comment out this line #try_files
$uri $uri.html $uri/ /index.php?q=$request_uri; error become 404 from
redirection loop error.
On Sun, May 1, 2016 at 1:16 PM, Muhammad Yousuf Khan
wrote:
>
> >>The configuration you have shown says
On Sat, Apr 30, 2016 at 12:47:20PM +0500, Muhammad Yousuf Khan wrote:
Hi there,
> I have been trying to remove the trailing slash with this redirection rule.
> rewrite ^/(.*)/$ /$1 permanent;
>
> however it is creating a loop.
>
> curl -I https://.com/live/
>
> HTTP/1.1 301 Moved
Dear All,
Need some help to remove trailing Slash.
I have been trying to remove the trailing slash with this redirection rule.
rewrite ^/(.*)/$ /$1 permanent;
however it is creating a loop.
curl -I https://.com/live/
HTTP/1.1 301 Moved Permanently
Server: nginx/1.6.2
Date: Sat, 30 Apr 2016