Browsing Tag

apache

WordPress showing 404 error when configuring Apache with Nginx

I am trying to configure Nginx as reverse proxy server along with Apache2.I have build Nginx with page_speed module by following Google developer tutorial build_ngx_pagespeed_from_source.

404 Page When I switched over to Nginx from Apache

I have WordPress issue on my published pages… they turned into 404 Page! I switch from Apache to Nginx and I think this is the

WordPress add_rewrite_rule working on Apache, not on IIS

I am having the following rewrite rule : add_action( 'init', 'custom_rewrite_rules' ); function custom_rewrite_rules() { add_rewrite_rule('formation(/([^/]+))?(/([^/]+))?/?','index.php?pagename=formation&formation_slug=$matches[2]&formation_id=$matches[4]','top'); add_rewrite_tag('%formation_slug%','([^&]+)'); add_rewrite_tag('%formation_id%','([^&]+)'); } This works fine on my Apache

Back to Top 145132 wordpress questions, 32 Wordpress answers.
Wordpress related, All rights reserved
Powered by Creative Advertising