Skip to main content
fixed title
Source Link
fuxia
  • 107.1k
  • 38
  • 255
  • 459

Rewrite rules aplliedapplied differently after WP upgrade

After WP upgrade from 3.2.1 to 3.4.1 I faced the problem, that rules are not applied same way.

I have the following rule:

(questions-answers)/([mind|nutrition|fitness|beauty]*)[/page/]*(\d*)$

In WP 3.2.1 URL /questions-answers/mid/page/2 matches rule mentioned above, but in 3.4.1 this URL matches different rule: (.?.+?)/page/?([0-9]{1,})/?$.

Any ideas what is wrong and how can I solve the problem?

Rewrite rules apllied differently after WP upgrade

After WP upgrade from 3.2.1 to 3.4.1 I faced the problem, that rules are not applied same way.

I have the following rule:

(questions-answers)/([mind|nutrition|fitness|beauty]*)[/page/]*(\d*)$

In WP 3.2.1 URL /questions-answers/mid/page/2 matches rule mentioned above, but in 3.4.1 this URL matches different rule: (.?.+?)/page/?([0-9]{1,})/?$.

Any ideas what is wrong and how can I solve the problem?

Rewrite rules applied differently after upgrade

After WP upgrade from 3.2.1 to 3.4.1 I faced the problem that rules are not applied same way.

I have the following rule:

(questions-answers)/([mind|nutrition|fitness|beauty]*)[/page/]*(\d*)$

In WP 3.2.1 URL /questions-answers/mid/page/2 matches rule mentioned above, but in 3.4.1 this URL matches different rule: (.?.+?)/page/?([0-9]{1,})/?$.

Any ideas what is wrong and how can I solve the problem?

added 10 characters in body
Source Link
kaiser
  • 50.8k
  • 27
  • 150
  • 244

After WP upgrade from 3.2.1 to 3.4.1 I faced the problem, that rules are not applied same way.

I have the following rule: (questions-answers)/([mind|nutrition|fitness|beauty])[/page/](\d*)$

(questions-answers)/([mind|nutrition|fitness|beauty]*)[/page/]*(\d*)$

In WP 3.2.1 URL /questions-answers/mid/page/2/questions-answers/mid/page/2 matches rule mentioned above, but in 3.4.1 this URL matches different rule: (.?.+?)/page/?([0-9]{1,})/?$(.?.+?)/page/?([0-9]{1,})/?$.

Any ideas what is wrong and how can I solve the problem?

After WP upgrade from 3.2.1 to 3.4.1 I faced the problem, that rules are not applied same way.

I have the following rule: (questions-answers)/([mind|nutrition|fitness|beauty])[/page/](\d*)$

In WP 3.2.1 URL /questions-answers/mid/page/2 matches rule mentioned above, but in 3.4.1 this URL matches different rule: (.?.+?)/page/?([0-9]{1,})/?$.

Any ideas what is wrong and how can I solve the problem?

After WP upgrade from 3.2.1 to 3.4.1 I faced the problem, that rules are not applied same way.

I have the following rule:

(questions-answers)/([mind|nutrition|fitness|beauty]*)[/page/]*(\d*)$

In WP 3.2.1 URL /questions-answers/mid/page/2 matches rule mentioned above, but in 3.4.1 this URL matches different rule: (.?.+?)/page/?([0-9]{1,})/?$.

Any ideas what is wrong and how can I solve the problem?

Source Link

Rewrite rules apllied differently after WP upgrade

After WP upgrade from 3.2.1 to 3.4.1 I faced the problem, that rules are not applied same way.

I have the following rule: (questions-answers)/([mind|nutrition|fitness|beauty])[/page/](\d*)$

In WP 3.2.1 URL /questions-answers/mid/page/2 matches rule mentioned above, but in 3.4.1 this URL matches different rule: (.?.+?)/page/?([0-9]{1,})/?$.

Any ideas what is wrong and how can I solve the problem?