سؤال

I updated the date in the post. But the old URL has already gone viral and people end up in a deadlink as page not found. I tried using Simple 301 Redirect Wordpress Plugin and also Permalink Redirect WordPress Plugin. But it does not seem to work.

I want to redirect from http://www.example.com/2014/02/20/events-2014/ to http://www.example.com/2014/03/02/events-2014/

Also all my Mobile apps are synced to the website. I do not want them to get affected because of this redirection.

هل كانت مفيدة؟

المحلول

Try:

Redirect 301 /2014/02/20/events-2014/  /2014/03/02/events-2014/

Or using mod_rewrite:

RewriteEngine On
RewriteRule ^2014/02/20/events-2014/$ /2014/03/02/events-2014/ [L,R=301]
مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top