如何将一些URL重定向到不同的格式。htaccess URL重定向
http://mysite.com/mydir1/mydir2/my-article-first-86974.html
http://mysite.com/mydir1/somefolder/my-article-76674.html
http://mysite.com/mydir1/anotherfolder/some-text-35667.html
http://mysite.com/mydir1/mydir6/my-article-another-75445.html
我想将上述URL重定向到下面的格式。
http://mysite.com/mydir2/my-article-first-1-86974.html
http://mysite.com/somefolder/my-article-1-76674.html
http://mysite.com/anotherfolder/some-text-1-35667.html
http://mysite.com/mydir6/my-article-another-1-75445.html
在此先感谢。
在线查找基本的htaccess教程?这看起来并不复杂......你有什么想法? – naththedeveloper
我在我的问题上做了一些改变,我找不到任何教程中的解决方案。 – Saritha