There are two solutions,
N1: Configure in DNS resolution to point http://www.jiwai.de to http://jiwai.de
N2: Program Control, using HTTP 301 redirect, status code 301 stands for permanent transfer (permanently moved)
The following code checks
It is always uncomfortable to see the disgusting URLs of Baidu search results, so it took some time to write a chrome extension and automatically correct these links.Firefox extension has not been written yet.
Main function: remove the jump from
Ci default rewrite URL is similar to this, for example, your CI root directory is under/codeigniter/, your below level two URL is similar to this http://localhost/CodeIgniter/index.php/welcome. Not too good-looking, how to take out the index.php?
To remove the index.php from the CodeIgniter (CI) Default URL:1. Open the Apache configuration file, conf/httpd.conf:
1
LoadModule rewrite_module modules/mod_rewrite.so
Remove the # before the line.Search
The default rewrite url of CI is similar to this. For example, if your CI root directory is under/CodeIgniter/, your second-level url is similar to http: // localhost/CodeIgniter/index. php/welcome. Not very nice. How can I remove index. php from it?
The default rewrite URL of Ci is similar to this. For example, if your CI root directory is under/codeigniter/, your second-level URL is similar to http: // localhost/codeigniter/index. PHP/welcome. Not very nice. How can I remove index. php from it?
URL normalization (URLs canonicalization) is a big problem that has emerged in Google search results in the past year. It refers to the search engine to choose the best URL URLs as a real URL of the process.
For example, the following URLs generally
The Community server has been published to the website over the past few days, but it is strange that the website address is changed from www.mysite.com/csto mysite.com/cs, which leads to a failure. After three days of repeated battles and defeats,
If you have to use a non-80 port to build the site, you can use the Phpwamp built-in function "One click to clear the domain name of non-80 port"The case uses the "Go Port" function module which I developed the pure green PHP integration Environment
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.