skip to Main Content

RedirectMatch 301 remove query string / URL Parameters – Apache

i need a Solution for the google search console error links and RedirectMatch 301 remove query string / URL Parameters in my htaccess: Google Search Console Links: https://www.domain.de/?main_page=index&zenid=umf5etlrmr4blnuiq0e4jsp6l2&cPath=15_326&sort=20a&alpha_filter_id=68 https://www.domain.de/index.php?main_page=product_reviews_write&products_id=9985&cPath=5_380&number_of_uploads=0 https://www.domain.de/?main_page=index&cPath=46_47&sort=20a&alpha_filter_id=70 https://www.domain.de/?currency=USD&main_page=products_new&disp_order=7&page=141 https://www.domain.de/?main_page=index&zenid=mj6nsb9r53goiu6e13nb80tfq7&cPath=1_160&sort=20a&alpha_filter_id=70 https://www.domain.de/?currency=USD&main_page=index&cPath=3_137 https://www.domain.de/?main_page=index&cPath=46_76&sort=20a&alpha_filter_id=84 https://www.domain.de/?main_page=index&cPath=5_6&sort=20a&alpha_filter_id=85 https://www.domain.de/index.php?main_page=index And many more. I…

VIEW QUESTION

301 redirect folder root – Apache

I'm struggling with a fairly simple 301 redirect. I have several redirects for pages which all work fine - eg Redirect 301 /folder/mypage1.html https://www.example.com/folder/mypage2.html. However now I want to redirect from a folder root to another page, I don't however…

VIEW QUESTION

Wrong condition getting successful in PHP file – Apache

I have made a simple API through PHP to provision and check connection to server. Here is the Code: <?php ini_set('display_errors', 1); session_start(); require_once("common.php"); $api_get="*******************"; $api_post="**********************"; if (isset($_GET["apikey"])){ if ($_GET["apikey"]=="$api_get"){ // Takes raw data from the request $json = file_get_contents('php://input');…

VIEW QUESTION
Back To Top
Search