Results 1 to 6 of 6

Thread: subdomains question

  1. #1
    Join Date
    Feb 2005
    Location
    BiH
    Age
    33
    Posts
    811

    Default subdomains question

    Hallo,

    I have 4 OR installs in 4 different folders.

    www.mydomain.com/my-first-install/
    www.mydomain.com/my-second-install/
    www.mydomain.com/my-third-install/
    www.mydomain.com/my-fourth-install/

    As full path for each OR install is too large to remember, I have made 4 subdomains and pointed them to each folder (I use godaddy for domain management).

    So I have:

    sub1.mydomain.com
    sub2.mydomain.com
    sub3.mydomain.com
    sub4.mydomain.com

    Almost everything works good when I open site with subdomain, except listing detail view. When I hit link to listing, it backs me to the first page.

    SEO is ON. Can this be the problem? Do I need to update URL path for every installation, changing www.mydomain.com/my-first-install/ to sub1.mydomain.com .

    Pages are OK, searchresults page are OK, only listing detail pages dont open.

    Anyone with any idea?

    Thank you.

  2. #2
    Join Date
    Oct 2007
    Posts
    28

    Default Re: subdomains question

    Basically I have this same problem except my seach results drop me back to the main page.

  3. #3
    Join Date
    Feb 2005
    Location
    BiH
    Age
    33
    Posts
    811

    Default Re: subdomains question

    my problem was in htaccess file.

    Before I made subdomains, I had

    RewriteBase /mysubdomainfolder

    Now, after setting subdomain, you need to have:

    RewriteBase /

    Hope this helps

  4. #4
    Join Date
    Oct 2007
    Posts
    28

    Default Re: subdomains question

    Thanks, but unfortunately in my case it didn't help. But I am configured differently than you. I have my sub off /var/www/mysub.

    I originally had it as you but I moved it as a result of some advice I got somewhere. I think I will try moving it back again.

    Thanks again

  5. #5
    Join Date
    Feb 2005
    Location
    BiH
    Age
    33
    Posts
    811

    Default Re: subdomains question

    Have you test everything without SEO (SEO off), to be sure that in your case, it is .htaccess file issue?

  6. #6
    Join Date
    Oct 2007
    Posts
    28

    Default Re: subdomains question

    I have not turned SEO on yet. I really never believed it was an htaccess problem as everything else seems to work ok for the most part.

    I've traced it back so far to search results hitting the index with what looks like all the correct parameters. I've put some debug information in that verifies that part. However, it never makes it to the core.inc to dispatch to the search.inc.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts