By shrill on
Hi all.
I have drupal set up on my pc using Xampp. It is in a directory: e.g. /company-name. Everything works perfectly there.
On Bluehost, I have a main domain (e.g. myhostingaccount.net) and an addon domain for the client (companyname.org)
The drupal installation is physically located in a subfolder the same as on the pc: /company-name. and when I go to www.myhostingaccount.net/company-name everything works. When I redirect companyname.org to the subdirectory and go to that url, links break.
Thoughts?
Thanks,
Shrill
Comments
Need help with settings.php for this
Okay, so if I click on a link I get sent to:
http://www.companyname.org/publications?q=company-name/publications
When I remove the part from the ? I end up at the right page.
I have tried several things but am a bit of a newbie with config/ htaccess. Here is my settings.php:
Should I have something else there?
Cheers,
Shrill
okay this is still a problem
I've had my host look into it and they aren't much help.
Basically, the menu items work fine when it is in the addon domain. The links within the content itself do not: they add the folder to the link where the site is physically located (but where the site shouldn't think it is located).
eg. the site is actually located at public_html/company_website. So is you go to http://www.mainurl.com/company_website all links work fine. At http://www.company_websiteaddonurl.com, the menu items work but the links within the content do not. Instead they continue to add /company_website into the url (whereas they should be eg. www.company_websiteaddonurl.com/link, instead they are www.company_websiteaddonurl.com/company_website/link)
I think this may be because of pathauto? since I created the links in the content using pathauto (using the automatically generated names). So I could go back in and change them to node/111 etc.
However, that means that in some cases there is a menu item pointing to the pathauto version and a link pointing to the node/111 version...different urls for the same content, ie duplicate content.
Anyone here use bluehost with an addon domain? How did you do it? They don't really need to use the normal domain for anything at the moment: if I move the files into the main domain would that work? Would doing that break the site?
Thanks
Shrill
p.s. sorry no examples: this is offline until I can get it to work
if the host is not helpful,
if the host is not helpful, dont pay to them ...
tell us how u did the "redirection"......the devil is hiding there ...
well they're trying...
they just can't figure it out :)
The redirection was accomplished using the domain manager (hosting tab) within Cpanel. It lists my domains, including my addon domain. I click to assign the addon domain and assign it to the directory where the website resides.
Thanks,
Shrill