Olin: Ollivierre: no but otherwise wordpress couldnt work, could it?
Mccuien: Gavburt: an easy way to clone your existing website is to use plugin duplicator.
Yannantuono: Gavburt: Duplicator – https://----escape_autolink_uri:a03ded6cd97ffffa8f7b4e1454f3eecc----.org/plugins/duplicator/
Poliks: Hepheistos55585: WordPress works fine without mod_rewrite, but you can’t use pretty permalinks as you are observing now
Yeisley: If apache didn’t tell you rewrite was enabled when you ran the commands I mentioned, there’s somethign missing in your setup and you will need ot add the rewrite module for apache first
Balducci: Okay i try to install it again
Moores: Hepheistos55585: after installing it, did you follow Ollivierre’s suggestion to restart the web server?
Mikami: Also make sure, your permalink settings change your .htaccess. Sometimes you need to touch .htaccess; chmod 644 .htaccess; chown www-data:www-data .htaccess; and then change your permalink settings again.
Dickstein: Hey guys, I’m still stuck with pagination. I’ve got something to appear on the page now, but the links don’t really work as expected. This is the page: http://defensevids.com/
Dickstein: And this is the source: http://pastebin.com/gbDQKZgh
Dickstein: The ‘next’ link always selects page 2
Dickstein: Page 1 can never be selected
Galicia: Uhm, line 5 is somehwat redundant? :
Tilson: Do i have to alter the AllowOverride parameter in apache2.conf?
Monk: Hepheistos55585: Yup yo uneed ot allow overrides
Dickstein: Pixolin: I’m not even clear what the ‘page’ and ‘paged’ variables actually do. I just know that things break if one or the other isn’t present
Deschamp: Ollivierre: then the entry is granted instead of none?
Mesecar: Basically you tell your query to fetch the current page number from the post object and use it for pagination.
Jesse: That used to work before Ollivierre broke it 😛
Victoria: Okay i changed the AllowOverride from none to FileInfo after i found this page https://codex.----escape_autolink_uri:a03ded6cd97ffffa8f7b4e1454f3eecc----.org/Using_Permalinks now it works :
Tokihiro: Thank you all for helping
Wallie: It actually means “check whether the query returns a page, if so, use that for the query, if not, set it to one”
Dickstein: Should I use a similar construct for ‘page’ as well as ‘paged?
Dickstein: I’m just guessing here. I don’t know how those variables impact my attempts to output pagination markup
Lytch: The codex also has a section “If the pagination is broken on a static front page …” where it uses “page”
Dickstein: Yeah, I remember seeing that
Depolito: Got to go and pick up my kid
Hickox: Ollivierre: thanks, its working now
Dickstein: Hmmm. for anyone else watching this issue, I’ve swapped out the code that I had setting the ‘page’ and ‘paged’ variable with the demo code from here: http://codex.----escape_autolink_uri:a03ded6cd97ffffa8f7b4e1454f3eecc----.org/Pagination#static_front_page
Dickstein: So now I’ve got this http://pastebin.com/9fhK9fGu
Dickstein: But I’ve still got the same issue: paging markup is present, but doesn’t work as expected.
Bosque: I followed your suggestion here to reinstall WP in case of php malicious injected code
Hartle: Reinstalled, after 3 days, same issue again
Zelasko: Now, likely, one of the plugins i use is the port
Brookie: Any suggestion on how to proceed now ?
Meleo: Code has been injected the day after the setup
Jahoda: Angelo_ts: If it was me, I’d go grab a Sucuri membership for a year, they’ll clean your site and identify the source, and also have some pretty good plugins for protecting your site as well
Althaus: Ollivierre: how can I leave a msg for one who isnt here/online yet?