Rob Cubbon
Forum Replies Created
-
Forum: Localhost Installs
In reply to: WordPress "not found" using MAMPMore info:
MAMP seems fine. I can open the Start page, I can do the PHPinfo page, I can create a database in PHPMyAdmin.Β
But if I create a index.html with “hello” in it and put it into MAMP/htdocs/index.html I get: “The requested URL /MAMP/htdocs/ was not found on this server.”
Similarly WordPress doesn’t work.
I preferences for MAMP I have:
Apache port: 8888; MySQL port: 8889
Apache: /Applications/MAMP/htdocsand the URL isΒ localhost:8888/MAMP/htdocs
Forum: Fixing WordPress
In reply to: query_posts of child of a certain pageI don’t want to go overboard with gratitude here but I really am sincerely grateful for your help esmi β I really thought I’d be ages trying to figure this one out. Thank you! π
Forum: Fixing WordPress
In reply to: Changed admin, Gravatar missingWell done, hopefully that’ll help somebody else. π
Forum: Fixing WordPress
In reply to: Changed admin, Gravatar missingSorry, kodamapixel, I didn’t find a fix, I reverted to an older database copy. I’m sure it’s possible to fix though.
Forum: Fixing WordPress
In reply to: Running page number on archive pagesSEO is simple, you need quality content and quality links. SEO companies make it complicated at a price! (my 2 cents)
Thank you so much, Esmi. I’d looked at Twenty Ten but not looked at Twenty Eleven but you still changed the code a little bit which I wouldn’t have been able to do.
Mercifully, I didn’t have to change the page titles as they already have running page numbers in them.
However, this works if you want to have a heading with a page number in it after page one.
<h1>My Blog<?php if ( $paged >= 2 || $page >= 2 ) echo ' | Page ' . sprintf( __( '%s'), max( $paged, $page ) ); ?><h1>This spits out
My Blog
My Blog | Page 2
My Blog | Page 3
My Blog | Page 4
etc.Thanks, esmi
Forum: Fixing WordPress
In reply to: Running page number on archive pagesEsmi, thanks for this. I have read this article. Unfortunately, I am working for a company that has paid an SEO company some money to make some changes to the site. You and I may agree that these changes are completely unnecessary but … I have to do them.
I hope I’ve not misunderstood your point, Esmi, as you’ve been so helpful to me in the past.
Forum: Fixing WordPress
In reply to: Site hackedYou’re right, Patrick, the blacklisting has been lifted less than 24 hours after the request β I’m really impressed!
I have changed all passwords and hardened the site in every way I know, thank you π
Forum: Fixing WordPress
In reply to: Site hackedJust to give you an update, in case this helps anyone else…
Unfortunately I couldn’t rescue the database so I copied everything over manually, there were only a few pages, anyway.
If you run a security scan with Sucuri on the site it no longer comes up with anything, just the blacklisting. I’ve applied to Google for the blacklisting to be lifted β I’ve no idea when that will happen.
Forum: Fixing WordPress
In reply to: Site hackedHello Mickey, thanks again for all your help and I’d just like to tell you where I am.
I’ve copied all the files via FTP. And exported the DB with PHPMyAdmin (this was a new version of PHPMyAdmin so I’m not sure if I did this right but I have an SQL file.
As a matter of interest I’m not sure if it was the TimThumb vulnerability as I’ve checked the WP files and they are riddled with eval code and 1px by 1px iframes pointing to gogofly dot cjb dot net which is a “top domain distributing malware” according to Sucuri. And there wasn’t the tell-tale signs in the config.php of TimThumb vulnerability. But it may have been a combination of things. The passwords weren’t very good and it was WP 3.2.1.
Anyway, I’ve deleted all the files and the DB and created a new WP clean install (this was necessary as the person has lost the WP passwords and the email address that originally created it).
So what I’d like to do now is to import the information in the old DB into the new DB as it has all old text, pages and image paths.
How do you do this? I have tried importing it into the new DB via the Import function in PHPMyAdmin and it just stops WP working – you get a white screen of death. I presume because the usernames and passwords are different between the old and new DBs?
I’ve googled around about this but I haven’t come up with anything – I will keep at it though.
Forum: Fixing WordPress
In reply to: Site hackedThank you very much, Mickey, I’ll let you know how I get on.
Forum: Fixing WordPress
In reply to: Site hackedThank you so much for this help, Mickey.
I might be being naive here. But can I copy all the text from the pages. Save the theme files, deleting the TimThumb script. Delete all the WP files and others on the server. Delete the DB. Set up a new WordPress install with a new DB. And re-install old theme with new TimThumb script.
Would this be sensible?
Forum: Fixing WordPress
In reply to: Recent posts widget not working properlyI actually don’t have hardly any plugins that could have conflicted with it as I have the same set up on other sites that have worked β same theme, same plugins. Oh well, that was a mystery but, as you say, we have a fix and at least it works so thank you for that.
And, it’s really better to do these things “by hand” than to rely on plugins. Thank you for the query_posts example β clever stuff! Appreciate it.
Forum: Fixing WordPress
In reply to: Recent posts widget not working properlyThank you, deepbevel, that works.
But I don’t get it. How come that works and the widget doesn’t. Surely it’s the same php in the widget?
Forum: Plugins
In reply to: [plugin: Contact Form 7] Only French forms work; English Forms don't!Yes, they haven’t replied yet. They’re a really bad host.
Forum: Fixing WordPress
In reply to: WordPress contact form plugins don't work on Linux serverNo… that didn’t work. I’ve reinstalled WordPress – the English version and still the CF7 forms in French work and in English they don’t work!