Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/.htaccess/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
.htaccess htaccess 301子域已移动_.htaccess - Fatal编程技术网

.htaccess htaccess 301子域已移动

.htaccess htaccess 301子域已移动,.htaccess,.htaccess,我想像这样重定向URLhttp://www.site.gen.tr/index.php?ind=reviews&op=entry_view&iden=2381 到http://arsiv.site.gen.tr?ind=reviews&op=entry_view&iden=2381 地点 我尝试使用.htaccess,但无法使其工作。请提供帮助。您应该将其放在.htaccess文件中,并且必须位于域根目录中 RewriteEngine On Redirect 301 http://www.sit

我想像这样重定向URLhttp://www.site.gen.tr/index.php?ind=reviews&op=entry_view&iden=2381 到http://arsiv.site.gen.tr?ind=reviews&op=entry_view&iden=2381 地点


我尝试使用.htaccess,但无法使其工作。请提供帮助。

您应该将其放在.htaccess文件中,并且必须位于域根目录中

RewriteEngine On
Redirect 301 http://www.site.gen.tr/index.php?ind=reviews&op=entry_view&iden=2381 http://arsiv.site.gen.tr?ind=reviews&op=entry_view&iden=2381