• Resolved r3ck0rd

    (@r3ck0rd)


    I have a WP blog at reckord.info, that when you click a link from the homepage you can see the post’s page but when you click at the address bar and enter it (which means go to the page directly without any referrer), it shows 404 error.

    I don’t use 404 error page from the theme, and oh by the way, when I remove the ErrorDocument 404 line from the .htaccess, the theme’s 404 page won’t show up. Why’s this happening?

Viewing 3 replies - 1 through 3 (of 3 total)
  • whats in your .htaccess?

    Thread Starter r3ck0rd

    (@r3ck0rd)

    Ah solved already, this is the prob:
    ‘## Block Hot Linking ##
    RewriteEngine on
    RewriteCond %{HTTP_REFERER} !^$
    RewriteCond %{HTTP_REFERER} !^https://(www\.)?mydomain.com/.*$ [NC]’

    I forgot where did I copy it from, well it’s removed.

    yeap, thats what i was looking for. thats one of those ‘sure things’.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘404 when no referrer’ is closed to new replies.