TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Seek geek with expert knowledge in WP3 + Apache2 mod_rewrite

1 pointsby dxjonesover 14 years ago
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_lishinover 14 years ago
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 未加载