如何重写此链接?
这
Handler handler = new Handler(context.getMainLooper());
handler.post<Your runnable>
到
http://www.example.com/websitedevelopment.php?lan=en
和
http://www.example.com/websitedevelopment/en
到
http://www.example.com/index.php?lan=en
感谢..
答案 0 :(得分:1)
尝试以下,
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^websitedevelopment/en$ websitedevelopment.php?lan=en [L]
RewriteRule ^en$ index.php?lan=en [L]