wordpress - .htaccess - redirect if page not found -


i've spent lot of time searching solution this. i've tried various scenarious, no avail...

i have migrated blog wordpress drupal. of links ok, there few aren't.

i redirect blog pages not found blog root.

ex. old (broken) link - www.mydomain.com/blog/my-old-article should redirect new link - www.mydomain/blog

but if www.mydomain.com/blog/my-old-article exists, should displayed.

is possible using .htaccess?

i think should done in drupal itself. because apache webserver not know database entries of blog articles.


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -