Hi how do you 301 redirect http:// www.site.com/blog/index.php?id=uu5 to http:// www.newsite.com/ in .htaccess?
Thanks!
To do a permanent redirection of domain you can use this
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www.site.com [nc]
RewriteRule ^(.*)$ http://www.newsite.com/$1 [r=301,nc]
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.