{"id":400,"date":"2009-06-28T08:57:59","date_gmt":"2009-06-28T12:57:59","guid":{"rendered":"http:\/\/jamie.workingagenda.com\/blog\/?p=400"},"modified":"2018-10-22T12:30:47","modified_gmt":"2018-10-22T16:30:47","slug":"joomla-sef-urls","status":"publish","type":"post","link":"https:\/\/jamie.workingagenda.com\/blog\/2009\/06\/28\/joomla-sef-urls\/","title":{"rendered":"Joomla and search engine friendly (SEF) URLs"},"content":{"rendered":"<abbr class=\"unapi-id\" title=\"\"><!-- &nbsp; --><\/abbr>\n<p>I have recently installed Joomla! 1.5 on server hosted by <a href=\"inmotionhosting.com\">inmotionhosting.com<\/a>.  I use an 1.0 version of Joomla for another web page on a different server, and I would like to migrate to the new version of Joomla, and possibly change my web hosting company.  I created the Joomla installation in a new empty directory (<a href=\"http:\/\/joomla.workingagenda.com\">joomla.workingagenda.com<\/a>), to play around.  I did not install the sample data, but created a few dummy entries to experiment.  My first problem was that I had trouble getting the search engine friendly URLs to work.<!--more--><\/p>\n<p>From the Joomla <strong>Global Configuration<\/strong> menu, I found the SEO Settings, on the right hand column.  In the default installation, they are turned off.<\/p>\n<div id=\"attachment_401\" style=\"width: 310px\" class=\"wp-caption alignnone\"><img aria-describedby=\"caption-attachment-401\" loading=\"lazy\" src=\"http:\/\/jamie.workingagenda.com\/blog\/wp-content\/uploads\/2009\/06\/Screenshot1-300x109.png\" alt=\"Defalt SEO Settings\" title=\"Screenshot1\" width=\"300\" height=\"109\" class=\"size-medium wp-image-401\" srcset=\"https:\/\/jamie.workingagenda.com\/blog\/wp-content\/uploads\/2009\/06\/Screenshot1-300x109.png 300w, https:\/\/jamie.workingagenda.com\/blog\/wp-content\/uploads\/2009\/06\/Screenshot1.png 397w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><p id=\"caption-attachment-401\" class=\"wp-caption-text\">The default SEO Settings<\/p><\/div>\n<p>I tried simply changing the &#8220;Search Engine Friendly URL&#8217;s&#8221; setting from no to yes.<br \/>\n<div id=\"attachment_407\" style=\"width: 310px\" class=\"wp-caption alignnone\"><img aria-describedby=\"caption-attachment-407\" loading=\"lazy\" src=\"http:\/\/jamie.workingagenda.com\/blog\/wp-content\/uploads\/2009\/06\/Screenshot2-300x129.png\" alt=\"With search engine friendly URL&#039;s option turned to yes.\" title=\"Screenshot2\" width=\"300\" height=\"129\" class=\"size-medium wp-image-407\" srcset=\"https:\/\/jamie.workingagenda.com\/blog\/wp-content\/uploads\/2009\/06\/Screenshot2-300x129.png 300w, https:\/\/jamie.workingagenda.com\/blog\/wp-content\/uploads\/2009\/06\/Screenshot2.png 391w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><p id=\"caption-attachment-407\" class=\"wp-caption-text\">With search engine friendly URL's option turned to yes.<\/p><\/div><\/p>\n<p>Unfortunately, this did not work with inmotionhosting.com.  I received an error message, that the file was not found:<br \/>\n<div id=\"attachment_409\" style=\"width: 310px\" class=\"wp-caption alignnone\"><img aria-describedby=\"caption-attachment-409\" loading=\"lazy\" src=\"http:\/\/jamie.workingagenda.com\/blog\/wp-content\/uploads\/2009\/06\/Screenshot_404_notfound-300x136.png\" alt=\"The 404 - Component not found error message\" title=\"Screenshot_404_notfound\" width=\"300\" height=\"129\" class=\"size-medium wp-image-409\" \/><p id=\"caption-attachment-409\" class=\"wp-caption-text\">The 404 - Component not found error message<\/p><\/div><\/p>\n<p>Next, I tried turning on the <strong>Use Apache mod_rewrite<\/strong> option.<br \/>\n<div id=\"attachment_421\" style=\"width: 310px\" class=\"wp-caption alignnone\"><img aria-describedby=\"caption-attachment-421\" loading=\"lazy\" src=\"http:\/\/jamie.workingagenda.com\/blog\/wp-content\/uploads\/2009\/06\/Screenshot3-300x114.png\" alt=\"Turning on the SEO setting for Apache mod_rewrite \" title=\"Screenshot3\" width=\"300\" height=\"114\" class=\"size-medium wp-image-421\" srcset=\"https:\/\/jamie.workingagenda.com\/blog\/wp-content\/uploads\/2009\/06\/Screenshot3-300x114.png 300w, https:\/\/jamie.workingagenda.com\/blog\/wp-content\/uploads\/2009\/06\/Screenshot3.png 410w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><p id=\"caption-attachment-421\" class=\"wp-caption-text\">Turning on the SEO setting for Apache mod_rewrite <\/p><\/div><\/p>\n<p>This also did <strong>not work.<\/strong>  At this point, after trying a few other things that did not work, I searched on forums, and found that I needed to look in the directory where Joomla was installed, and find the file <strong>htaccess.txt<\/strong>.  I made a copy of this file, and renamed it <strong>.htaccess<\/strong>.  At this point the SEF URL&#8217;s worked find, but they are a bit longer than I like.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have recently installed Joomla! 1.5 on server hosted by inmotionhosting.com. I use an 1.0 version of Joomla for another web page on a different server, and I would like to migrate to the new version of Joomla, and possibly change my web hosting company. I created the Joomla installation in a new empty directory [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[14],"tags":[43,44,42,41,39,40],"_links":{"self":[{"href":"https:\/\/jamie.workingagenda.com\/blog\/wp-json\/wp\/v2\/posts\/400"}],"collection":[{"href":"https:\/\/jamie.workingagenda.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jamie.workingagenda.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jamie.workingagenda.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/jamie.workingagenda.com\/blog\/wp-json\/wp\/v2\/comments?post=400"}],"version-history":[{"count":25,"href":"https:\/\/jamie.workingagenda.com\/blog\/wp-json\/wp\/v2\/posts\/400\/revisions"}],"predecessor-version":[{"id":1526,"href":"https:\/\/jamie.workingagenda.com\/blog\/wp-json\/wp\/v2\/posts\/400\/revisions\/1526"}],"wp:attachment":[{"href":"https:\/\/jamie.workingagenda.com\/blog\/wp-json\/wp\/v2\/media?parent=400"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jamie.workingagenda.com\/blog\/wp-json\/wp\/v2\/categories?post=400"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jamie.workingagenda.com\/blog\/wp-json\/wp\/v2\/tags?post=400"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}