0
我们将example1.com重定向到example2.com - 此工作(也强制ssl)。重写无效后重定向
但是我们有很多example1.com/dir/subdirectory形式的链接,需要转到example2.com/dir/differentsubdirectory。
Redirect "/skill-catalog" "/catalog"
and
RewriteRule ^/home/skill-catalog/(.*)$ /home/catalog/$1 [R,L]
我已经尝试过每一个都没有工作。我做错了什么,或者我错过了他们需要的顺序?也可以在htacess file for wordpress中更容易做到这一点,或者我目前正在做什么 - 在httpd conf文件中?
这没有奏效。在我们的主要doman/ssl重定向之前和之后尝试了此操作。 – blankip
你能分享.htaccess的完整内容吗? –