I had some issues using the first set of instructions I found for setting up Search Engine Optimization (SEO) on my 1and1 account. I had renamed the htaccess.txt to .htaccess and made some small changes, but I was still having issues. The information below got me up and going.
Setting up .htaccess file
Rename the htaccess.txt file bundled with the installation to .htaccess.
You will need to make a few changes to the .htaccess file so it is configured correctly. The change descriptions are noted in bold below. Also, note that RewriteBase is relative to the URL of the site, not the absolute path. If you have Joomla! setup in the root directory, this shouldn't be an issue for you.
Options FollowSymLinks
RewriteEngine On
# is not directly related to physical file paths.
# Update Your Joomla/MamboDirectory (just / for root)
RewriteBase /
#comment all of the lines of the below section
########## Begin Standard SEF Section
#RewriteCond %{REQUEST_FILENAME} !-f
#RewriteCond %{REQUEST_FILENAME} !-d
##RewriteCond %{REQUEST_URI} ^(/component/option,com) [NC,OR] ##optional – see notes##
#RewriteCond %{REQUEST_URI} (/|\.htm|\.php|\.html|/[^.]*)$ [NC]
#RewriteRule ^(content/|component/) index.php
########## End Standard SEF Section
# Uncomment all lines
########## Begin 3rd Party or Core SEF Section
RewriteCond %{REQUEST_URI} ^(/vietnam/component/option,com) [NC,OR] ##optional – see notes##
RewriteCond %{REQUEST_URI} (/|\.htm|\.php|\.html|/[^.]*)$ [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) index.php
########## End 3rd Party or Core SEF Section
19 responses to “Joomla SEO on 1and1”
Sweet, it got me going as well. Thank you!!!
Thanks you so much. been searching everywhere to fix this.
Thanks for this. The above still works for 1&1 in the UK in April 08.
Why does it work when you uncomment the 3rd party stuff, even tho not using 3rd party?
Weird
I’ve done the changes and still nothing.
Are you using this with a third party plugin? like 404SEF?
Thank you for the help.
Brilliant help thanks a lot
You are GENIUS!
Thanks a lot! 🙂
Thanks a Bunch!
That is definitely true about this comments- Joomla SEO on 1and1 actually I am using Joomla for last few days and goes nicely
Thanks, you’re my hero. I’ve been trying for ages to get this working on a website im building for someone. You’re now my hero!
Also when customizing htaccess file you can ad custem redirects form non www to www and backwards.
If the host is down when Googlebot tries to access your pages, then those pages may disappear from the index until Googlebot can crawl them again. In webmaster tools, do the pages you want indexed appear in the crawl errors section? If so, then Googlebot was unable to access them.
still i m having problem on one of my site on joomla to ocnvert the links to SEO friendly i tried a lot but everytime it shows error . Can u give more info on it in simple way.Please!
THANKS
Your joomla seo url rewrite is excellent, it helps a lot for search engine optimization.
Thank you for sharing this information and tips.
basic purpose of the .htaccess file here is to Rewrite the cryptic URL’s from a dynamic content management system to more readable URL’s
For Apache to be able to do that, it needs to know some things about the URL Joomla produces and how they should be handled
These information is stored in the .htaccess file.
Such a fantastic article, it really helps in gaining traffic to your website, Thank you so much for posting!
Read More
Great information for me! I am using Joomla for last few days and goes nicely! Thanks!
Great post man. I’ve been pulling my hair out trying to get on page SEO elements configured for a Joomla client. Definitely WAY easier on WP sites.