Advertisement

07.27.2005 at 10:15PM PDT, ID: 21507173
[x]
Attachment Details

Asked by baal32 in Miscellaneous Web Development, Hypertext Transfer Protocol (HTTP), Secure Socket Layer (SSL) & HTTPS

Some internal links in my website, when pointing to www.xxxxxx.com/subcategory1 seem to automatically redirect to xxxxx.com/subcategory1 (note the missing www) .  But links  www.xxxxxx.com/subcategory1/ correctly go to www.xxxxxx.com/subcategory1/ ??

While this doesn;t affect the functionality of the website I've been looking into SEO and am horrified to find that www.domain.com and domain.com are considered separate.  Which I'm probably pretty dim for not realizing earlier but...

My .htaccess looks like this

RewriteEngine on
Options -Indexes +Includes
RewriteRule ^search/page/(.+)/items/(.+)/ /search/index.php?pageNum_Items=$1&totalRows_Items=$2 [L,QSA]
RewriteRule ^(.+)/page/(.+)/items/(.+)/sub/(.+)/$ /$1/index.php?pageNum_Items=$2&totalRows_Items=$3&sub=$4 [L,QSA]
RewriteRule ^([^/]*)/page/([^/]*)/items/([^/]*)/ /$1/index.php?pageNum_Items=$2&totalRows_Items=$3 [L,QSA]
RewriteRule ^(.+)/sub/(.+)/$ /$1/index.php?area=$1&sub=$2 [L,QSA]
RewriteRule ^(.+)/sub/(.+)$ /$1/index.php?area=$1&sub=$2 [L,QSA]
RewriteRule ^(.+)/item/(.+)/$ /$1/index.php?item_id=$2 [L,QSA]
RewriteRule ^(.+)/item/(.+)$ /$1/index.php?item_id=$2 [L,QSA]
RewriteRule ^(.+)/item2/(.+)/$ /$1/index2.php?item_id=$2 [L,QSA]
RewriteRule ^(.+)/item2/(.+)$ /$1/index2.php?item_id=$2 [L,QSA]
RewriteRule ^(.+)/features/(.+)/$ /$1/index.php?feature=$2 [L,QSA]
RewriteRule ^(.+)/features/(.+)$ /$1/index.php?feature=$2 [L,QSA]
RewriteRule ^(.+)/do/(.+)$ /$1/index.php?do=$2 [L,QSA]
RewriteRule ^do/(.+)$ /index.php?do=$1 [L,QSA]
ErrorDocument 403 /v-web/errdocs/403.html
ErrorDocument 401 /v-web/errdocs/401.html
ErrorDocument 500 /v-web/errdocs/500.html
ErrorDocument 400 /v-web/errdocs/400.html
ErrorDocument 404 /v-web/errdocs/404.html
ErrorDocument 404 /v-web/errdocs/404.html

which I'm sure is redundant in some places but can't figure out if this is affecting it.  If this is not the problem can anyone suggest another possibility?  
Start Free Trial
[+][-]07.27.2005 at 11:54PM PDT, ID: 14543538

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.28.2005 at 09:53AM PDT, ID: 14547609

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.28.2005 at 11:19AM PDT, ID: 14548527

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Miscellaneous Web Development, Hypertext Transfer Protocol (HTTP), Secure Socket Layer (SSL) & HTTPS
Sign Up Now!
Solution Provided By: duz
Participating Experts: 2
Solution Grade: A
 
 
[+][-]08.03.2005 at 11:57PM PDT, ID: 14595743

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.19.2005 at 05:13PM PDT, ID: 15120843

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32