garry12
Member
Posted 3 years ago #
I'm wanting to add the the .htaccess file that WP uses but it doesn't seem to be working. Say, for example, I want to rewrite a URL like this: http://www.mysite.com/page/?id=3 to this: http://www.mysite.com/page/3.
How can I add this to the htaccess so it won't conflict with what WP is doing? I've tried a bunch of different combos and it hasn't worked. Any help would be greatly appreciated.
Eh? Why don't you just go to setting->permalinks and let WP do the htaccess editing for you?
garry12
Member
Posted 3 years ago #
Because this is just for one category, I already have a custom setting for everything else there. I just need to define something different for one particular page.
I should also note that the ID isn't a wordpress page id, it's a custom ID that i'll be using PHP to generate results from.
Ok, in that case I''m off, that WAY over my head!
garry12
Member
Posted 3 years ago #
Np, thanks anyway. Can anyone else help?
garry12
Member
Posted 3 years ago #
Nobody can help? Basically, when I try to add a rewrite rule that loads index.php?page_id=number, i get a 404 error? Why does it give me an error when I load it this way.