www vs. NO www

Status
Not open for further replies.

bpakidz

New Member
Messages
36
Reaction score
0
Points
0
Hi! Hopefully someone can help me out here...

I have been having some issues with a site that i built. The company called and said that they are getting 404 errors when they try to view the pages. If you look at www.bpakidz.com, you get the 404 error. However, if you look at bpakidz.com, the page appears to load...

WHY??? Any and all help is appreciated...
 

tttony

Member
Messages
147
Reaction score
0
Points
16
maybe see the content of .htaccess file or contact with your domain admin

try this in your .htaccess file:

Code:
Options +FollowSymLinks 
RewriteEngine on 
RewriteCond %{HTTP_HOST} ^yoursite.com [NC] 
RewriteRule ^(.*)$ http://www.yoursite.com/$1 [L,R=301]

http://www.webweaver.nu/html-tips/web-redirection.shtml
 
Last edited:

bpakidz

New Member
Messages
36
Reaction score
0
Points
0
Anyone else have an idea on how to fix this issue? I have no clue how to do what the last poster suggested.
 

GTKILLA

New Member
Messages
142
Reaction score
0
Points
0
He said to add this in your .htaaccess file( which is located in public_html directory of your site in file manager, but if ya cant see it when you click the file manager button on cpanel put a check on view . files or something like that(i forgot)

Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^yoursite.com [NC]
RewriteRule ^(.*)$ http://www.yoursite.com/$1 [L,R=301]
 

westcg

New Member
Messages
6
Reaction score
0
Points
0
Why? - because without the www is considered a different address then with
(I encountered a problem with google and sitemaps because of missing out the www.)

There's some exact reasoning down to the structure of the url and the meaing of the different parts, however my grey matter really isn't what it used to be (you could probably google it, tho).

...anyway, your problem is clearly a page not found, so the www.bpakiz.com is not pointing to the same location as bpadkiz.com (don't know enough about your setup to give any definite solutions as to why).

(I took a peek at your WHOIS for that site and you've got the x10 nameservers setup, so...)

Things to check...
- CPanel setup, (you've added on the www domain and pointed correctly).
- Try a static index.html at your site root (simple 'hello world', as this will ensure the x10 nameservers resolve okay and point to the expected location).

You can always try the suggestion in the other posts (though I needed no amending of the access file to get a static html correctly resolving, www.westcoast-games.com)

Best of luck diagnosing!
 

diabolo

Community Advocate
Community Support
Messages
1,682
Reaction score
32
Points
48
is www under one of your subdomain names; this should be already set with your registar though, but who knoes
 
Status
Not open for further replies.
Top