WordPress.org

Ready to get started?Download WordPress

Forums

I changed /Blog directory to /News but how do redict but google shows old index (2 posts)

  1. bgbs
    Member
    Posted 4 years ago #

    Since google is still showing old index pages under /blog directory, it take you to "not found" page. Is there a script that redirects the whole directory to /news, or something so that the page at least does not error out by being not found?

  2. esmi
    Forum Moderator
    Posted 4 years ago #

    Try adding:

    Redirect 301 /blog http://wyour_domain/news/

    to the .htaccess file in the root of your domain.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.