error on the Codex page ? (7 posts)

  1. Matt B.
    Posted 11 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 ?



  2. jdunavin
    Posted 11 years ago #

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

  3. Matt B.
    Posted 11 years ago #

    Thanks, I'll try that :)

  4. Matt B.
    Posted 11 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. James Huff
    Support Representative
    Posted 11 years ago #

    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.
    Posted 11 years ago #

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

  7. NuclearMoose
    Posted 11 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


No tags yet.