WordPress.org

Ready to get started?Download WordPress

Forums

htaccess redirect issue (2 posts)

  1. Watt
    Member
    Posted 3 years ago #

    Long story short, I want to redirect a few old pages and also use a simple html page instead of the 404 Wp error page but I cannot.
    I have this in my htaccess file:
    "ErrorDocument 404 /404.html
    RewriteEngine On
    RewriteBase /"
    just above the Wp default code which is unaltered. However, everytime I try to access a non-existent page the same, default, Wp error page loads. The redirects (not posted) don't work, either, showing the same Wp error page.
    Why I cannot use my code in htaccess? I don't have any issues with other scripts on the same server.
    Thanks!

  2. Shane G.
    Member
    Posted 3 years ago #

    Hi,

    Rather then going to htaccess modification, you can check with these plugins to set the redirection:

    http://wordpress.org/extend/plugins/redirection/
    http://wordpress.org/extend/plugins/quick-pagepost-redirect-plugin/

    Thanks,

    Shane G

Topic Closed

This topic has been closed to new replies.

About this Topic