You are here:  » Subdomain


Subdomain

Submitted by gahanpip on Mon, 2015-05-25 17:49 in

I have just used a sub-domain and changed the config baseHREF to the sub-domain folder and the all works fine until I access the merchant, category or brand pages when I get the message......Not Found -
The requested URL /merchants.php etc was not found on this server.

What do I need to do to correct this?

Philip

Submitted by support on Tue, 2015-05-26 07:30

Hello Philip and welcome to the forum!

$config_baseHREF actually needs to be relative to the top level folder of the website as it is served, as the sub-domain folder is something is only used internally by Apache / the configuration as it is set-up on your server. For example, if the files are installed in the following file relative to your FTP account's home directory;

public_html/subdomain/

...and this relates to the website URL:

http://subdomain.example.com/

...then $config_baseHREF should be left as the default, e.g.

  $config_baseHREF = "/";

Hope this helps!

Cheers,
David.
--
PriceTapestry.com

Submitted by stevebi on Wed, 2015-12-23 11:35

Hello David,

I have applied a subdomain "books" but when I access /books/admin/ to import new feeds no actions can be taken.

When I click on any link I still remain at the same page /books/admin/#

Should the following remain as I send them to you?

$config_feedDirectory = "/home/username/public_html/books/feeds/";
$config_useFullText = !file_exists("/tmp/cron.pid");
$config_voucherCodesFeedDirectory = "/home/username/public_html/voucherfeeds/";

Thank you

Steve

Submitted by support on Wed, 2015-12-23 14:10

Hi Steve,

Set-up looks fine but you would need to access admin via

http://books.example.com/admin/

...instead of /books/admin/

From the configuration it looks like you will be using a separate feeds folder for the books installation, but the same voucherfeeds folder, which is fine...

Cheers,
David.
--
PriceTapestry.com