我想将某些URL重定向到不同的URL。例如htaccess URL重定向 - 想从URL中删除单词
http://www.mydomain.com/some-text-2-rss/
http://www.mydomain.com/another-text-rss
http://www.mydomain.com/sample-rss/
http://www.mydomain.com/dummy-content-rss
http://www.mydomain.com/some-folder-1/my-text-rss
http://www.mydomain.com/another-folder/some-text-rss/
TO
http://www.mydomain.com/some-text-2/
http://www.mydomain.com/another-text
http://www.mydomain.com/sample/
http://www.mydomain.com/dummy-content
http://www.mydomain.com/some-folder-1/my-text
http://www.mydomain.com/another-folder/some-text/
即如果有网址的结尾是“-rss”或“-rss /”,我想从URL中移除“-rss”。
在此先感谢。
你有什么迄今所做,做得如何,它的工作? – dcaswell