PDA

View Full Version : : Make domain.com point to www.domain.com



susan
10-03-2008, 03:28 PM
I am brand new to this site and found out when I tried to access my site as www.susanpbrunner.com does not work, but www.susanpbrunner.com/susan does. I want to get rid of the "/susan" requirement so people can just use www.susanpburnner.com. Now the information on .htaccess files seems to be what is required. I take it this file goes under "public_html/susan" where the rest of my files are?

I take it that the coding in this file s/b
Options +FollowSymlinks
RewriteEngine on
rewritecond %{HTTP_HOST} ^susanpbrunner.com [nc]
rewriterule ^(.*)$ http://www.susanpbrunner.com/susan [r=301,nc]

I appreciate any help anyone is willing to give me on this.

Susan

felgall
10-03-2008, 03:35 PM
put it in public_html

It is a bit hard for a redirect to work if you put it in the place you want to redirect to instead of where you want to redirect from.

susan
10-04-2008, 02:43 PM
I set up the FTP program wrong. I now just have to figure out how to do that right.

Susan

Bob Barr
10-04-2008, 03:55 PM
I set up the FTP program wrong. I now just have to figure out how to do that right.

Susan
If the file is on the server, but in the wrong folder, it might be quicker and easier to just use the File Manager under cPanel. File Manager has a 'Move' function which will allow you to relocate files from one folder to another.

Of course, you'd still need to correct your FTP program's setting for any future uploads to the server.

daren
10-04-2008, 09:17 PM
hi susan, just a reminder for you to put an index file in the "susan" folder redirecting the traffic back to your home page. When I clicked on the your URL/susan it shows me all the directory contented inside. It's not so nice to let people see that:)