A
A
Artem2017-06-25 10:31:06
CMS
Artem, 2017-06-25 10:31:06

Short links for wordpress, how to organize?

Good afternoon!
The task is to organize short links for posts like //site/postcode/ on wordpress (postcode is a label for a post in the understanding of wordpress). At the moment, links like //site/%category%/%postname%/ have already been configured, we do not refuse them.
It turns out that you need to add a duplicate entry using a short link.
Any search for a solution is directed to articles like "set up permalinks" and "short links from the //site/?p=id series".
Unfortunately, with WordPress, you are still on your own. Can you please tell me how to organize it correctly, according to all the rules of wordpress?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Ruslan, 2017-06-25
@rOOse

What's not to like http://site.com?p=id? add_rewrite_ruleYou can make links through , but if you want to keep the current link structure, then in any case you need to have identries in the link, so the maximum you can achieve is a link of the form http://site.com/p123/, where pis any character or word and 123these are identries.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question