Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder
    Join Date
    Oct 2008
    Location
    Poland
    Posts
    381
    Thanks
    150
    Thanked 2 Times in 2 Posts

    Why some files are forbidden?

    Hello, please look at the following URLs:

    Code:
    http://glamourina.pl/wp-content/uploads/2011/04/202001-440x557-Copy.jpg/
    http://glamourina.pl/wp-content/uploads/2011/04/202001-440x557-Copy.jpg/feed/
    and also to
    Code:
    http://glamourina.pl/wp-content/uploads/2011/04/aldo-shoes-collection-2011.jpg/
    http://glamourina.pl/wp-content/uploads/2011/04/aldo-shoes-collection-2011.jpg/feed/
    you will see that tey are forbidden.

    However if you delete the trailing slash they work. Eg.
    Code:
    http://glamourina.pl/wp-content/uploads/2011/04/202001-440x557-Copy.jpg
    http://glamourina.pl/wp-content/uploads/2011/04/aldo-shoes-collection-2011.jpg

    What's wrong? Here is the .htaccess

    Code:
    RewriteEngine on
    RewriteCond %{HTTP_HOST} ^glamourina.it$ [OR]
    RewriteCond %{HTTP_HOST} ^www.glamourina.it$
    RewriteRule ^(.*)$ "http\:\/\/www\.glamourina\.pl\/$1" [R=301,L]
    
    RewriteCond %{REQUEST_URI} ^/jestem-na$ [OR]
    RewriteCond %{REQUEST_URI} ^/jestem-na/$
    RewriteRule (.*) http://glamourina.pl/ [R=301,L]
    
    RewriteRule ^category/(.*)$ /glamour/$1 [R=301,L]
    RewriteRule ^category/(.*)$ /c/$1 [R=301,L]
    RewriteRule ^glamour/(.*)$ /c/$1 [R=301,L]
    RewriteRule ^tag/(.*)$ /t/$1 [R=301,L]
    
    
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress
    Please help. Google Webmaster Tools doesn't like 403 pages, and there are more than 2 with this status.
    Thank you

  • #2
    New Coder
    Join Date
    May 2012
    Location
    Mars
    Posts
    11
    Thanks
    1
    Thanked 0 Times in 0 Posts
    I had that problem. If your using WIndows check that the file dont have green name when browsing your computer if they do Right click go to proporties then go to advance the untick Encrypt Data To Sucuar Centent

  • #3
    Regular Coder
    Join Date
    Oct 2008
    Location
    Poland
    Posts
    381
    Thanks
    150
    Thanked 2 Times in 2 Posts
    ehh, the hosting is Linux :/


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •