gum1982
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: search and replaceok thankyou
Forum: Plugins
In reply to: CHANGING STYLESHEET<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
Forum: Everything else WordPress
In reply to: redirect loop.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
Forum: Everything else WordPress
In reply to: redirect loop.<img src=”http://i29.tinypic.com/25ixgfs.jpg” border=”0″ alt=”Image and video hosting by TinyPic”>
Forum: Everything else WordPress
In reply to: redirect loop.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.