我正在移动我的网站,所以想测试一个页面并重定向到htaccess文件中:
我想重定向
到
http://landscape.martinspencephotography.co.uk/minimalism-at-gallows-hill/
使用.htaccess文件中的以下内容:
Redirect 301 /blog/yes/mini-photo-series-minimalism-gallows-hill-outside-cloughmill http://landscape.martinspencephotography.co.uk/minimalism-at-gallows-hill
没有任何理由可以解决这个问题吗?
答案 0 :(得分:1)
尝试
RewriteRule your_page.html
http://your.url.fr/yournewpage.html [R=301]
那么
http://www.martinspencephotography.co.uk/blog/yes/mini-photo-series-minimalism-gallows-hill-outside-cloughmills http://landscape.martinspencephotography.co.uk/minimalism-at-gallows-hill/ [R=301]
所以答案是使用DRUPAL NODE ......