question about page_add bug solving with mod_rewrite enabled
| Trustmaster |
|
|---|---|
|
I can make a plugin to rewrite relative links in pages and posts, but it won't be recommended for sites which don't already have many of old-way urls in posts.
Added 17 minutes later: I see the problem about your plugin now. It uses $out['uri']: $area_location = substr($out['uri'], 0, strpos($out['uri'], '.'));The more correct way to get current area is: global $z;
$area_location = $z;May the Source be with you!
Відредаговано: Trustmaster (12.02.2010 04:27, 15 років тому) |