开发者

rewrite htaccess url some questions

I have a CMS that is generating SEFURLs almost correctly.

However, there is a menu i开发者_开发技巧tem called separator that you can use as a hook for Javascript, which has no link on it.

The URL that gets created is:

http://www.mysite.com/separator/mycategory/mypage

I want to get rid of the /separator so that the URL looks like:

http://www.mysite.com/mycategory/mypage

Is this possible to do in the .htaccess? I tried a few rewrite rules and they don't work.


RedirectMatch Permanent ^/separator(.*) $1
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜