Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Forum: Fixing WordPress
    In reply to: search and replace
    Thread Starter gum1982

    (@gum1982)

    ok thankyou

    Forum: Plugins
    In reply to: CHANGING STYLESHEET
    Thread Starter gum1982

    (@gum1982)

    <body <?php if ( is_category(‘Im a member’) ) { echo ‘ class=”active”‘; } ?><?php if ( is_category(‘Im new’) ) { echo ‘ class=”active2″‘; } ?>
    <?php if ( is_category(‘next’) ) { echo ‘ class=”active3″‘; } ?>>

    I got this working on categories now but i want it to work on every post within those categories it basically just changes the background colour on the category page but i want it to work when posts are inserted into that category.

    Any help

    Thread Starter gum1982

    (@gum1982)

    hi thanks for your reply

    I checked general setting and both urls where the same so i checked the options.php and couldnt find anything.

    Then i had an email back from my host telling me to add this to the .htaccess file

    RewriteCond %{HTTP_HOST} ^(www\.)?dcdteachernetwork.org
    RewriteRule ^(.*)$ http://www.dcdteachernetwork.co.uk/$1 [R=permanent,L]

    And now its working perfect.

    The site had been hacked i was fixing it for a client the hack had been added to the wp-options in the database and in the uploads directory in miscellaneous option in wordpress, and was turning all the posts into pages so this might have caused the problem.

    Thanks for your help

    Thread Starter gum1982

    (@gum1982)

    <img src=”http://i29.tinypic.com/25ixgfs.jpg&#8221; border=”0″ alt=”Image and video hosting by TinyPic”>

    Thread Starter gum1982

    (@gum1982)

    Thanks for the quick reply. i dont think the site has been cloned. i have only been given the ftp details for one.

    when you say cloned i assume you mean two full duplicates of the site in seperate folders?

    [IMG]http://i30.tinypic.com/2vbrd6f.jpg[/IMG]

    this is my ftp.

    [IMG]http://i29.tinypic.com/25ixgfs.jpg[/IMG]

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

    # END WordPress

    Sorry im not familiar with this problem.

Viewing 5 replies - 1 through 5 (of 5 total)