i have a WordPress site and recently i have changed the URLs structure and that cause a lot of NOT found errors as i found at google WebMaster tools
the old URL looks like that

http://www.akhbaralan.com/date/2014/01/page/76/

and i want it to look like that

http://www.akhbaralan.com/2014/01/page/76/

removing the word and redirect the URL to the one without the word

date

after the domain name
i searched a lot here in Stack Overflow and googled for it
but nothing have worked
i tried the the follwing

RewriteEngine On
RewriteRule ^date/(.*)$ http://www.akhbaralan.com//$1 [R=301,L]
RewriteRule ^date/(.*)$ /$1 [L,R=301,QSA]
RewriteRule ^date/(.*)$ /$1 [L,R=301]
RewriteRule ^(.*)/date/(.*)$ $1/$2 [R=301,L]
RewriteRule ^date/(.*)$ /$1 [L]

Read more here: In .htaccess of how to redirect urls after removing a word as a new structure applied


Solution:

If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Related Wordpress search:

, , , , , ,

Wordpress related questions and answers: