WordPress.org

Ready to get started?Download WordPress

Forums

redirect rule not working (5 posts)

  1. rayne
    Member
    Posted 9 years ago #

    Yes, the about.php file is in the root directory. It too gives an error as long as I have the rule in my .htaccess file. If I remove it so there is no rule, the about.php file loads as it should. As soon as I add the rule to the .htaccess file, nothing works. Don't know why that one isn't working when all other rules are working.

  2. carthik
    Member
    Posted 9 years ago #

    Did you try the new rewrite rule I suggested?
    Something similar works fine for me.

  3. rayne
    Member
    Posted 9 years ago #

    Yes, I copied what you suggested and it didn't make any difference. I'm just baffled.

  4. carthik
    Member
    Posted 9 years ago #

    Okay, now, there should be exactly one newline at the end of the line before the new redirect rule. The right way to add a new rewrite rule would be to go to the end of the last rewrite rule, press enter, then type the new rewrite rule. That's all I can figure.

  5. rayne
    Member
    Posted 9 years ago #

    I went in, removed all the extra lines at the end of the file. Then at the end of the last rewrite rule, I hit enter and pasted the code you gave me. I'll check with my host and see if he has any ideas why that one isn't working.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.