ADDTODOC-PREPEND-BODY
Hits: 191
Trackback(0)
TrackBack URI for this entry
Comments (0)
Subscribe to this comment's feed
Show/Hide comments
Write comment Name Email Website Title Comment smaller | bigger
Subscribe via email (Registered users only) I have read and agree to the Terms of Usage.
Write the displayed characters

Add Comment Please enable JavaScript to post a new comment
jc_loadUserInfo();
I have been asked twice now to show my own robot.txt and .htaccess file...

Just be sure to rename the files and the contents, and if it brakes your site bitch to your host and not me, and if I am your host then you did something wrong.

Please not all I do is take the default htaccess.txt and rename it to .htaccess and then take this line

RewriteEngine On

and replace with

RewriteEngine On
RewriteBase /
Options +FollowSymLinks
ErrorDocument 404 http://www.joomlamafia.com
RewriteCond %{HTTP_HOST} ^joomlamafia\.com [NC]
RewriteRule ^(.*)$ http://www.joomlamafia.com/$1 [L,R=301]
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.shtml\ HTTP/
RewriteRule ^index\.html$ http://www.joomlamafia.com/ [R=301,L]

Set as favorite Bookmark Email This Hits: 173 Trackback(0) TrackBack URI for this entry Comments (0) Subscribe to this comment's feed Show/Hide comments
Write comment Name Email Website Title Comment smaller | bigger
Subscribe via email (Registered users only) I have read and agree to the Terms of Usage.
Write the displayed characters

Add Comment Please enable JavaScript to post a new comment
jc_loadUserInfo();
So you figured out how to rename your htaccess.txt to .htaccess and your loving your SEF. Google is indexing your site, you have 20K pages listed on the search engines. But you decide to slightly change that SEF URL and BAMB

tons and tons of 404's

Or you don't like when people goto http://joomlamafia.com you want them to go to http://www.joomlamafia.com (go on click both links and watch what happens you cant go to http://joomlamafia.com without being redirected to http://www.joomlamafia.com can you?

You should really consider doing this because google among other bots will consider joomlamafia.com and www.joomlamafia.com 2 different websites because infact they are. This is how I do it. I also redirect any errors to the homepage to.

RewriteEngine On
RewriteBase /
Options +FollowSymLinks
ErrorDocument 404 http://www.joomlamafia.com
RewriteCond %{HTTP_HOST} ^joomlamafia\.com [NC]
RewriteRule ^(.*)$ http://www.joomlamafia.com/$1 [L,R=301]
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.shtml\ HTTP/
RewriteRule ^index\.html$ http://www.joomlamafia.com/ [R=301,L]

This should help you out quite a bit.

Set as favorite Bookmark Email This Hits: 403 Trackback(0) TrackBack URI for this entry Comments (0) Subscribe to this comment's feed Show/Hide comments
Write comment Name Email Website Title Comment smaller | bigger
Subscribe via email (Registered users only) I have read and agree to the Terms of Usage.
Write the displayed characters

Add Comment Please enable JavaScript to post a new comment
jc_loadUserInfo();
Want to build a template? Concern about not know php? Well you should learn php, but if your to lazy like most you folks here or have no desire in learning how to code php (like me) then theirs a free add on to Dreamweaver that can really help you out.

Its made by Daniel Duvald of http://www.joomla-cms.dk/ Check him out. I don't know much about the guy, I just found him on google. Go donate money to him and tell him JoomlaMafia.com sent you

If you have anymore tips for this subject use the contact us link above and inform me

Set as favorite
Bookmark Email This Hits: 172 Trackback(0) TrackBack URI for this entry Comments (0) Subscribe to this comment's feed Show/Hide comments
Write comment Name Email Website Title Comment smaller | bigger
Subscribe via email (Registered users only) I have read and agree to the Terms of Usage.
Write the displayed characters

Add Comment Please enable JavaScript to post a new comment
jc_loadUserInfo();

Page 4 of 4

ADDTODOC-APPEND-BODY