English (United Kingdom)
Jms Multi Site, formerly joomla multisite.
Create, share multiple joomla sites in few clicks !
Message
  • EU e-Privacy Directive

    This website uses cookies to manage authentication, navigation, and other functions. By using our website, you agree that we can place these types of cookies on your device.

    View e-Privacy Directive Documents

Welcome, Guest
Please Login or Register.    Lost Password?

Configuring A Slave Site To Use SEF URL's
(1 viewing) (1) Guest
Go to bottomPage: 1234
TOPIC: Configuring A Slave Site To Use SEF URL's
#9309
Configuring A Slave Site To Use SEF URL's 12 Years, 2 Months ago Karma: 0
Hi All,

We have JMS installed and use it to maintain several sites, I've not had any problems until now.

I can't seem to configure JMS to use and pick up Search engine friendly urls.
I've set the radio buttons in the global configuration for the slave site and also copied in and renamed the .htaccess file in the slave sites route directory and uncommented out the "rewrite_base" line but im still getting the error that its not finding the page.

I've checked my ISP allows for "mod_rewrite" and they do.

Could it not be working because the master site also needs setting up to use SEF URL's?
I realise that each slave site will have a unique htaccess file but they are using dynamic linking back to the general joomla route directory, could this be why its not finding the page.

Its looking for the correct path resolutions,... i.e. (/sef-url-test.html)
Its just not finding the page content.

I'm sure the solution is probably simple and I'm just missing something.

Please can someone help?

regards Nick

ether17@uk2.net
Rowe
Fresh Boarder
Posts: 9
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2012/02/16 13:40 By Rowe.
The administrator has disabled public write access.
 
#9335
Re: Configuring A Slave Site To Use SEF URL's 12 Years, 2 Months ago Karma: 54
Based on your description, I think that the problem is located in the "rewritebase" value.
Try to use the "/" or if you have located your website into a subdirectory, put the path of the subdirectory.

If you have create a slave site with a domain or a subdomain, verify that you correctly assigned you cPanel (or other admin tool) with the correct "document root".

All the values between your server and the slave site definition should be the same.
edwin2win
Moderator
Posts: 5370
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#9336
Re: Configuring A Slave Site To Use SEF URL's 12 Years, 2 Months ago Karma: 0
Thank you for the response however i'm slightly confused. I thought the rewritebase value didn't need to be changed as long as it was in the main route directory of the slave site?

For example our slave site domain mappings are set to "thisismydomain/joomla"
Obviously he index.php file is located in the route of the Joomla folder (dynamic links point back here to resolve url issues).

So the slave sites are stored in a directory such as :"/joomla/multisites/qp_slave_46"
This is the route of an example slave site.

Here we add the .htaccess file and uncomment the rewrite_base line.
It is my understanding that if this file is in the route of the slave site it should automatically resolve the issue but it does not.

I have tried using the absolute path of the slave site and also with "/joomla"
as in the mapping settings but still no joy, please can someone assist?



regards Nick
Rowe
Fresh Boarder
Posts: 9
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2012/02/17 18:16 By Rowe.
The administrator has disabled public write access.
 
#9346
Re: Configuring A Slave Site To Use SEF URL's 12 Years, 2 Months ago Karma: 54
You mentioned that the slave site is in
"thisismydomain/joomla"
and later you mentioned that you deployed the slave site in
"/joomla/multisites/qp_slave_46"

So I think that the rewritebase value is probably
/multisites/qp_slave_46

As the entry point of the "main site" is already /joomla
and that you want in fact to use the /multisites/qp_slave_46 as "root" of your slave site and not the / as root (that correspond to joomla)
edwin2win
Moderator
Posts: 5370
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#9367
Re: Configuring A Slave Site To Use SEF URL's 12 Years, 2 Months ago Karma: 0
Hi Edwin,

not quite i mentioned that the slave site url domain mappings point back to the joomla route folder (via dynamic linkings). This is to remove the joomla folder references from the slave site urls to keep them clean.

So the master site sits in the route of the joomla folder and all the slave sites are stored within the multisites folder as usual.

I deployed a slave site in the directory "/joomla/multisites/qp_slave_46" however I still get a 404 page and have tested several paths including the one you suggested to get the page to work.

The home page is being picked but when I go to change pages I get a 404 page as if it cant find the content.

regards Nick
Rowe
Fresh Boarder
Posts: 9
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#9374
Re: Configuring A Slave Site To Use SEF URL's 12 Years, 2 Months ago Karma: 54
Do you have a ".htaccess" in the /joomla directory ?
If YES, try to update the parent ".htaccess" or if you have another one in another parent directory, update the most higher file in the hierarchy.

I think what when you have several ".htaccess", this is the higher one (first one) in the hierarchy that is used.
edwin2win
Moderator
Posts: 5370
graph
User Offline Click here to see the profile of this user
Last Edit: 2012/02/20 17:28 By edwin2win.
The administrator has disabled public write access.
 
Go to topPage: 1234
get the latest posts directly to your desktop
2Win, Multisite(s) are trademarks of Edwin2Win.
Joomla