Joomla SEO on 1and1
Written by Josh Lyon   
Monday, 09 April 2007 04:34
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.

## Can be commented out if causes errors, see notes above.
Options FollowSymLinks
RewriteEngine On
# Uncomment following line if your webserver’s URL
# is not directly related to physical file paths.
# Update Your Joomla/MamboDirectory (just / for root)
# Uncomment this line
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

Comments (12)add comment

icoggert said:

0
Sweet
Sweet, it got me going as well. Thank you!!!
 
August 10, 2007
Votes: +1

Brandon said:

0
:]
Thanks you so much. been searching everywhere to fix this.
 
April 23, 2008
Votes: +0

Dozza said:

0
Still works
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
 
April 29, 2008
Votes: +0

Alan Mokbel said:

0
Still not working
I've done the changes and still nothing.
Are you using this with a third party plugin? like 404SEF?
 
May 10, 2008
Votes: +0

Gregory said:

0
Thank You!!!
Thank you for the help.
 
June 03, 2008
Votes: +0

Leo Woods said:

0
Thanks!
Brilliant help thanks a lot
 
September 16, 2008 | url
Votes: +0

Jan said:

0
GREAT!!!!
You are GENIUS!
Thanks a lot! smilies/smiley.gif
 
February 21, 2009
Votes: +0

chetan said:

0
Thanks a Bunch!
Thanks a Bunch!
 
February 28, 2009 | url
Votes: +0

JoomlaSoftware said:

0
Nice Joomla Templete
That is definitely true about this comments- Joomla SEO on 1and1 actually I am using Joomla for last few days and goes nicely
 
July 10, 2009
Votes: +0

sharmawebsolution said:

0
Search Engine Optimization
sharmawebsolution provide you all Seo,Hosting and including top web marketing concepts..
 
September 04, 2009 | url
Votes: +0

Dave said:

0
hero
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!
 
January 07, 2010 | url
Votes: +0

Styletricks said:

0
Joomla developer
Also when customizing htaccess file you can ad custem redirects form non www to www and backwards.
 
February 12, 2010 | url
Votes: +0

Write comment

busy