{"id":2300,"date":"2017-01-31T01:59:16","date_gmt":"2017-01-31T01:59:16","guid":{"rendered":"https:\/\/www.calistohosting.com\/blog\/?p=2300"},"modified":"2017-05-24T02:51:27","modified_gmt":"2017-05-24T02:51:27","slug":"eliminacion-de-extensiones-de-archivo-mediante-htaccess","status":"publish","type":"post","link":"https:\/\/www.calistohosting.com\/blog\/2017\/01\/31\/eliminacion-de-extensiones-de-archivo-mediante-htaccess\/","title":{"rendered":"Eliminaci\u00f3n de extensiones de archivo mediante htaccess"},"content":{"rendered":"<div id=\"pl-2300\"  class=\"panel-layout\" ><div id=\"pg-2300-0\"  class=\"panel-grid panel-no-style\" ><div id=\"pgc-2300-0-0\"  class=\"panel-grid-cell\" ><div id=\"panel-2300-0-0-0\" class=\"so-panel widget widget_sow-editor panel-first-child\" data-index=\"0\" ><div\n\t\t\t\n\t\t\tclass=\"so-widget-sow-editor so-widget-sow-editor-base\"\n\t\t\t\n\t\t>\n<div class=\"siteorigin-widget-tinymce textwidget\">\n\t<p>\u00daltimamente, parece haber una tendencia donde los dise\u00f1adores quieren ocultar sus extensiones de archivo de sus visitantes. Por ejemplo, quieren que la <strong>URL<\/strong> \"<strong>domain.com\/index.html<\/strong>\" se muestre como \"<strong>domain.com\/index<\/strong>\" por alguna raz\u00f3n. Algunos\u00a0por la forma en que se ve, otros creen que ayuda como <strong>SEO<\/strong>, y otros creen que es mejor para la seguridad. No estoy seguro de que los dos \u00faltimos tengan un poco de verdad, sin embargo. Esta es una caracter\u00edstica que puede implementar a trav\u00e9s de su archivo <strong>htaccess<\/strong>. Este art\u00edculo le guiar\u00e1 a trav\u00e9s de hacerlo a trav\u00e9s de su <strong>cPanel<\/strong>.<\/p>\n<\/div>\n<\/div><\/div><div id=\"panel-2300-0-0-1\" class=\"so-panel widget widget_sow-editor panel-last-child\" data-index=\"1\" ><div\n\t\t\t\n\t\t\tclass=\"so-widget-sow-editor so-widget-sow-editor-base\"\n\t\t\t\n\t\t><h3 class=\"widget-title\">C\u00f3mo eliminar las extensiones de archivo de la pantalla mediante htaccess<\/h3>\n<div class=\"siteorigin-widget-tinymce textwidget\">\n\t<p><span title=\"Step 1.Log into your cPanel.\n\">1. Ingrese a su <strong>cPanel<\/strong>.<\/span><\/p>\n<p><span title=\"Step 2. Click on File Manager in cPanel\n\">2. <\/span><span title=\"Find the Files category and click on the File Manager icon.\n\n\n\n\">Busque la categor\u00eda <strong>Archivos<\/strong> y haga clic en el icono <strong>Administrador de archivos<\/strong>.<\/p>\n<p><\/span><span title=\"Step 3. Show hidden files in settings\n\">3. <\/span><span title=\"In the top right hand corner, click on Settings.\">En la esquina superior derecha, haga clic en <strong>Configuraci\u00f3n<\/strong>.\u00a0<\/span><span title=\"Be sure the checkbox next to Show Hidden Files is checked.\">Aseg\u00farese de que la casilla de verificaci\u00f3n\u00a0<strong>Mostrar archivos ocultos<\/strong> est\u00e9 marcada. <\/span><span title=\"Click the Save button to return to the main File Manager screen.\n\n\n\n\">Haga clic en el bot\u00f3n <strong>Guardar<\/strong> para volver a la pantalla principal del <strong>Administrador de archivos<\/strong>.<\/p>\n<p><\/span><span title=\"Step 4. Click on edit\n\">4. <\/span><span title=\"Look for the .htaccess file and right click on it.\">Busque el archivo .<strong>htaccess<\/strong> y haga clic derecho en \u00e9l. <\/span><span title=\"This brings up a menu.\">Esto abre un men\u00fa. <\/span><span title=\"Find and click on the Edit option.\">Busque y haga clic en la opci\u00f3n <strong>Editar<\/strong>. <\/span><span title=\"If you get a popup box, simply find and click the Edit button in the lower right corner to continue to the editor.\n\n\n\">Si obtiene un cuadro emergente, simplemente busque y haga clic en el bot\u00f3n <strong>Editar<\/strong> en la esquina inferior derecha para continuar con el editor.<\/p>\n<p><\/span><span title=\"Step 5.You are now in the text editor.\">5. Ahora est\u00e1s en el editor de texto. <\/span><span title=\"As most sites are coded with either htm or php, we have include the code for both below.\n\n\">Como la mayor\u00eda de los sitios est\u00e1n codificados con <strong>htm o php<\/strong>,\u00a0incluimos el c\u00f3digo para los dos a continuaci\u00f3n.<\/p>\n<p><\/span><span style=\"color: #ff0000;\"><span title=\"RewriteEngine on\n\u00a0\">RewriteEngine en<br \/><\/span><span title=\"RewriteCond %{REQUEST_FILENAME} !-d\n\u00a0\">RewriteCond% {REQUEST_FILENAME}! -d<br \/><\/span><span title=\"RewriteCond %{REQUEST_FILENAME}.php -f\n\u00a0\">RewriteCond% {REQUEST_FILENAME} . Php -f<br \/><\/span><\/span><span title=\"RewriteRule ^(.*)$ $1.php\n\n\n\"><span style=\"color: #ff0000;\">RewriteRule ^ (. *) $ $ 1.php<\/span><\/p>\n<p><\/span><span style=\"color: #ff0000;\"><span title=\"RewriteEngine on\n\u00a0\">RewriteEngine en<br \/><\/span><span title=\"RewriteCond %{REQUEST_FILENAME} !-d\n\u00a0\">RewriteCond% {REQUEST_FILENAME}! -d<br \/><\/span><span title=\"RewriteCond %{REQUEST_FILENAME}.html -f\n\u00a0\">RewriteCond% {REQUEST_FILENAME} . Html -f<br \/><\/span><\/span><span title=\"RewriteRule ^(.*)$ $1.html\n\n\"><span style=\"color: #ff0000;\">RewriteRule ^ (. *) $ $ 1.html<\/span><\/p>\n<p><\/span><span title=\"Step 6.Be sure to hit the Save Changes button in the upper right corner to save your new htaccess configuration.\">6. Aseg\u00farese de pulsar el bot\u00f3n <strong>Guardar<\/strong> cambios en la esquina superior derecha para guardar su nueva <strong>configuraci\u00f3n<\/strong> de <strong>htaccess<\/strong>. <\/span><span title=\"Your site should now display the address without the file extension.\">Su sitio ahora debe mostrar la direcci\u00f3n sin la extensi\u00f3n de archivo.<\/span><\/p>\n<\/div>\n<\/div><\/div><\/div><\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>\u00daltimamente, parece haber una tendencia donde los dise\u00f1adores quieren ocultar sus extensiones de archivo de sus visitantes. Por ejemplo, quieren que la URL \u00abdomain.com\/index.html\u00bb se muestre como \u00abdomain.com\/index\u00bb por alguna raz\u00f3n. Algunos\u00a0por la forma en que se ve, otros creen que ayuda como SEO, y otros creen que es mejor&#8230;<\/p>\n","protected":false},"author":1,"featured_media":2477,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[154,151,153],"tags":[161,155,163,162,164],"class_list":["post-2300","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-htaccess","category-website","category-soporte","tag-extensiones","tag-htaccess","tag-request_filename","tag-rewriteengine","tag-rewriterule"],"_links":{"self":[{"href":"https:\/\/www.calistohosting.com\/blog\/wp-json\/wp\/v2\/posts\/2300","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.calistohosting.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.calistohosting.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.calistohosting.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.calistohosting.com\/blog\/wp-json\/wp\/v2\/comments?post=2300"}],"version-history":[{"count":3,"href":"https:\/\/www.calistohosting.com\/blog\/wp-json\/wp\/v2\/posts\/2300\/revisions"}],"predecessor-version":[{"id":2478,"href":"https:\/\/www.calistohosting.com\/blog\/wp-json\/wp\/v2\/posts\/2300\/revisions\/2478"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.calistohosting.com\/blog\/wp-json\/wp\/v2\/media\/2477"}],"wp:attachment":[{"href":"https:\/\/www.calistohosting.com\/blog\/wp-json\/wp\/v2\/media?parent=2300"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.calistohosting.com\/blog\/wp-json\/wp\/v2\/categories?post=2300"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.calistohosting.com\/blog\/wp-json\/wp\/v2\/tags?post=2300"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}