Site: http://2nilssons.com Server: Apache 1.3.37 (Unix) Host: midphase
1. Exclude www redirect: optimized search engine results (have registered as such w/Google, but for other engines need redirect in htaccess)
FROM -http://www.2nilssons.com
TO -http://2nilssons.com
2. Path/file rename redirect: corrections for crappy, capitalized, too-long titling disease to exclude unnessary sub-dirs and title gaps that result in %20. Most critical example:
FROM -http://2nilssons.com/Dance/Dance Quotes.htm
ALSO AS -http://2nilssons.com/Dance/Dance%20Quotes.htm
(the above two paths are no longer working, as I thought my .htaccess redirects would work, and I've already done the site mods... hence the urgency)
TO -http://2nilssons.com/dancequotes.htm
Attempted .htaccess redirects to no avail; neither redirect is working.
Here is the original .htaccess code - website and uploads function:[/code]
- Code: Select all
# -FrontPage-
IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*
order deny,allow
deny from all
allow from all
order deny,allow
deny from all
AuthName 2nilssons
AuthUserFile /home/nilsson/public_html/_vti_pvt/service.pwd
AuthGroupFile /home/nilsson/public_html/_vti_pvt/service.grp
A. This is my attempt at the exclude www redirect:
- Code: Select all
RewriteEngine ON
RewriteRule ^/Dance/Dance%20Quotes.htm$ http://2nilssons.com/dancequotes.htm$1 [L,R=permanent]
B. These are my attempts at the redirect to simpler path names:
- Code: Select all
RewriteEngine ON
RewriteRule ^/Dance/Dance%20Quotes.htm$ http://2nilssons.com/dancequotes.htm$1 [L,R=permanent]
Also, w/o the "/" afer "^" and before first "Dance" in first path:
- Code: Select all
RewriteEngine ON
RewriteRule ^Dance/Dance%20Quotes.htm$ http://2nilssons.com/dancequotes.htm$1 [L,R=permanent]
The rewrites don't accomplish the redirects. Further: if installed below existing, working .htaccess code - site works, but uploads don't work; and, if installed after the "IndexIgnore" statement and before the "order deny,allow" statement, the site stops working immediately.
Any help and guidance with this will be enormously appreciated!
Much thanks to anyone that can help!
Kristy Nilsson / Atlanta

English |
French
