[wp-hackers] Rebuild all rewrite rules

Braydon ronin at braydon.com
Wed Aug 17 04:15:57 UTC 2011


What about using .htaccess rewrite rules?

RewriteRule ^/etcetera/?$ /index.php?cat=1 [L,R=301]

RewriteRule ^/etcetera/?$ /category/etc/ [L,R=301]

Was trying to find a way for the URL to stay the same, but it's being 
modified by PHP, so it's a lost cause....

On 08/16/2011 07:23 PM, Ankur Oberoi wrote:
> oh wow, ur the man, otto!
>
> any idea what i can do about the rewrite rule i'm trying to make?
>
> I can see the rule getting added to the top of the array, but when i try to
> navigate to myblog.com/developer it pulls up a post that happens to start
> with developer as the first part of the pretty permanlink. in this case i
> have my permalink structure set to "/%postname%". Yes, yes, poor
> performance, I;m not happy with it either, but its part of the requirements.
>
> On Tue, Aug 16, 2011 at 7:06 PM, Otto<otto at ottodestruct.com>  wrote:
>
>> On Tue, Aug 16, 2011 at 9:02 PM, Ankur Oberoi<aoberoi at gmail.com>  wrote:
>>> been there done that, theres still a bunch of rules that exist for pages
>> i
>>> deleted a while ago. any idea why that would happen?
>> Are they really deleted, or in the trash?
>>
>> -Otto
>> _______________________________________________
>> wp-hackers mailing list
>> wp-hackers at lists.automattic.com
>> http://lists.automattic.com/mailman/listinfo/wp-hackers
>>
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>
> !DSPAM:4e4b261e324141804284693!
>



More information about the wp-hackers mailing list