Jason
Jason

Reputation: 1

How to use mod_rewrite with Wordpress?

I'm running a wordpress installation on the root dir of my website test.com Wordpress is using url's like: test.com/information/ and I also added some custom parameters like: test.com/information/?about=product

I tried to use the mod-rewrite generator at http://www.generateit.net/mod-rewrite/ to change my custom urls to test.com/information/about/product but keep receiving a wordpress 404 error.

Is there a solution to my problem?

Upvotes: 0

Views: 660

Answers (3)

user183037
user183037

Reputation: 2579

I agree with @borayeris - Wordpress has it's own permalinks page under Settings - use that.

Upvotes: 1

borayeris
borayeris

Reputation: 2650

All answers wrong. Login to admin area. On the left menu, under settings find permalinks. You can choose or add proper settings there.

Upvotes: 1

Arvin
Arvin

Reputation: 2282

If you are already using pretty permalinks, make an about page then make it the parent page of all your product pages.

Or use the rule:

RewriteRule ^information/about/([^/]+)/?$ information/?about=$1 [L,NC]

Upvotes: 0

Related Questions