{"id":94,"date":"2011-05-01T08:07:31","date_gmt":"2011-05-01T08:07:31","guid":{"rendered":"http:\/\/localhost\/tfcom_wp\/2011\/05\/01\/joomla25-seo-urls-rewrite-windows-xp\/"},"modified":"2011-05-01T08:07:31","modified_gmt":"2011-05-01T08:07:31","slug":"joomla25-seo-urls-rewrite-windows-xp","status":"publish","type":"post","link":"https:\/\/www.tech-freaks.com\/joomla\/joomla25-seo-urls-rewrite-windows-xp.html","title":{"rendered":"Enabling Joomla 2.5 SEO URLs using rewrite rules on Windows XP"},"content":{"rendered":"<p style=\"text-align: left;\">This article explains how to enable Search Engine friendly URLs using rewrite rules on Windows XP Joomla 2.5 installation. We decided to add this article, after we gave up on setting up SEO URL with rewrite when we were working with Joomla 1.5. After reviewing lot of blogs and sites, we consolidated and tried to add this to prevent the time loss involved in setting this up. The article assumes that Joomla 2.5 has already been installed and is up and running. This should also work for Joomla 1.6 or 1.7.<\/p>\n<p style=\"text-align: left;\"><strong>Admin Console Settings<\/strong><\/p>\n<ol style=\"text-align: left;\">\n<li>Login to your Admin console of Joomla 2.5 installation<\/li>\n<li>Click the Global Configuration<\/li>\n<li>Select the settings as indicated in the below screenshot.<br \/><img fetchpriority=\"high\" decoding=\"async\" title=\"Admin Console - SEO settings\" src=\"https:\/\/www.tech-freaks.com\/wp-content\/uploads\/2011\/05\/admin_global_settings.JPG\" alt=\"Admin Console - SEO settings\" width=\"473\" height=\"253\" border=\"0\"><\/li>\n<\/ol>\n<p style=\"text-align: left;\">By select &#8216;No&#8217; in option two and three, you will still be getting &#8216;semi-SEO friendly&#8217; urls like:<br \/><a href=\"..\/joomla16\/index.php\/getting-started\">http:\/\/localhost\/joomla25\/index.php\/getting-started<\/a><\/p>\n<p style=\"text-align: left;\">But you will be stuck with index.php in all your pages<\/p>\n<p style=\"text-align: left;\">By selecting &#8216;Yes&#8217; in option two and &#8216;No&#8217; for option three, you will get URLs like<br \/><a href=\"..\/joomla16\/getting-started\">http:\/\/localhost\/joomla25\/getting-started<\/a><\/p>\n<p style=\"text-align: left;\">By selection &#8216;Yes&#8217; to option two and three, you will get URLs like the pages are static html pages:<br \/><a href=\"..\/joomla16\/getting-started.html\">http:\/\/localhost\/joomla25\/getting-started.html<\/a><\/p>\n<p style=\"text-align: left;\">Inside the &lt;Directory&gt; tag ensure the following tags:<\/p>\n<p style=\"text-align: left;\"><code>Options Indexes FollowSymLinks<\/code><br \/><code>AllowOverride All<\/code><br \/><code>Allow from all<\/code><\/p>\n<p style=\"text-align: left;\"><code>The complete section is pasted below:<\/code><\/p>\n<p style=\"text-align: left;\"><code>&lt;Directory \"C:\/Apache2.2\/htdocs\"&gt;<\/code><br \/><code>\u00a0\u00a0\u00a0 #<\/code><br \/><code>\u00a0\u00a0\u00a0 # Possible values for the Options directive are \"None\", \"All\",<\/code><br \/><code>\u00a0\u00a0\u00a0 # or any combination of:<\/code><br \/><code>\u00a0\u00a0\u00a0 #\u00a0\u00a0 Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews<\/code><br \/><code>\u00a0\u00a0\u00a0 #<\/code><br \/><code>\u00a0\u00a0\u00a0 # Note that \"MultiViews\" must be named *explicitly* --- \"Options All\"<\/code><br \/><code>\u00a0\u00a0\u00a0 # doesn't give it to you.<\/code><br \/><code>\u00a0\u00a0\u00a0 #<\/code><br \/><code>\u00a0\u00a0\u00a0 # The Options directive is both complicated and important.\u00a0 Please see<\/code><br \/><code>\u00a0\u00a0\u00a0 #\u00a0<a href=\"http:\/\/httpd.apache.org\/docs\/2.2\/mod\/core.html#options\" target=\"_blank\" rel=\"noopener\">http:\/\/httpd.apache.org\/docs\/2.2\/mod\/core.html#options<\/a><\/code><br \/><code>\u00a0\u00a0\u00a0 # for more information.<\/code><br \/><code>\u00a0\u00a0\u00a0 #<\/code><br \/><code>\u00a0\u00a0\u00a0 Options Indexes FollowSymLinks<\/code><\/p>\n<p style=\"text-align: left;\"><code>\u00a0\u00a0\u00a0 #<\/code><br \/><code>\u00a0\u00a0\u00a0 # AllowOverride controls what directives may be placed in .htaccess files.<\/code><br \/><code>\u00a0\u00a0\u00a0 # It can be \"All\", \"None\", or any combination of the keywords:<\/code><br \/><code>\u00a0\u00a0\u00a0 #\u00a0\u00a0 Options FileInfo AuthConfig Limit<\/code><br \/><code>\u00a0\u00a0\u00a0 #<\/code><br \/><code>\u00a0\u00a0\u00a0 AllowOverride All<\/code><\/p>\n<p style=\"text-align: left;\"><code>\u00a0\u00a0\u00a0 #<\/code><br \/><code>\u00a0\u00a0\u00a0 # Controls who can get stuff from this server.<\/code><br \/><code>\u00a0\u00a0\u00a0 #<\/code><br \/><code>\u00a0\u00a0\u00a0 Order allow,deny<\/code><br \/><code>\u00a0\u00a0\u00a0 Allow from all<\/code><\/p>\n<p style=\"text-align: left;\"><code>&lt;\/Directory&gt;<\/code><\/p>\n<p style=\"text-align: left;\">Add entry in httpd.conf to point to the htaccess file. You can either use the default htaccess.txt using the below entry:<\/p>\n<p style=\"text-align: left;\">AccessFileName htaccess.txt<\/p>\n<p style=\"text-align: left;\">Or<\/p>\n<p style=\"text-align: left;\">AccessFileName .htaccess<\/p>\n<p style=\"text-align: left;\">The above line will have to be added to the end of the httpd.conf.<\/p>\n<p style=\"text-align: left;\">For renaming htaccess.txt in the root of the Joomla 2.5 installation folder, you will have to do it through the command prompt.<\/p>\n<p style=\"text-align: left;\">After performing the above changes to httpd.conf, restart Apache server and retest.<\/p>\n<p style=\"text-align: left;\">.htaccess modifications<\/p>\n<p style=\"text-align: left;\">The default .htaccess configurations should work. However, if you still get 404 errors, try the following modification in htaccess<\/p>\n<p style=\"text-align: left;\">Uncomment RewriteBase.<\/p>\n<p style=\"text-align: left;\"><code>RewriteBase \/joomla25<\/code><\/p>\n<p style=\"text-align: left;\">Point to the location in which Joomla 2.5 is installed. Restart Apache Server and retest.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This article explains how to enable Search Engine friendly URLs using rewrite rules on Windows XP Joomla 2.5 installation. We [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":93,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[4],"tags":[],"class_list":["post-94","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-joomla"],"_links":{"self":[{"href":"https:\/\/www.tech-freaks.com\/wp-json\/wp\/v2\/posts\/94","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.tech-freaks.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tech-freaks.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tech-freaks.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tech-freaks.com\/wp-json\/wp\/v2\/comments?post=94"}],"version-history":[{"count":0,"href":"https:\/\/www.tech-freaks.com\/wp-json\/wp\/v2\/posts\/94\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.tech-freaks.com\/wp-json\/wp\/v2\/media\/93"}],"wp:attachment":[{"href":"https:\/\/www.tech-freaks.com\/wp-json\/wp\/v2\/media?parent=94"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tech-freaks.com\/wp-json\/wp\/v2\/categories?post=94"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tech-freaks.com\/wp-json\/wp\/v2\/tags?post=94"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}