1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

403 Forbidden error above header

Discussion in 'Black Hat SEO' started by Xpand, Jan 15, 2014.

  1. Xpand

    Xpand Regular Member

    Joined:
    Jul 21, 2010
    Messages:
    226
    Likes Received:
    61
    Hi, I'm using OptimizePress (on a new website) and made a squeeze page with video, header, headline and opt-in box.

    But when I open my website it says 403 Forbidden nginx above header. I've read that it is most likely permission error for some folder and/or file, I checked most of the folders/files and is 775 for folders and 664 for files so that should be fine.

    Any thoughts on what to check next, I'm losing my mind lol Thanks.
     
  2. tdivan

    tdivan Newbie

    Joined:
    Aug 12, 2013
    Messages:
    46
    Likes Received:
    16
    403 can be a permissions issue it can also be a ownership issue. If you are on a linux VPS you may need to change the ownership of the files from root to your user name you can check them easily in filezilla your files should be the same all the way through the folder. Also yes 775 and 664 should be okay as long as everything above it is correct as well. then if you are serving a ad in that space that might also be giving you trouble depending on the ad and what its pointing to. I had a couple advertisers on linkshare whose links were truly unusable and I had to recreate each one that I wanted to use because the supplied ones were leading to the incorrect info and the incorrect pictures.
     
  3. Xpand

    Xpand Regular Member

    Joined:
    Jul 21, 2010
    Messages:
    226
    Likes Received:
    61
    I'm using Hostgator and cPanel with Wordpress. I'm not using that space for anything, it just appears above my header like this:
    http://prntscr.com/2jm12y

    So is just a fresh install of WP, installed Optimizepress and created 1 squeeze page and made it static homepage.

    Just tried to access:
    mydomain(dot)com/.htaccess and got this:
    http://prntscr.com/2jm1wt

    Here is my .htaccess in public_html > mydomain folder:
    # 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
     
  4. 1+1=2

    1+1=2 Junior Member

    Joined:
    Jul 14, 2009
    Messages:
    198
    Likes Received:
    29
    Definitely there is something wrong within your server configuration. Just ask you hosting support.
     
  5. Asif WILSON Khan

    Asif WILSON Khan Executive VIP Premium Member

    Joined:
    Nov 10, 2012
    Messages:
    10,115
    Likes Received:
    28,557
    Gender:
    Male
    Occupation:
    Fun Lovin' Criminal
    Location:
    London
    Home Page:
  6. Xpand

    Xpand Regular Member

    Joined:
    Jul 21, 2010
    Messages:
    226
    Likes Received:
    61
    Thanks for reply guys, is a problem in theme itself.

    I've checked all permissions, .htaccess, plugins, all options within Optimizepress etc. but nothing worked. I just changed theme and problem is gone. I really wanted to use Optimizepress for this website, but what you gonna do, I lost too much time trying to fix this crap.