Home > CMS Tutorial > WordPress > How to implement link jump using wordpress plug-in

How to implement link jump using wordpress plug-in

爱喝马黛茶的安东尼
Release: 2019-07-15 15:53:05
Original
5235 people have browsed it

How to implement link jump using wordpress plug-in

Pretty Link is a very easy-to-use WordPress plug-in. Installing this plug-in is very simple. Just go to the official website to download Pretty Link, and then unzip it to the WordPress installation directory\wp- Under content\plugins, go to the background and click to enable this plug-in.

How to implement link jump using wordpress plug-in

Related recommendations: "WordPress Tutorial"

We go to the navigation menu and click Add New Link in Pretty Link to add a new link There are three main setting options for redirect entries:

(1) Redirection Type: The default value here is 307 temporary jump, and you can also choose 301 permanent jump.

(2) Target URL: Target address. Enter the address you want to redirect to here.

(3) Pretty Link: Display address. Fill in the url address you want to display in the blog here, that is, the intra-site link.

How to implement link jump using wordpress plug-in

As shown above, fill in the url/down.chinaz.com, which can be customized. As for why you need to add a url directory, it is mainly to add it to the robot.txt file. , add Disallow: /url/ to disable search engine access to all links in this folder.

Some other options, such as SEO Options and Tracking Options, can be set according to personal needs, thereby not giving weight to the target link, tracking the number of visits and the number of independent IPs, etc.

At this time, when we visit http://127.0.0.1/web/blog/url/down.chinaz.com, the link will automatically jump to http://down.chinaz.com/. If some webmasters newly install wordpress, the jump will prompt a 404 error, so we need to set the URL pseudo-static for wordpress.

Click on the backend menu "Settings"-> "Permalink", select the URL type and save the changes, the system will generate the .htaccess file in the root directory, and now our pseudo-static is configured. Then you can use the jump function of Pretty Link.

The above is the detailed content of How to implement link jump using wordpress plug-in. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template