TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Seek geek with expert knowledge in WP3 + Apache2 mod_rewrite

1 点作者 dxjones超过 14 年前
I am seeking a geek with expert knowledge in WordPress 3.0.1 and Apache2 mod_rewrite syntax (.htaccess) to help me get past a roadblock in deploying my web app (with a WordPress front-end).<p>I have posted my question on stackoverflow.com ( http://bit.ly/9UeChD ) and wordpress.com ( http://bit.ly/aTSo21 ), but still no joy.<p>Hoping someone on HN has what it takes to rewrite "http://site.com/app/alpha/beta" to "http://site.com/app/?a=alpha&#38;b=beta" and then let the Wordpress rules route it through index.php to the "app" page, which can pull the parameters from $_GET.

1 comment

pavel_lishin超过 14 年前
Off the top of my head, maybe adding<p><pre><code> RewriteRule ^app/([^/]+)/([^/]+) app/?a=$1&#38;b=&#38;2 [QSA,L] </code></pre> before the last rewrite rule?
评论 #1836320 未加载
评论 #1836218 未加载