Hi,
I just got done giving this site a complete overhaul
I wish I would of saved a before shot so you could see the difference.
Still Need to do a few tweaks, but over all what do you think?
Madonna Ciccone
Thanks in Advance
Sami
Hi,
I just got done giving this site a complete overhaul
I wish I would of saved a before shot so you could see the difference.
Still Need to do a few tweaks, but over all what do you think?
Madonna Ciccone
Thanks in Advance
Sami
The site looks good. The have a few suggestions (1) blend a 336x280 or 250x250 ad into the content and (2) add a paragraph or two on the filmography and discography pages about some career highlights. (3) In the navigation remove the /index.html from the home navigation, so that you don't have duplicate urls.
You should use http://www.madonnafans.info instead of http://www.madonnafans.info/index.html in the navigation. Otherwise it may create a canonical issue.
Sami4u (26 March, 2010)
Add this to the top of your .htaccess file:
The purpose of this is to make sure that when a visitor goes to yoursite.com/index.html, they are taken to yoursite.com/ -- which will remove the possibility of duplicate content issues.PHP Code:Options +FollowSymLinks
RewriteCond %{THE_REQUEST} ^.*/index.html
RewriteRule ^(.*)index.html$ http://www.yoursite.com/$1 [R=301,L]
As, you made a very silly error by not telling the site to redirect everyone so that there is only www. instead of both www. and just yoursite.com -- the way you have it now will result in duplicate content issues and backlink problems. So, add this to your .htaccess as well:
To summarize:PHP Code:RewriteCond %{HTTP_HOST} ^domain.com$ [NC]
RewriteRule ^(.*)$ http://www.domain.com/$1 [R=301,L]
The first code I posted will take anyone who visits /index.html to just yoursite.com - avoiding duplicate content issues.
The second code I posted will take anyone who visits yoursite.com to www.yoursite.com - avoiding duplicate content and backlink issues.
Hi,
Thanks.
@Kovich
Me not wanting to come across as a smart as* I rechecked the site, it does have a .htaccess on it yet that I know of.
I went to place this one on the site and got an error so I deleted it. I have not had the time to find what is causing the problem.
I think I have one of the codes you suggested right. Any idea on what to change or add or on this???
Anything stick out for something is wrong with it
Thanks in Advance
Sami
Code:Options +FollowSymLinks RewriteEngine on RewriteCond %{HTTP_HOST} . RewriteCond %{HTTP_HOST} !^madonnafans\.info RewriteRule (.*) http://www.madonnafans.info/$1 [R=301,L] # disable directory browsing Options All -Indexes # protect the htaccess file <files .htaccess> order allow,deny deny from all </files> # disable the server signature ServerSignature Off # protect php.ini <files *.ini> order allow,deny deny from all </files> RewriteEngine on RewriteRule ^MSOffice/(.*)$ / [R=301] RewriteRule ^_vti_(.*)$ / [R=301] RewriteRule ^(.*)index.rdf$ /rss.php [R=301] ### no hotlinking RewriteEngine On RewriteCond %{HTTP_REFERER} !^http://(.+\.)?madonnafans\.info/ [NC] RewriteCond %{HTTP_REFERER} !^$ RewriteRule .*\.(jpe?g|JPG|bmp|png|tiff)$ - [F,NC] Redirect permanent /robot.txt http://madonnafans.info/robots.txt Redirect permanent /robotsxx.txt http://madonnafans.info/robots.txt Redirect permanent /xxx_robots.txt http://madonnafans.info/robots.txt
Remove:
RewriteCond %{HTTP_HOST} .
RewriteCond %{HTTP_HOST} !^madonnafans\.info
RewriteRule (.*) http://www.madonnafans.info/$1 [R=301,L]
Replace with:
RewriteCond %{HTTP_HOST} ^madonnafans.info$ [NC]
RewriteRule ^(.*)$ http://www.madonnafans.info/$1 [R=301,L]
RewriteCond %{THE_REQUEST} ^.*/index.html
RewriteRule ^(.*)index.html$ http://www.madonnafans.info/$1 [R=301,L]
This is not necessary:
# protect the htaccess file
<files .htaccess>
order allow,deny
deny from all
</files>
Sami4u (26 March, 2010)
Hi,
I got it on and the site is loading
Is there a way to check if the hotlink code works without trying to place a picture on one of me other sites?
@bogart
Will be working on the other ad stuff and content soon.
Sami
Remove:
### no hotlinking
RewriteEngine On
RewriteCond %{HTTP_REFERER} !^http://(.+\.)?madonnafans\.info/ [NC]
RewriteCond %{HTTP_REFERER} !^$
RewriteRule .*\.(jpe?g|JPG|bmp|png|tiff)$ - [F,NC]
Replace with:
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?madonnafans.info/.*$ [NC]
RewriteRule \.(gif|jpg|png|js|css)$ - [F]
Let me know when you've made this change, and I'll test again.
Sami4u (26 March, 2010)
Hi,
Changes made
Sami
Bookmarks