change url for detail page

Post Reply
geckozilla
Jr. Bludit
Posts: 4
Joined: Thu Jul 09, 2020 9:25 am

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
User avatar
Edi
Site Admin
Posts: 3121
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Has thanked: 54 times
Been thanked: 77 times
Contact:

Sorry, this is not part of Bludit.
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets
geckozilla
Jr. Bludit
Posts: 4
Joined: Thu Jul 09, 2020 9:25 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
Jacob
Ssr. Bludit
Posts: 22
Joined: Sat Apr 25, 2020 10:09 am

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
User avatar
Edi
Site Admin
Posts: 3121
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Has thanked: 54 times
Been thanked: 77 times
Contact:

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.
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets
User avatar
Edi
Site Admin
Posts: 3121
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Has thanked: 54 times
Been thanked: 77 times
Contact:

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.
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets
Jacob
Ssr. Bludit
Posts: 22
Joined: Sat Apr 25, 2020 10:09 am

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
User avatar
Jay
Master Bludit
Posts: 133
Joined: Mon Feb 11, 2019 8:41 pm

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.
Post Reply