WordPress.org

Ready to get started?Download WordPress

Forums

error on the Codex page ? (7 posts)

  1. Matt B.
    Member
    Posted 9 years ago #

    Hello folks,

    I'm trying to tackle comment spam on my blog and found this codex page : http://codex.wordpress.org/Combating_Comment_Spam#Editing_.htaccess_to_Deny_Access_to_-No_Referrer-_Requests which gathers all sorts of useful resources. However, the last line of the .htaccess example looks very weird : here's what I read :

    RewriteRule (.*) “http://%{REMOTE_ADDR}/� [R=301,L]

    Can someone give me the corrected line as these characters must be wrong ?

    Thanks,

    dtc

  2. jdunavin
    Member
    Posted 9 years ago #

    I believe that the character is supposed to be the caret ^ (Shift-6).

  3. Matt B.
    Member
    Posted 9 years ago #

    Thanks, I'll try that :)

  4. Matt B.
    Member
    Posted 9 years ago #

    Update > I think it should read like this :

    RewriteRule (.*) ^http://%{REMOTE_ADDR}/$ [R=301,L]

    Would it be possible for the mods/admins to update the codex page ?

  5. Anyone, including yourself, can edit the Codex. You just need to register for a free account. That's the beauty of community-based documentation. But, don't worry, I've fixed it for you. Thanks for pointing it out.

  6. Matt B.
    Member
    Posted 9 years ago #

    Cool, I did not know we could edit it too !
    Thanks for fixing it :)

  7. NuclearMoose
    Member
    Posted 9 years ago #

    There has been some "gibberish" introduced into Codex recently that has shown up on virtually all of the pages. It's a known issue and is being corrected as the errors are found.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.