Get the App
SLTechnology News&Howtos  ›  Development  › 

Example Analysis of tags tag keyword url with ID pseudo-static in html

Shulou Source: shulou.com Published: 2022-06-01 06:31:30 10月06日 Update

This article mainly introduces the tags tag keyword url in html to ID pseudo-static example analysis, the article is very detailed, has a certain reference value, interested friends must read it!

1. Nginx pseudo-dynamic demarcation

Rewrite ^ (. *) / tags.html $1 tags.html tags.php * rewrite ^ (. *) / tags/ (. *)-1.html $1/tags.php?/$2/$3

Or

Rewrite ^ ([^\.] *) / tags.html $1 html tags.phptic rewrite ^ ([^\.] *) / tags/ (. *)-([0-9] +) .PHP $rewrite

2. The rules of pseudo-news in .htaccess file

RewriteBase / RewriteRule ^ tags\ .html $/ tags.php$1 RewriteRule ^ tags/ (. *)-([0-9] +) .html$ / tags.php?/$1/$2

3. In the .config file of the site under IIS, pseudo-news stipulates:

4. Pseudo-information rules of httpd.ini files

RewriteRule ^ (. *) / tags\ .html $1/tags\ .php RewriteRule ^ (. *) / tags/ (. *)-([0-9] +). Html $1/tags\ .php\? more than $2 are all the contents of this article entitled "tags tag keyword url in html with ID pseudo-static example Analysis". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!

Tags: Files keys keywords tags examples static analysis content news articles value information interests dynamic guys partners more knowledge sites industries Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Tech Info Shulou Information Microsoft macOS Apple