Page 1 of 1

change url for detail page

Posted: Sat Jul 18, 2020 7:04 pm
by geckozilla
I want to change detail page url.

From:
https ://demo.bludit.com/my-fox
to
https ://demo.bludit.com/detail/my-fox

How to do this, which file I must edit ?

Thanks

Re: change url for detail page

Posted: Sat Jul 18, 2020 8:18 pm
by Edi
Sorry, this is not part of Bludit.

Re: change url for detail page

Posted: Sun Jul 19, 2020 6:26 am
by geckozilla
thanks anyway

done with 301 Redirect URLs from .htaccess

Code: Select all

# 301 Redirect URLs.
Redirect 301 /bludit/detail/create-your-own-content /bludit/create-your-own-content

Re: change url for detail page

Posted: Sun Jul 19, 2020 6:59 am
by Jacob
geckozilla wrote: Sun Jul 19, 2020 6:26 am thanks anyway

done with 301 Redirect URLs from .htaccess

Code: Select all

# 301 Redirect URLs.
Redirect 301 /bludit/detail/create-your-own-content /bludit/create-your-own-content
From myself I want to add that such link routing is possible, some plugins do it, for example Snicker

Re: change url for detail page

Posted: Sun Jul 19, 2020 2:07 pm
by Edi
geckozilla wrote: Sun Jul 19, 2020 6:26 am

Code: Select all

# 301 Redirect URLs.
Redirect 301 /bludit/detail/create-your-own-content /bludit/create-your-own-content
Im a little bit irritated. This is a redirect command but does not what you have asked for.

Re: change url for detail page

Posted: Sun Jul 19, 2020 2:15 pm
by Edi
Jacob wrote: Sun Jul 19, 2020 6:59 am From myself I want to add that such link routing is possible, some plugins do it, for example Snicker
I do not understand what you mean... Snicker is a comment system. How does it redirect or rewrite?

There is another plugin for redirects:

https://plugins.bludit.com/plugin/redirects

A redirect forwards to another address, it does not rewrite it.

Re: change url for detail page

Posted: Sun Jul 19, 2020 3:43 pm
by Jacob
Edi wrote: Sun Jul 19, 2020 2:15 pm
Jacob wrote: Sun Jul 19, 2020 6:59 am From myself I want to add that such link routing is possible, some plugins do it, for example Snicker
I do not understand what you mean... Snicker is a comment system. How does it redirect or rewrite?

There is another plugin for redirects:

https://plugins.bludit.com/plugin/redirects

A redirect forwards to another address, it does not rewrite it.
I just wanted to hint that:
If user doesn't know how to create a routing for a specific query, he/she can look at the Snicker's code.
For instance, Snicker can read parameters through bludit_site.com/admin/snicker/ajax

Re: change url for detail page

Posted: Mon Jul 20, 2020 6:50 pm
by Jay
geckozilla wrote: Sat Jul 18, 2020 7:04 pm How to do this, which file I must edit ?
You can do this by nesting pages, setting one as a parent, and second as its child.
But there you will have additional /detail page.
Although it doesn't need to be indexed.