WordPress.org

Ready to get started?Download WordPress

Forums

Weird Header Problem (5 posts)

  1. wonderla
    Member
    Posted 5 years ago #

    wp 2.7
    I have a blog and an ad on blog at the same place
    The ad-on blog I don't have this problem
    the regular blog, on some themes not all, routinely the header is always messed up. The menu bar crooked or split in half.
    The installations are exactly the same and done manually.
    Is there something in the htaccess file which could cause this?
    Both have them but one seems to have a lot more stuff in it than the other, I've never touched them so I don't know how the stuff got there.

  2. iridiax
    Member
    Posted 5 years ago #

    Both have them but one seems to have a lot more stuff in it than the other, I've never touched them so I don't know how the stuff got there.

    Is the added stuff weird-looking encrypted code or spammy links?

  3. jamespalateo
    Member
    Posted 5 years ago #

    Can we check the link so that, we could do some appropriate recommendations on it?

  4. wonderla
    Member
    Posted 5 years ago #

    The htcaccess files for both are as follows.
    The one for the blog whose headers are always fine is thE FIRST ONE
    -----------------
    RewriteEngine on

    <Files 403.shtml>
    order allow,deny
    allow from all
    </Files>

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress
    #RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ - [F,NC]

    deny from 165.193.0.0/16
    deny from 91.144.186.80
    deny from 91.144.186.88
    deny from 91.144.186.92
    deny from 92.48.124.200
    #RewriteRule .*\.(jpg|jpeg|gif|png|bmp||png)$ - [F,NC]

    RewriteCond %{HTTP_REFERER} !^http://nowickedwitch.com/.*$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://nowickedwitch.com$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://shouldbefamous.wonderlandornot.net/.*$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://shouldbefamous.wonderlandornot.net$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://wonderlandornot.com/.*$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://wonderlandornot.com$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://wonderlandornot.net/.*$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://wonderlandornot.net$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.nowickedwitch.com/.*$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.nowickedwitch.com$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.shouldbefamous.wonderlandornot.net/.*$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.shouldbefamous.wonderlandornot.net$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.wonderlandornot.com/.*$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.wonderlandornot.com$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.wonderlandornot.net/.*$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.wonderlandornot.net$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://shouldbefamous.net/.*$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://shouldbefamous.net$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.shouldbefamous.net/.*$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.shouldbefamous.net$ [NC]
    RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ - [F,NC]

    -----------------

    this is the access fole for the refular blog not the ad on
    ----

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress
    #EST_FILENAME} !-d
    #RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

    <Files 403.shtml>
    order allow,deny
    allow from all
    </Files>

    #RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ - [F,NC]

    deny from 165.193.0.0/16
    deny from 91.144.186.80
    deny from 91.144.186.88
    deny from 91.144.186.92
    deny from 92.48.124.200
    RewriteCond %{HTTP_REFERER} !^http://nowickedwitch.com/.*$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://nowickedwitch.com$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://shouldbefamous.wonderlandornot.net/.*$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://shouldbefamous.wonderlandornot.net$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://wonderlandornot.com/.*$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://wonderlandornot.com$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://wonderlandornot.net/.*$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://wonderlandornot.net$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.nowickedwitch.com/.*$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.nowickedwitch.com$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.shouldbefamous.wonderlandornot.net/.*$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.shouldbefamous.wonderlandornot.net$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.wonderlandornot.com/.*$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.wonderlandornot.com$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.wonderlandornot.net/.*$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.wonderlandornot.net$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://shouldbefamous.net/.*$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://shouldbefamous.net$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.shouldbefamous.net/.*$ [NC]
    RewriteCond %{HTTP_REFERER} !^http://www.shouldbefamous.net$ [NC]
    RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ - [F,NC]

  5. wonderla
    Member
    Posted 5 years ago #

    the theme I have now the header works but half of them end up split I just can't think of any reason for it.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags