Welcome! Log In Create A New Profile

Advanced

Re: Trailing Slash redirection poblem

Muhammad Yousuf Khan
May 04, 2016 08:54AM
Thanks for the info. will check on that.



On Wed, May 4, 2016 at 12:22 AM, Francis Daly <francis@daoine.org> 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 post in each category. now when user click on our category.
> he
> > sees intro about the category and then list of all posts.
> > when user click on catagory it open up like this
> > https://xxxx.com/catagory/
>
> It sounds to me like that is an internal-to-wordpress thing, so you
> may be better off removing any clever nginx config and just configure
> wordpress to create the links that you want it to create.
>
> (I do not know if it possible to configure wordpress like that.)
>
> > and when post is clicked it opens up like this
> > https://xxxx.com/catagory/posts.html
> >
> > but now what client want is when some one open up the category it should
> > open up like this.
> > https://xxxx.com/catagory (with out trailing slash)
>
> When someone clicks on catagory, they are following a link in whatever
> html was returned from their previous request. If that link has a trailing
> slash, they'll ask for the trailing slash.
>
> If the content on the catagory page contains links like "post1.html",
> then you will need the trailing slash -- or you will need to change
> the content to be of the form "catagory/post1.html". That should all be
> configurable within wordpress, if anywhere.
>
> Good luck with it,
>
> f
> --
> Francis Daly francis@daoine.org
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Trailing Slash redirection poblem

Muhammad Yousuf Khan April 30, 2016 03:48AM

Re: Trailing Slash redirection poblem

Francis Daly April 30, 2016 04:42AM

Re: Trailing Slash redirection poblem

Muhammad Yousuf Khan May 01, 2016 04:18AM

Re: Trailing Slash redirection poblem

Muhammad Yousuf Khan May 01, 2016 04:20AM

Re: Trailing Slash redirection poblem

B.R. May 01, 2016 10:46AM

Re: Trailing Slash redirection poblem

Francis Daly May 02, 2016 05:20AM

Re: Trailing Slash redirection poblem

Muhammad Yousuf Khan May 02, 2016 08:50AM

Re: Trailing Slash redirection poblem

Francis Daly May 03, 2016 03:24PM

Re: Trailing Slash redirection poblem

Muhammad Yousuf Khan May 04, 2016 08:54AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 273
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready