Hello,
I am working on making my URLs cleaner. I have Joomla 1.7.3 site currently showing the following URL format (ignore the space): http ://mysite.com/index.php/2011-12-25-15-24-15/business-law
I hope for it show: http ://mysite.com/business-law
My install is in root. I have both htaccess.txt and .htaccess that came with the install. The only entry in .htaccess is the line: Options -Indexes
Do I copy this line over to htaccess.txt, delete .htaccess and then rename htaccess.txt to .htaccess?
After which, I know I have to enable "Use URL Rewriting" in Global Configuration/SEO Settings.
Do I then uncomment # RewriteBase /?
What do I do with the following line: # internally rewrite the request to the index.php script
RewriteRule .* index.php [L]
Just assign an alias to the parent menu item so that the child items' URLs do not default to include the timestamp of the parent. My URLs now look like this:
Just a suggestion for SEO purposes. Add the following to your htaccess file to prevent duplicate content issues and direct all link juice to a single version of any particular page: