stevesbt
Member
Posted 1 year ago #
Hi
I am hoping somebody would be kind enough to help me with a small issue I am having with WP.
I recently moved the install folder to the root from /wordpress. (following instructions)
The only way I can get the site to work is to make sure www. is present in the url. Also making sure the www. is present in the general setting page. (worpress address/site address) I have tried setting this without and I just get a blank page.
I have spoken to my hosting company encase its a problem there and they say its a WP installation issue.
using WP 3.0.4
http://www.sbtdesign.co.uk
any help and advice would be appreciated.
Regards
Steve
you want to use the website without 'www' ? or you want to both ?
I don't recommend that you use both it may will be duplicate content issue
Simply put following code into your .htaccess file where located your root
it will redirect www version from without www
RewriteCond %{HTTP_HOST} ^sbtdesign\.co.uk$ [NC]
RewriteRule ^(.*)$ http://www.sbtdesign.co.uk/$1 [L,R=301]
stevesbt
Member
Posted 1 year ago #
Maybe I am miss understanding things (sorry pretty new to wp)
I was thinking that if somebody types my url without the www. it would work the same as if it was typed.
http://sbtdesign.co.uk
http://www.sbtdesign.co.uk
If I leave out the www. in my general settings both url's give me a white screen.
Surely it should work either way?
stevesbt
Member
Posted 1 year ago #
Sorry I missed your second post while I was replying to your first. :-)
Where do I find the .htaccess file? I know its a hidden file and still cant find.
Thank you for your help.
what client are you using when you access to root folder ? if it is filezilla you will see at the top Server click on this and make sure checked show hidden files..
stevesbt
Member
Posted 1 year ago #
Yes I have done all that, but still cant find.
System may not have created .htaccess file. Create a file which named .htaccess and put into code that I have given you
stevesbt
Member
Posted 1 year ago #
Ok done all that. No luck I'm afraid. Sorry to be a pain.
No pain mate this is a support forum and we are trying to help each other
Couldn't you create the file ?
stevesbt
Member
Posted 1 year ago #
Yes, created the file with you code you gave me and uploaded it to root.
No luck. same problem
If you want your domain to be available at either http://www.domain.com or domain.com then you will need to add a DNS record to make this happen. Your host should help you with this.