{"id":148,"date":"2004-12-08T17:03:00","date_gmt":"2004-12-08T17:03:00","guid":{"rendered":"http:\/\/markwilson.me.uk\/blog\/2004\/12\/redirecting-clients-when-websites.htm"},"modified":"2007-05-15T13:55:44","modified_gmt":"2007-05-15T12:55:44","slug":"redirecting-clients-when-websites","status":"publish","type":"post","link":"https:\/\/www.markwilson.co.uk\/blog\/2004\/12\/redirecting-clients-when-websites.htm","title":{"rendered":"Redirecting clients when websites change"},"content":{"rendered":"<p><!--110251701587911181-->Whilst looking at the website statistics for <a href=\"http:\/\/www.markwilson.co.uk\/\">my main website<\/a>, I realised that many users were attempting to access pages that no longer exist on the server. Some may argue that old content should be left in place, but others will disagree and my preferred approach is to redirect requests to the new locations, or at least to provide a polite message that the document has been removed and a link to the home page! Fortunately on an Apache server, this may easily be achieved using an <a href=\"https:\/\/www.markwilson.co.uk\/blog\/2004\/12\/using-htaccess-to-improve-user.htm\">.htaccess<\/a> directive.<\/p>\n<p>Various types of redirect are available through .htaccess, using the syntax:<\/p>\n<p><code>Redirect [status] URL-path URL<\/code><\/p>\n<p>The status argument can be used to return a number of HTTP status codes:<\/p>\n<ul>\n<li><code>permanent<\/code> returns a permanent redirect status (301) indicating that the resource has moved permanently.<\/li>\n<li><code>temp<\/code> returns a temporary redirect status (302). This is the default and is assumed if no status argument is given, indicating to the client that the resource has moved temporarily.<\/li>\n<li><code>seeother<\/code> returns a &#8220;See Other&#8221; status (303) indicating that the resource has been replaced.<\/li>\n<li><code>gone<\/code> returns a &#8220;Gone&#8221; status (410) indicating that the resource has been permanently removed. When this status is used the URL argument should be omitted.<\/li>\n<\/ul>\n<p>Other status codes can be returned by giving the numeric status code as the value of status. If the status is between 300 and 399, the URL argument must be present, otherwise it must be omitted.<\/p>\n<p>For example, a temporary redirection from old file or directory to new:<\/p>\n<p><code>Redirect \/olddirectory\/oldfile.html http:\/\/yoursite.com\/newdirectory\/newfile.html<br \/>\nRedirect \/olddirectory http:\/\/yoursite.com\/newdirectory\/<\/code><\/p>\n<p>or a permanent redirect:<\/p>\n<p><code>Redirect permanent \/olddirectory http:\/\/www.yoursite.com\/ <\/code><\/p>\n<p>or redirect with error 410:<\/p>\n<p><code>Redirect gone \/oldfile.html<\/code><\/p>\n<p>Full details for Apache users may be found in the <a href=\"http:\/\/httpd.apache.org\/docs-2.0\/mod\/mod_alias.html#redirect\">Apache HTTP Server documentation<\/a>.<\/p>\n<p>Microsoft Internet Information Server (IIS) users can find information on <a href=\"http:\/\/www.microsoft.com\/resources\/documentation\/iis\/6\/all\/proddocs\/en-us\/wsa_redirectingrequests.mspx\">redirecting requests to files directories or programs<\/a> in the IIS 6.0 Operations Guide.<\/p>\n<p><a href=\"http:\/\/www.faqs.org\/rfcs\/rfc2616.html\">RFC 2616<\/a> details all HTTP status (including error) codes.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Whilst looking at the website statistics for my main website, I realised that many users were attempting to access pages that no longer exist on the server. Some may argue that old content should be left in place, but others will disagree and my preferred approach is to redirect requests to the new locations, or &hellip; <a href=\"https:\/\/www.markwilson.co.uk\/blog\/2004\/12\/redirecting-clients-when-websites.htm\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Redirecting clients when websites change<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[],"tags":[90,110,29],"class_list":["post-148","post","type-post","status-publish","format-standard","hentry","tag-apache","tag-iis","tag-website-development"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Redirecting clients when websites change - markwilson.it<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.markwilson.co.uk\/blog\/2004\/12\/redirecting-clients-when-websites.htm\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Redirecting clients when websites change - markwilson.it\" \/>\n<meta property=\"og:description\" content=\"Whilst looking at the website statistics for my main website, I realised that many users were attempting to access pages that no longer exist on the server. Some may argue that old content should be left in place, but others will disagree and my preferred approach is to redirect requests to the new locations, or &hellip; Continue reading Redirecting clients when websites change\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.markwilson.co.uk\/blog\/2004\/12\/redirecting-clients-when-websites.htm\" \/>\n<meta property=\"og:site_name\" content=\"markwilson.it\" \/>\n<meta property=\"article:published_time\" content=\"2004-12-08T17:03:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2007-05-15T12:55:44+00:00\" \/>\n<meta name=\"author\" content=\"Mark Wilson\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@markwilsonit\" \/>\n<meta name=\"twitter:site\" content=\"@markwilsonit\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Mark Wilson\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.markwilson.co.uk\\\/blog\\\/2004\\\/12\\\/redirecting-clients-when-websites.htm#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.markwilson.co.uk\\\/blog\\\/2004\\\/12\\\/redirecting-clients-when-websites.htm\"},\"author\":{\"name\":\"Mark Wilson\",\"@id\":\"https:\\\/\\\/www.markwilson.co.uk\\\/blog\\\/#\\\/schema\\\/person\\\/98f61365e7c39d6be942174b8c4de468\"},\"headline\":\"Redirecting clients when websites change\",\"datePublished\":\"2004-12-08T17:03:00+00:00\",\"dateModified\":\"2007-05-15T12:55:44+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.markwilson.co.uk\\\/blog\\\/2004\\\/12\\\/redirecting-clients-when-websites.htm\"},\"wordCount\":292,\"commentCount\":1,\"publisher\":{\"@id\":\"https:\\\/\\\/www.markwilson.co.uk\\\/blog\\\/#\\\/schema\\\/person\\\/98f61365e7c39d6be942174b8c4de468\"},\"keywords\":[\"Apache\",\"Microsoft Internet Information Server\\\/Services\",\"Website Development\"],\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.markwilson.co.uk\\\/blog\\\/2004\\\/12\\\/redirecting-clients-when-websites.htm#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.markwilson.co.uk\\\/blog\\\/2004\\\/12\\\/redirecting-clients-when-websites.htm\",\"url\":\"https:\\\/\\\/www.markwilson.co.uk\\\/blog\\\/2004\\\/12\\\/redirecting-clients-when-websites.htm\",\"name\":\"Redirecting clients when websites change - markwilson.it\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.markwilson.co.uk\\\/blog\\\/#website\"},\"datePublished\":\"2004-12-08T17:03:00+00:00\",\"dateModified\":\"2007-05-15T12:55:44+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.markwilson.co.uk\\\/blog\\\/2004\\\/12\\\/redirecting-clients-when-websites.htm#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.markwilson.co.uk\\\/blog\\\/2004\\\/12\\\/redirecting-clients-when-websites.htm\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.markwilson.co.uk\\\/blog\\\/2004\\\/12\\\/redirecting-clients-when-websites.htm#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.markwilson.co.uk\\\/blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Redirecting clients when websites change\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.markwilson.co.uk\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.markwilson.co.uk\\\/blog\\\/\",\"name\":\"markwilson.it\",\"description\":\"get-info -class technology | write-output &gt; \\\/dev\\\/web\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.markwilson.co.uk\\\/blog\\\/#\\\/schema\\\/person\\\/98f61365e7c39d6be942174b8c4de468\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.markwilson.co.uk\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/www.markwilson.co.uk\\\/blog\\\/#\\\/schema\\\/person\\\/98f61365e7c39d6be942174b8c4de468\",\"name\":\"Mark Wilson\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/i0.wp.com\\\/www.markwilson.co.uk\\\/blog\\\/uploads\\\/image-4.png?fit=800%2C800&ssl=1\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/www.markwilson.co.uk\\\/blog\\\/uploads\\\/image-4.png?fit=800%2C800&ssl=1\",\"contentUrl\":\"https:\\\/\\\/i0.wp.com\\\/www.markwilson.co.uk\\\/blog\\\/uploads\\\/image-4.png?fit=800%2C800&ssl=1\",\"width\":800,\"height\":800,\"caption\":\"Mark Wilson\"},\"logo\":{\"@id\":\"https:\\\/\\\/i0.wp.com\\\/www.markwilson.co.uk\\\/blog\\\/uploads\\\/image-4.png?fit=800%2C800&ssl=1\"},\"description\":\"A Chartered IT Professional, with recent experience in technology leadership, IT strategy and practice management roles, Mark Wilson is an Enterprise Architect in the Advisory and Management Group at risual. During a career spanning more than two decades, Mark has gained widespread recognition as an expert in his field including both industry and national press exposure. In addition to certifications from Microsoft, VMware, Red Hat, The Open Group and Axelos, Mark held a Microsoft Most Valuable Professional (MVP) award for three years and is now part of the MVP Reconnect programme. Mark is also well-known on social media and maintains an award-winning blog.\",\"sameAs\":[\"http:\\\/\\\/www.markwilson.co.uk\\\/\",\"https:\\\/\\\/www.instagram.com\\\/markwilsonuk\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/markawilson\\\/\",\"https:\\\/\\\/x.com\\\/markwilsonit\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCWHlZCoHRTocdvtrOJ2IL4A\"],\"url\":\"https:\\\/\\\/www.markwilson.co.uk\\\/blog\\\/author\\\/mark-wilson\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Redirecting clients when websites change - markwilson.it","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:\/\/www.markwilson.co.uk\/blog\/2004\/12\/redirecting-clients-when-websites.htm","og_locale":"en_GB","og_type":"article","og_title":"Redirecting clients when websites change - markwilson.it","og_description":"Whilst looking at the website statistics for my main website, I realised that many users were attempting to access pages that no longer exist on the server. Some may argue that old content should be left in place, but others will disagree and my preferred approach is to redirect requests to the new locations, or &hellip; Continue reading Redirecting clients when websites change","og_url":"https:\/\/www.markwilson.co.uk\/blog\/2004\/12\/redirecting-clients-when-websites.htm","og_site_name":"markwilson.it","article_published_time":"2004-12-08T17:03:00+00:00","article_modified_time":"2007-05-15T12:55:44+00:00","author":"Mark Wilson","twitter_card":"summary_large_image","twitter_creator":"@markwilsonit","twitter_site":"@markwilsonit","twitter_misc":{"Written by":"Mark Wilson","Estimated reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.markwilson.co.uk\/blog\/2004\/12\/redirecting-clients-when-websites.htm#article","isPartOf":{"@id":"https:\/\/www.markwilson.co.uk\/blog\/2004\/12\/redirecting-clients-when-websites.htm"},"author":{"name":"Mark Wilson","@id":"https:\/\/www.markwilson.co.uk\/blog\/#\/schema\/person\/98f61365e7c39d6be942174b8c4de468"},"headline":"Redirecting clients when websites change","datePublished":"2004-12-08T17:03:00+00:00","dateModified":"2007-05-15T12:55:44+00:00","mainEntityOfPage":{"@id":"https:\/\/www.markwilson.co.uk\/blog\/2004\/12\/redirecting-clients-when-websites.htm"},"wordCount":292,"commentCount":1,"publisher":{"@id":"https:\/\/www.markwilson.co.uk\/blog\/#\/schema\/person\/98f61365e7c39d6be942174b8c4de468"},"keywords":["Apache","Microsoft Internet Information Server\/Services","Website Development"],"inLanguage":"en-GB","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.markwilson.co.uk\/blog\/2004\/12\/redirecting-clients-when-websites.htm#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.markwilson.co.uk\/blog\/2004\/12\/redirecting-clients-when-websites.htm","url":"https:\/\/www.markwilson.co.uk\/blog\/2004\/12\/redirecting-clients-when-websites.htm","name":"Redirecting clients when websites change - markwilson.it","isPartOf":{"@id":"https:\/\/www.markwilson.co.uk\/blog\/#website"},"datePublished":"2004-12-08T17:03:00+00:00","dateModified":"2007-05-15T12:55:44+00:00","breadcrumb":{"@id":"https:\/\/www.markwilson.co.uk\/blog\/2004\/12\/redirecting-clients-when-websites.htm#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.markwilson.co.uk\/blog\/2004\/12\/redirecting-clients-when-websites.htm"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.markwilson.co.uk\/blog\/2004\/12\/redirecting-clients-when-websites.htm#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.markwilson.co.uk\/blog"},{"@type":"ListItem","position":2,"name":"Redirecting clients when websites change"}]},{"@type":"WebSite","@id":"https:\/\/www.markwilson.co.uk\/blog\/#website","url":"https:\/\/www.markwilson.co.uk\/blog\/","name":"markwilson.it","description":"get-info -class technology | write-output &gt; \/dev\/web","publisher":{"@id":"https:\/\/www.markwilson.co.uk\/blog\/#\/schema\/person\/98f61365e7c39d6be942174b8c4de468"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.markwilson.co.uk\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":["Person","Organization"],"@id":"https:\/\/www.markwilson.co.uk\/blog\/#\/schema\/person\/98f61365e7c39d6be942174b8c4de468","name":"Mark Wilson","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/i0.wp.com\/www.markwilson.co.uk\/blog\/uploads\/image-4.png?fit=800%2C800&ssl=1","url":"https:\/\/i0.wp.com\/www.markwilson.co.uk\/blog\/uploads\/image-4.png?fit=800%2C800&ssl=1","contentUrl":"https:\/\/i0.wp.com\/www.markwilson.co.uk\/blog\/uploads\/image-4.png?fit=800%2C800&ssl=1","width":800,"height":800,"caption":"Mark Wilson"},"logo":{"@id":"https:\/\/i0.wp.com\/www.markwilson.co.uk\/blog\/uploads\/image-4.png?fit=800%2C800&ssl=1"},"description":"A Chartered IT Professional, with recent experience in technology leadership, IT strategy and practice management roles, Mark Wilson is an Enterprise Architect in the Advisory and Management Group at risual. During a career spanning more than two decades, Mark has gained widespread recognition as an expert in his field including both industry and national press exposure. In addition to certifications from Microsoft, VMware, Red Hat, The Open Group and Axelos, Mark held a Microsoft Most Valuable Professional (MVP) award for three years and is now part of the MVP Reconnect programme. Mark is also well-known on social media and maintains an award-winning blog.","sameAs":["http:\/\/www.markwilson.co.uk\/","https:\/\/www.instagram.com\/markwilsonuk\/","https:\/\/www.linkedin.com\/in\/markawilson\/","https:\/\/x.com\/markwilsonit","https:\/\/www.youtube.com\/channel\/UCWHlZCoHRTocdvtrOJ2IL4A"],"url":"https:\/\/www.markwilson.co.uk\/blog\/author\/mark-wilson"}]}},"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":716,"url":"https:\/\/www.markwilson.co.uk\/blog\/2007\/02\/the-search-engine-friendly-way-to-merge-domains.htm","url_meta":{"origin":148,"position":0},"title":"The search engine friendly way to merge domains","author":"Mark Wilson","date":"Tuesday 27 February 2007","format":false,"excerpt":"In common with many website owners, I have multiple domain names pointing at a single website (markwilson.co.uk, markwilson.me.uk and markwilson.it). There's nothing wrong with that (it's often used to present localised content or to protect a trademark) but certain search engines will penalise sites where it appears that multiple URLs\u2026","rel":"","context":"In \"Domain Names\"","block_context":{"text":"Domain Names","link":"https:\/\/www.markwilson.co.uk\/blog\/tag\/domain-names"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":466,"url":"https:\/\/www.markwilson.co.uk\/blog\/2004\/12\/using-htaccess-to-improve-user.htm","url_meta":{"origin":148,"position":1},"title":"Using .htaccess to improve the user experience for a website running on an Apache server","author":"Mark Wilson","date":"Wednesday 8 December 2004","format":false,"excerpt":"A few weeks back, I updated two websites (which run on my ISPs' Apache servers) to use various features which improve the experience for users of the site. These features include: Server side includes (SSI). Changing the default web page. Providing custom error messages. Redirecting clients where pages have changed.\u2026","rel":"","context":"In \"Apache\"","block_context":{"text":"Apache","link":"https:\/\/www.markwilson.co.uk\/blog\/tag\/apache"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":257,"url":"https:\/\/www.markwilson.co.uk\/blog\/2004\/12\/implementing-custom-error-pages-for.htm","url_meta":{"origin":148,"position":2},"title":"Implementing custom error pages for a website","author":"Mark Wilson","date":"Wednesday 8 December 2004","format":false,"excerpt":"One of the features used in my website is custom error pages, which allow errors to be handled using a format that matches other documents on the site. Apache users can configure custom error messages using .htaccess. Once pages have been created for an error message, include a directive in\u2026","rel":"","context":"In \"Apache\"","block_context":{"text":"Apache","link":"https:\/\/www.markwilson.co.uk\/blog\/tag\/apache"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":902,"url":"https:\/\/www.markwilson.co.uk\/blog\/2007\/09\/outsourcing-syndicated-content-from-wordpress-to-feedburner-without-losing-readers.htm","url_meta":{"origin":148,"position":3},"title":"Outsourcing syndicated content from WordPress to Feedburner without losing readers","author":"Mark Wilson","date":"Friday 14 September 2007","format":false,"excerpt":"Earlier, I wrote about some of the measures I've taken to reduce the bandwidth usage of this site, one of which is outsourcing the RSS feeds to FeedBurner (i.e. put them on Google's bandwidth bill!). The new feed location for syndicated content using either RSS or Atom is http:\/\/feeds.markwilson.co.uk\/marksweblog\/. Hopefully,\u2026","rel":"","context":"In &quot;Site notices&quot;","block_context":{"text":"Site notices","link":"https:\/\/www.markwilson.co.uk\/blog\/topic\/site-notices"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":40,"url":"https:\/\/www.markwilson.co.uk\/blog\/2004\/12\/denying-access-to-certain-files-on.htm","url_meta":{"origin":148,"position":4},"title":"Denying access to certain files on an Apache web server","author":"Mark Wilson","date":"Wednesday 8 December 2004","format":false,"excerpt":"Under certain circumstances, it may be necessary to deny users access to various files on a web server. For example, some directives in an Apache .htaccess file may be considered a security risk and so access to the file may be prevented using the following directives: <files .htaccess> order deny,allow\u2026","rel":"","context":"In \"Apache\"","block_context":{"text":"Apache","link":"https:\/\/www.markwilson.co.uk\/blog\/tag\/apache"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":41,"url":"https:\/\/www.markwilson.co.uk\/blog\/2004\/12\/preventing-listing-contents-of.htm","url_meta":{"origin":148,"position":5},"title":"Preventing listing the contents of a directory on an Apache web server","author":"Mark Wilson","date":"Wednesday 8 December 2004","format":false,"excerpt":"When no default document is found on a web server, depending on the server configuration, users may be able to list the files in a given directory. For Apache servers, this may be prevented on a per-directory basis by adding add an IndexIgnore directive to an .htaccess file. The syntax\u2026","rel":"","context":"In \"Apache\"","block_context":{"text":"Apache","link":"https:\/\/www.markwilson.co.uk\/blog\/tag\/apache"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.markwilson.co.uk\/blog\/wp-json\/wp\/v2\/posts\/148","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.markwilson.co.uk\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.markwilson.co.uk\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.markwilson.co.uk\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.markwilson.co.uk\/blog\/wp-json\/wp\/v2\/comments?post=148"}],"version-history":[{"count":0,"href":"https:\/\/www.markwilson.co.uk\/blog\/wp-json\/wp\/v2\/posts\/148\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.markwilson.co.uk\/blog\/wp-json\/wp\/v2\/media?parent=148"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.markwilson.co.uk\/blog\/wp-json\/wp\/v2\/categories?post=148"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.markwilson.co.uk\/blog\/wp-json\/wp\/v2\/tags?post=148"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}