Redirecting a Web Folder Directory to another Directory in htaccess
…the non-www as preference. RewriteEngine On RewriteCond %{HTTP_HOST} !^www\.olddomain\.com$ RewriteRule (.*) http://www.newdomain.com/$1 [R=301,L] RewriteCond %{HTTP_HOST} !^olddomain\.com$ RewriteRule (.*) http://www.newdomain.com/$1 [R=301,L] The above here will redirect 301 all urls from one…
Read MoreChange and Update WordPress URLS in Database When Site is Moved to new Host
…and it will do them all for you. Hope this helps! ————– SET @FIND_URL = ‘old_url’; SET @REPLACE_URL = ‘new_url’; UPDATE wp_options SET option_value = replace(option_value, @FIND_URL, @REPLACE_URL) WHERE option_name…
Read MoreYoast WordPress SEO Tutorial, Set up SEO in an Optimal Way
…sometimes displayed if someone does a search on your company name. Webmaster Tools – like it says either leave if already verified with these search engines or enter your sites…
Read MoreInstalling Homebrew on macOS Ventura or Monterey, Package Manager for Linux Apps
…install won’t be 100% if Xcode is not up to date, so update Xcode from the App Store. To search for an application: brew search To install brew install packagename…
Read MoreAdding a Fly Out Search Field Box for Genesis based on TwentyFourteen
…the mark up into the new widget area in the dashboard. <div id=”search-container” class=”search-box-wrapper clear”><div class=”search-box clear”><?php get_search_form(); ?></div></div> And this is what we get… Add in Search Icon trigger…
Read MoreSet up malware scanner LMD Maldet and ClamAV on a RunCloud instance
…which are not malware but will show in a scan, download and use files below to test in a directory that you scan: wget http://www.eicar.org/download/eicar.com wget http://www.eicar.org/download/eicar.com.txt wget http://www.eicar.org/download/eicar_com.zip wget…
Read MoreSet up malware scanner LMD Maldet and ClamAV on a CloudPanel instance
…directory that you scan: wget http://www.eicar.org/download/eicar.com wget http://www.eicar.org/download/eicar.com.txt wget http://www.eicar.org/download/eicar_com.zip wget http://www.eicar.org/download/eicarcom2.zip Using LMD as a monitoring app LMD also allows for it to be a monitoring daemon application that…
Read MoreUsing Slick Responsive Navigation Mobile Menus on Genesis Child Theme
…the “Slicknav Mobile Menu Name” field. What am I doing wrong? The site is www.tacknrider.com Neil Gee Hi – you may have to use latest version of the theme where…
Read MoreCompletely hide WooCommerce products from shop, product search and WordPress search
…hidden would show in the search results. add_action(‘pre_get_posts’, ‘wpse_187444_search_query_pre’); /** * Hide Catalog Products Only In Search * @link https://wordpress.stackexchange.com/questions/283393/hidden-woocommerce-products-still-showing-up-in-search-results/283397 * @since 1.7.0 */ function wpse_187444_search_query_pre($query) { if ($query->is_search() &&…
Read MoreRedirect all pages to non-www and HTTPS in WordPress
…off RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] # END Redirects If you still want the www way instead https://www.example.com # BEGIN Redirects RewriteEngine On # 301 redirect to www RewriteCond %{HTTP_HOST} !^www\….
Read More