0
A
回答
1
尝试添加以下到您的example.com域的根目录中的htaccess文件
RewriteEngine on
RewriteBase/
#if the host is anything.example.com
RewriteCond %{HTTP_HOST} ^([^\.]+)\.example\.com$ [NC]
#send all requests to test.php
RewriteRule .* test.php?id=%1 [L]
相关问题
- 1. htaccess子域名重定向
- 2. htaccess的重定向子域名
- 3. htaccess的重定向子域名$ _GET
- 4. 重定向子域名没有htaccess的
- 5. .htaccess的子域重定向
- 6. 子域htaccess的重定向
- 7. htaccess的重定向子域
- 8. mod_rewite .htaccess子域名重定向
- 9. htaccess子域名重定向和worpdress
- 10. 404重定向-htaccess子域名问题
- 11. 使用.htaccess重定向子域名
- 12. 不使用.htaccess重定向子域名
- 13. 使用.htaccess重定向子域名
- 14. htaccess子域名和目录重定向
- 15. .htaccess域名重定向
- 16. Htaccess - 301域名重定向
- 17. .htaccess - 重定向域名
- 18. .htaccess重定向主域名?
- 19. .htaccess重定向到子域
- 20. htaccess与子域重定向
- 21. htaccess子域301重定向
- 22. htaccess重定向到子域
- 23. .htaccess子域重定向
- 24. htaccess从子域重定向
- 25. .htaccess从子域重定向到子域
- 26. htaccess的重定向子域的根域
- 27. htaccess主域名和子域名之间的重定向代码
- 28. 的.htaccess重定向静子域和域
- 29. htaccess的域重定向包括子域
- 30. 的.htaccess重定向子域域