Tag Info

New answers tagged


Solved this. I just needed to scrap the plugin and use the following code in my htaccess...AND switch my site/home URL to https://. But, now we're all good. Here's what I used, in case anyone else has this issue: # BEGIN HTTPS REDIRECT <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) ...


From the Codex for pre_get_posts: pre_get_posts cannot be used to alter the query for Page requests (page templates) because 'is_page', 'is_singular', 'pagename' and other properties (depending if pretty permalinks are used) are already set by the parse_query() method. See: Query Overview. The recommended way to alter the main query for page requests is ...

Top 50 recent answers are included