bselfors
Forum Replies Created
-
Forum: Plugins
In reply to: [Cloudflare Stream Video] URL option blocked by CORS?PS: I removed the video ID.
Forum: Plugins
In reply to: [AMP] AMP Homepage RedirectHello, I am just trying to understand the best practices in regard to the homepage. Should the code be forcing a homepage redirect on mobile?
Forum: Plugins
In reply to: [AMP] AMP Redirect Issue for IndexingI updated the latest version of the plugin except for our custom template files. However, I am not sure what the best practice is when it comes to the homepage. On one hand, I want to force AMP on any mobile traffic but for our homepage, we ended up redirecting to another fallback homepage called https://flowersfaq.com/home/?amp. It does not seem like good practice to 301 the homepage on mobile traffic and maybe that is why Webmaster is not indexing our site as it should…What do you think?
/** * Redirect to URL */ function redirectTo($url) { wp_redirect( $url, 301 ); exit; } function curPageURL() { $pageURL = 'http'; if ($_SERVER["HTTPS"] == "on") {$pageURL .= "s";} $pageURL .= "://"; if ($_SERVER["SERVER_PORT"] != "80") { $pageURL .= $_SERVER["SERVER_NAME"].":".$_SERVER["SERVER_PORT"].$_SERVER["REQUEST_URI"]; } else { $pageURL .= $_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"]; } return $pageURL; } $curl = parse_url(curPageURL()); $ampurl = ''; $ampurl = $curl['scheme'] ."://". $curl['host'] . $curl['path'] .'?amp' ; if ( !empty($curl['query']) ) { $ampurl .= '&'.$curl['query']; } if ( empty($curl['path']) || $curl['path'] == "/" ) { $ampurl = $curl['scheme'] ."://". $curl['host'] ."/home/?amp"; } if ( is_null($_GET['amp']) && wp_is_mobile() ) { redirectTo($ampurl); }Forum: Plugins
In reply to: [AMP] AMP Redirect Issue for IndexingWould the update be a critical thing to address? The site is running well.
Forum: Plugins
In reply to: [AMP] AMP Redirect Issue for IndexingOkay, and yes that’s correct about the canonical.
Forum: Plugins
In reply to: [AMP for WP - Accelerated Mobile Pages] AMP Redirect Issue for IndexingWe have custom amp templates, deactivating our plugin would crash the site.
Forum: Plugins
In reply to: [AMP for WP - Accelerated Mobile Pages] AMP Redirect Issue for IndexingThat’s the weird thing…no errors are showing up. Just not indexing my pages. Its been like a year! I will reach out to the other plugin support. I think it might have something to do with canonicals overwriting or something…still trying to understand why no indexing…
Forum: Plugins
In reply to: [Stickers for WooCommerce] Sold Sticker not showing on product listingsI am having this same issue for the “Sold” which should read “Sold Out” on the gallery product. Works on the single product. Any suggestions?
Forum: Plugins
In reply to: [WP Admin Microblog] Using SyntaxHighlighter and other HTMLWhat does this look like?
Forum: Networking WordPress
In reply to: Login for every site?Hi Mika, Thanks for your help. I dont have the network admin showing in my sub domain login. Could you give me a reference point to debugging this issue? IS there something in particular I should be looking for so this button shows up in my sub domains? Thanks again
Forum: Networking WordPress
In reply to: Login for every site?Just turn off my plugins…Then what? Also, It forces me to login to every sub domain via the wordpress login. HELP 🙂
Forum: Fixing WordPress
In reply to: Migrated site now server error, permalink issuesI used my ssl and not sure where to begin or why it did this? Thanks
Forum: Fixing WordPress
In reply to: "insert into post" button isn't workingI found the two plugins that were corrupted or whatever and i tried re-uploading them same thing still happens what could be the cause?
Forum: Fixing WordPress
In reply to: "insert into post" button isn't workingOkay It works now I will troubleshoot each plugin. One other thing! I now have this little white box that follows my scroll bar on the backend, it follows my scroll bar and covers over my content…? I just updated to the newest version…thank again
Forum: Fixing WordPress
In reply to: "insert into post" button isn't workingThanks so much will give it a try.