{"id":408,"date":"2021-06-22T20:16:41","date_gmt":"2021-06-22T20:16:41","guid":{"rendered":"https:\/\/hostandtech.com\/help\/?p=408"},"modified":"2021-11-14T03:11:44","modified_gmt":"2021-11-14T03:11:44","slug":"how-to-remove-byte-order-mark-from-php-htaccess-or-others","status":"publish","type":"post","link":"https:\/\/hostandtech.com\/help\/apache\/how-to-remove-byte-order-mark-from-php-htaccess-or-others\/","title":{"rendered":"How to remove Byte order mark from PHP htaccess or others"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"408\" class=\"elementor elementor-408\" data-elementor-post-type=\"post\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-56ab6c9 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"56ab6c9\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-0af52b2\" data-id=\"0af52b2\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-577f2e1 elementor-widget elementor-widget-text-editor\" data-id=\"577f2e1\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>In this article we will learn how to remove\u00a0 byte order mark.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-0c95211 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"0c95211\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-9e8dd6e\" data-id=\"9e8dd6e\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-5758fd8 elementor-widget elementor-widget-heading\" data-id=\"5758fd8\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">What is Byte order mark (BOM)?<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-fd6fd26 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"fd6fd26\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-58352fe\" data-id=\"58352fe\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-6ae1cf9 elementor-widget elementor-widget-text-editor\" data-id=\"6ae1cf9\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Byte order mark is the informal name of the special Unicode character encoding that appear as a magic number at the start of a text file or any other file types. Or consider it as representation for the <a href=\"https:\/\/en.wikipedia.org\/wiki\/UTF-8\" target=\"_blank\" rel=\"noopener\">UTF-8<\/a> BOM in ISO-8859-1.#<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-ee03645 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"ee03645\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-73adf08\" data-id=\"73adf08\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-4c2489a elementor-widget elementor-widget-heading\" data-id=\"4c2489a\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Error Case Scenario<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-33d6661 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"33d6661\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-50cb5c5\" data-id=\"50cb5c5\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-bcbcdbb elementor-widget elementor-widget-text-editor\" data-id=\"bcbcdbb\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>For example: when you change a file using different editor software and upload that file to your website like\u201c.htaccess or php\u201d then on browsing the website you are getting<\/p><p>public_html\/.htaccess: Invalid command \u2018\\xef\\xbb\\xb\u2019, perhaps misspelled or defined by a module not included in the server configuration. Now your website may not work and it will show Error 500. Even if you are trying to edit the file in normal editor you wont be able to find out and remove those BOM.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-28200b8 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"28200b8\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-6fd7adf\" data-id=\"6fd7adf\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-6a759a5 elementor-widget elementor-widget-heading\" data-id=\"6a759a5\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Remove Byte order mark (BOM)<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-f1b2f7e elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"f1b2f7e\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-ed90f8e\" data-id=\"ed90f8e\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-dfef4f8 elementor-widget elementor-widget-text-editor\" data-id=\"dfef4f8\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Login to your <span style=\"color: #000000;\"><strong><a style=\"color: #000000;\" href=\"https:\/\/hostandtech.com\/help\/category\/linux\/\" target=\"_blank\" rel=\"noopener\">Linux<\/a><\/strong><\/span> Server using PuTTY SSH and run the following command.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-8c30497 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"8c30497\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-7779c24\" data-id=\"7779c24\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-37e8679 elementor-widget elementor-widget-code-highlight\" data-id=\"37e8679\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"prismjs-okaidia copy-to-clipboard \">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-bash \">\n\t\t\t\t<code readonly=\"true\" class=\"language-bash\">\n\t\t\t\t\t<xmp>vi .htaccess<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-451d73a elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"451d73a\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-3b89235\" data-id=\"3b89235\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-667b643 elementor-widget elementor-widget-text-editor\" data-id=\"667b643\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Then enter the command to remove the BOM:<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-a9ed07e elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"a9ed07e\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-4f6ccf0\" data-id=\"4f6ccf0\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-3c1229b elementor-widget elementor-widget-code-highlight\" data-id=\"3c1229b\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"prismjs-okaidia copy-to-clipboard \">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-bash \">\n\t\t\t\t<code readonly=\"true\" class=\"language-bash\">\n\t\t\t\t\t<xmp>:set nobomb<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-b0f5117 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"b0f5117\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-f97c6c8\" data-id=\"f97c6c8\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-eb56414 elementor-widget elementor-widget-text-editor\" data-id=\"eb56414\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Save the file:<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-629626e elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"629626e\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-e5d42ad\" data-id=\"e5d42ad\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-1b6f693 elementor-widget elementor-widget-code-highlight\" data-id=\"1b6f693\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"prismjs-okaidia copy-to-clipboard \">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-bash \">\n\t\t\t\t<code readonly=\"true\" class=\"language-bash\">\n\t\t\t\t\t<xmp>:wq<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-b206e2a elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"b206e2a\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-1e6e038\" data-id=\"1e6e038\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-2837e90 elementor-widget elementor-widget-text-editor\" data-id=\"2837e90\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Once you run the saved command ,check the file online and the problem should be solved.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-a728e3b elementor-widget elementor-widget-elementor-faq-schema\" data-id=\"a728e3b\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"elementor-faq-schema.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t                                    <script type=\"application\/ld+json\">\n                    {\n                        \"@context\": \"https:\/\/schema.org\",\n                        \"@type\": \"FAQPage\",\n                        \"mainEntity\": [\n                         {\n                            \"@type\": \"Question\",\n                            \"name\": \"What Is Byte Order Mark (BOM)?\",\n                            \"acceptedAnswer\": {\n                                \"@type\": \"Answer\",\n                                \"text\": \"&lt;p&gt;Byte order mark is the informal name of the special Unicode character encoding that appear as a magic number at the start of a text file or any other file types. or consider it as representation for the UTF-8 BOM in ISO-8859-1.#&lt;\/p&gt;\"\n                            }\n                                                    },\n                                             {\n                            \"@type\": \"Question\",\n                            \"name\": \"How to Remove Byte Order Mark?\",\n                            \"acceptedAnswer\": {\n                                \"@type\": \"Answer\",\n                                \"text\": \"&lt;ol&gt;&lt;li&gt;Login to your Linux Server using PuTTY SSH and run the following command: vi .htaccess&lt;\/li&gt;&lt;li&gt;Then enter the command to remove the BOM: :set nobomb&lt;\/li&gt;&lt;li&gt;Save the file: :wq&lt;\/li&gt;&lt;li&gt;Once you run the saved command ,check the file online and the problem should be solved.&lt;\/li&gt;&lt;\/ol&gt;\"\n                            }\n                                                    }\n                    ]\n                    }\n                <\/script>\n                    \t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>In this article we will learn how to remove&nbsp; byte order mark. What is Byte order mark (BOM)? Byte order mark is the informal name of the special Unicode character encoding that appear as a magic number at the start of a text file or any other file types. Or consider it as representation for [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":1831,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[247,248,254],"tags":[286,270],"class_list":["post-408","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-apache","category-general-topics","category-php","tag-htaccess","tag-php"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How To Remove Byte Order Mark From PHP Htaccess File Or Others<\/title>\n<meta name=\"description\" content=\"remove Byte order mark to fix Invalid command xefxbbxb, perhaps misspelled or defined by a module not included in the server configuration\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/hostandtech.com\/help\/apache\/how-to-remove-byte-order-mark-from-php-htaccess-or-others\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How To Remove Byte Order Mark From PHP Htaccess File Or Others\" \/>\n<meta property=\"og:description\" content=\"remove Byte order mark to fix Invalid command xefxbbxb, perhaps misspelled or defined by a module not included in the server configuration\" \/>\n<meta property=\"og:url\" content=\"https:\/\/hostandtech.com\/help\/apache\/how-to-remove-byte-order-mark-from-php-htaccess-or-others\/\" \/>\n<meta property=\"og:site_name\" content=\"STS Host and Tech Knowledge base\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/stshostandtech\" \/>\n<meta property=\"article:published_time\" content=\"2021-06-22T20:16:41+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-11-14T03:11:44+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/hostandtech.com\/help\/wp-content\/uploads\/2021\/07\/byte-order-mark-BOM-e1634428618136.png\" \/>\n\t<meta property=\"og:image:width\" content=\"315\" \/>\n\t<meta property=\"og:image:height\" content=\"142\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"HostandTech Support\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"How To Remove Byte Order Mark From PHP Htaccess File Or Others\" \/>\n<meta name=\"twitter:description\" content=\"remove Byte order mark to fix Invalid command \\xefxbbxb\\, perhaps misspelled or defined by a module not included in the server configuration\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/hostandtech.com\/help\/wp-content\/uploads\/2021\/07\/byte-order-mark-BOM-e1634428618136.png\" \/>\n<meta name=\"twitter:creator\" content=\"@stshostandtech\" \/>\n<meta name=\"twitter:site\" content=\"@stshostandtech\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"HostandTech Support\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/hostandtech.com\/help\/apache\/how-to-remove-byte-order-mark-from-php-htaccess-or-others\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/hostandtech.com\/help\/apache\/how-to-remove-byte-order-mark-from-php-htaccess-or-others\/\"},\"author\":{\"name\":\"HostandTech Support\",\"@id\":\"https:\/\/hostandtech.com\/help\/#\/schema\/person\/141140aea3ea46eb153a44601194d042\"},\"headline\":\"How to remove Byte order mark from PHP htaccess or others\",\"datePublished\":\"2021-06-22T20:16:41+00:00\",\"dateModified\":\"2021-11-14T03:11:44+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/hostandtech.com\/help\/apache\/how-to-remove-byte-order-mark-from-php-htaccess-or-others\/\"},\"wordCount\":204,\"publisher\":{\"@id\":\"https:\/\/hostandtech.com\/help\/#organization\"},\"image\":{\"@id\":\"https:\/\/hostandtech.com\/help\/apache\/how-to-remove-byte-order-mark-from-php-htaccess-or-others\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/hostandtech.com\/help\/wp-content\/uploads\/2021\/07\/byte-order-mark-BOM-e1634428618136.png\",\"keywords\":[\"Htaccess\",\"PHP\"],\"articleSection\":[\"Apache\",\"General Topics\",\"PHP\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/hostandtech.com\/help\/apache\/how-to-remove-byte-order-mark-from-php-htaccess-or-others\/\",\"url\":\"https:\/\/hostandtech.com\/help\/apache\/how-to-remove-byte-order-mark-from-php-htaccess-or-others\/\",\"name\":\"How To Remove Byte Order Mark From PHP Htaccess File Or Others\",\"isPartOf\":{\"@id\":\"https:\/\/hostandtech.com\/help\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/hostandtech.com\/help\/apache\/how-to-remove-byte-order-mark-from-php-htaccess-or-others\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/hostandtech.com\/help\/apache\/how-to-remove-byte-order-mark-from-php-htaccess-or-others\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/hostandtech.com\/help\/wp-content\/uploads\/2021\/07\/byte-order-mark-BOM-e1634428618136.png\",\"datePublished\":\"2021-06-22T20:16:41+00:00\",\"dateModified\":\"2021-11-14T03:11:44+00:00\",\"description\":\"remove Byte order mark to fix Invalid command \\\\xefxbbxb\\\\, perhaps misspelled or defined by a module not included in the server configuration\",\"breadcrumb\":{\"@id\":\"https:\/\/hostandtech.com\/help\/apache\/how-to-remove-byte-order-mark-from-php-htaccess-or-others\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/hostandtech.com\/help\/apache\/how-to-remove-byte-order-mark-from-php-htaccess-or-others\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/hostandtech.com\/help\/apache\/how-to-remove-byte-order-mark-from-php-htaccess-or-others\/#primaryimage\",\"url\":\"https:\/\/hostandtech.com\/help\/wp-content\/uploads\/2021\/07\/byte-order-mark-BOM-e1634428618136.png\",\"contentUrl\":\"https:\/\/hostandtech.com\/help\/wp-content\/uploads\/2021\/07\/byte-order-mark-BOM-e1634428618136.png\",\"width\":315,\"height\":142,\"caption\":\"byte order mark BOM\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/hostandtech.com\/help\/apache\/how-to-remove-byte-order-mark-from-php-htaccess-or-others\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/hostandtech.com\/help\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to remove Byte order mark from PHP htaccess or others\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/hostandtech.com\/help\/#website\",\"url\":\"https:\/\/hostandtech.com\/help\/\",\"name\":\"STS Host and Tech Knowledge base\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/hostandtech.com\/help\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/hostandtech.com\/help\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/hostandtech.com\/help\/#organization\",\"name\":\"STS Host and Tech Inc\",\"url\":\"https:\/\/hostandtech.com\/help\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/hostandtech.com\/help\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/hostandtech.com\/help\/wp-content\/uploads\/2022\/02\/hostandtechlogo-1.png\",\"contentUrl\":\"https:\/\/hostandtech.com\/help\/wp-content\/uploads\/2022\/02\/hostandtechlogo-1.png\",\"width\":630,\"height\":270,\"caption\":\"STS Host and Tech Inc\"},\"image\":{\"@id\":\"https:\/\/hostandtech.com\/help\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/stshostandtech\",\"https:\/\/x.com\/stshostandtech\",\"https:\/\/www.instagram.com\/stshostandtech\",\"https:\/\/www.youtube.com\/channel\/UCqJOPwWE0ILTeIScaND7enw\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/hostandtech.com\/help\/#\/schema\/person\/141140aea3ea46eb153a44601194d042\",\"name\":\"HostandTech Support\",\"url\":\"https:\/\/hostandtech.com\/help\/author\/m-hajobied\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How To Remove Byte Order Mark From PHP Htaccess File Or Others","description":"remove Byte order mark to fix Invalid command xefxbbxb, perhaps misspelled or defined by a module not included in the server configuration","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/hostandtech.com\/help\/apache\/how-to-remove-byte-order-mark-from-php-htaccess-or-others\/","og_locale":"en_US","og_type":"article","og_title":"How To Remove Byte Order Mark From PHP Htaccess File Or Others","og_description":"remove Byte order mark to fix Invalid command xefxbbxb, perhaps misspelled or defined by a module not included in the server configuration","og_url":"https:\/\/hostandtech.com\/help\/apache\/how-to-remove-byte-order-mark-from-php-htaccess-or-others\/","og_site_name":"STS Host and Tech Knowledge base","article_publisher":"https:\/\/www.facebook.com\/stshostandtech","article_published_time":"2021-06-22T20:16:41+00:00","article_modified_time":"2021-11-14T03:11:44+00:00","og_image":[{"width":315,"height":142,"url":"https:\/\/hostandtech.com\/help\/wp-content\/uploads\/2021\/07\/byte-order-mark-BOM-e1634428618136.png","type":"image\/png"}],"author":"HostandTech Support","twitter_card":"summary_large_image","twitter_title":"How To Remove Byte Order Mark From PHP Htaccess File Or Others","twitter_description":"remove Byte order mark to fix Invalid command \\xefxbbxb\\, perhaps misspelled or defined by a module not included in the server configuration","twitter_image":"https:\/\/hostandtech.com\/help\/wp-content\/uploads\/2021\/07\/byte-order-mark-BOM-e1634428618136.png","twitter_creator":"@stshostandtech","twitter_site":"@stshostandtech","twitter_misc":{"Written by":"HostandTech Support","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/hostandtech.com\/help\/apache\/how-to-remove-byte-order-mark-from-php-htaccess-or-others\/#article","isPartOf":{"@id":"https:\/\/hostandtech.com\/help\/apache\/how-to-remove-byte-order-mark-from-php-htaccess-or-others\/"},"author":{"name":"HostandTech Support","@id":"https:\/\/hostandtech.com\/help\/#\/schema\/person\/141140aea3ea46eb153a44601194d042"},"headline":"How to remove Byte order mark from PHP htaccess or others","datePublished":"2021-06-22T20:16:41+00:00","dateModified":"2021-11-14T03:11:44+00:00","mainEntityOfPage":{"@id":"https:\/\/hostandtech.com\/help\/apache\/how-to-remove-byte-order-mark-from-php-htaccess-or-others\/"},"wordCount":204,"publisher":{"@id":"https:\/\/hostandtech.com\/help\/#organization"},"image":{"@id":"https:\/\/hostandtech.com\/help\/apache\/how-to-remove-byte-order-mark-from-php-htaccess-or-others\/#primaryimage"},"thumbnailUrl":"https:\/\/hostandtech.com\/help\/wp-content\/uploads\/2021\/07\/byte-order-mark-BOM-e1634428618136.png","keywords":["Htaccess","PHP"],"articleSection":["Apache","General Topics","PHP"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/hostandtech.com\/help\/apache\/how-to-remove-byte-order-mark-from-php-htaccess-or-others\/","url":"https:\/\/hostandtech.com\/help\/apache\/how-to-remove-byte-order-mark-from-php-htaccess-or-others\/","name":"How To Remove Byte Order Mark From PHP Htaccess File Or Others","isPartOf":{"@id":"https:\/\/hostandtech.com\/help\/#website"},"primaryImageOfPage":{"@id":"https:\/\/hostandtech.com\/help\/apache\/how-to-remove-byte-order-mark-from-php-htaccess-or-others\/#primaryimage"},"image":{"@id":"https:\/\/hostandtech.com\/help\/apache\/how-to-remove-byte-order-mark-from-php-htaccess-or-others\/#primaryimage"},"thumbnailUrl":"https:\/\/hostandtech.com\/help\/wp-content\/uploads\/2021\/07\/byte-order-mark-BOM-e1634428618136.png","datePublished":"2021-06-22T20:16:41+00:00","dateModified":"2021-11-14T03:11:44+00:00","description":"remove Byte order mark to fix Invalid command \\xefxbbxb\\, perhaps misspelled or defined by a module not included in the server configuration","breadcrumb":{"@id":"https:\/\/hostandtech.com\/help\/apache\/how-to-remove-byte-order-mark-from-php-htaccess-or-others\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/hostandtech.com\/help\/apache\/how-to-remove-byte-order-mark-from-php-htaccess-or-others\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/hostandtech.com\/help\/apache\/how-to-remove-byte-order-mark-from-php-htaccess-or-others\/#primaryimage","url":"https:\/\/hostandtech.com\/help\/wp-content\/uploads\/2021\/07\/byte-order-mark-BOM-e1634428618136.png","contentUrl":"https:\/\/hostandtech.com\/help\/wp-content\/uploads\/2021\/07\/byte-order-mark-BOM-e1634428618136.png","width":315,"height":142,"caption":"byte order mark BOM"},{"@type":"BreadcrumbList","@id":"https:\/\/hostandtech.com\/help\/apache\/how-to-remove-byte-order-mark-from-php-htaccess-or-others\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/hostandtech.com\/help\/"},{"@type":"ListItem","position":2,"name":"How to remove Byte order mark from PHP htaccess or others"}]},{"@type":"WebSite","@id":"https:\/\/hostandtech.com\/help\/#website","url":"https:\/\/hostandtech.com\/help\/","name":"STS Host and Tech Knowledge base","description":"","publisher":{"@id":"https:\/\/hostandtech.com\/help\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/hostandtech.com\/help\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/hostandtech.com\/help\/#organization","name":"STS Host and Tech Inc","url":"https:\/\/hostandtech.com\/help\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/hostandtech.com\/help\/#\/schema\/logo\/image\/","url":"https:\/\/hostandtech.com\/help\/wp-content\/uploads\/2022\/02\/hostandtechlogo-1.png","contentUrl":"https:\/\/hostandtech.com\/help\/wp-content\/uploads\/2022\/02\/hostandtechlogo-1.png","width":630,"height":270,"caption":"STS Host and Tech Inc"},"image":{"@id":"https:\/\/hostandtech.com\/help\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/stshostandtech","https:\/\/x.com\/stshostandtech","https:\/\/www.instagram.com\/stshostandtech","https:\/\/www.youtube.com\/channel\/UCqJOPwWE0ILTeIScaND7enw"]},{"@type":"Person","@id":"https:\/\/hostandtech.com\/help\/#\/schema\/person\/141140aea3ea46eb153a44601194d042","name":"HostandTech Support","url":"https:\/\/hostandtech.com\/help\/author\/m-hajobied\/"}]}},"_links":{"self":[{"href":"https:\/\/hostandtech.com\/help\/wp-json\/wp\/v2\/posts\/408","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hostandtech.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hostandtech.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hostandtech.com\/help\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/hostandtech.com\/help\/wp-json\/wp\/v2\/comments?post=408"}],"version-history":[{"count":140,"href":"https:\/\/hostandtech.com\/help\/wp-json\/wp\/v2\/posts\/408\/revisions"}],"predecessor-version":[{"id":15012,"href":"https:\/\/hostandtech.com\/help\/wp-json\/wp\/v2\/posts\/408\/revisions\/15012"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hostandtech.com\/help\/wp-json\/wp\/v2\/media\/1831"}],"wp:attachment":[{"href":"https:\/\/hostandtech.com\/help\/wp-json\/wp\/v2\/media?parent=408"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hostandtech.com\/help\/wp-json\/wp\/v2\/categories?post=408"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hostandtech.com\/help\/wp-json\/wp\/v2\/tags?post=408"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}