Similar to redirect. php? Tid1_7&goto=lastpostthe child content of the URL is the same as that of thread-1-1.html, but the URL format is different. Se will be treated as a duplicate content.
This URL format will appear in the last post or last reply position of the home page or forum list page. The previous topic and next topic of the previous discuz7 versions are also such URLs, but the parameters can be found in the Code.
Why not disable this URL-based index?
?
1. The main reason is that you cannot control other people's links to this form. If you disable the index form, the URL will waste the link, so you need to perform a 301 jump and transfer the link and weight to the standard static form.
2. The link format appears on the home page. You may be able to speed up recording if it is not prohibited.
Perform 301 redirection for redirdbms. php
In some cases, the program can only find the TID to be displayed. Therefore, you can only modify the program and use PHP code to achieve 301 redirection.
.
Open the Redirect. php file and replace require_once discuz_root. './viewthread. php'
Header ("HTTP/1.1 301 moved permanently ");
Header ("Location: thread-00000000tid0000-00000000page0000-1.html ");
In this way, the jump will not be lost.
There are three parts in the file. After all the modifications are completed, you can access the Forum and check the effect.