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?

404 page not found on registration pages for slave
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: 404 page not found on registration pages for slave
#10151
404 page not found on registration pages for slave 12 Years, 7 Months ago Karma: 0
Hi Edwin,

I've created a parent template for my slave sites and I am now creating my slave sites based on the template.

When I create the slave and click on the 'registration button' or 'forgot your password' or 'resend activation code' links from the jomsocial login page I get a 404 page not found error.

When I click on the same links in the template they work fine.

The urls are:
1) www.mysite.com/template/register
2) www.mysite.com/template/component/users/?view=reset
3) www.mysite.com/template/register/activation

1) www.mysite.com/slave1/register
2) www.mysite.com/slave1/component/users/?view=reset
3) www.mysite.com/slave1/register/activation

If I login with a user that was already created from the parent template then the pages are fine (i.e. no 404 page errors).

Can you please let me know what could be causing this page not found error for these public registration pages?

Thanks and regards.
TonyGee
Expert Boarder
Posts: 113
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#10166
Re: 404 page not found on registration pages for slave 12 Years, 6 Months ago Karma: 54
A 404 error can be due to several reason.

Verify that you have enable the SEF
Verify that you have a .htaccess present
Verify the "rewritebase" value present in the "htaccess".
edwin2win
Moderator
Posts: 5370
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#10175
Re: 404 page not found on registration pages for slave 12 Years, 6 Months ago Karma: 0
Hi Edwin,

Thanks for that information.

I've checked that SEF is enabled and also URL Rewrite is enabled in the Joomla admin. When I disable these then the pages work fine.

So the problem is with my .htaccess file.

When I created the slave I used a symbolic link to the .htaccess file in the template site. Is this correct?

Also, in the .htaccess file of the template site I have the following lines of code:

Code:


Options +FollowSymLinks
## Mod_rewrite in use.

RewriteEngine On
RewriteBase /



Can you please let me know what I have written incorrectly in the code above?

Thanks and kind regards.
TonyGee
Expert Boarder
Posts: 113
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#10185
Re: 404 page not found on registration pages for slave 12 Years, 6 Months ago Karma: 54
I know that setup of .htaccess is not necessary easy.

You have to test different combinaison of the Rewritebase value.

Sometime, the Rewritbase must be removed (put a comment)
or have a value like Rewritebase /slave_dir/

You have to test and try several combinaison and when you are creating website in a subdirectory, sometimes remove the htaccess when you may have a parent one.
edwin2win
Moderator
Posts: 5370
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1
get the latest posts directly to your desktop
2Win, Multisite(s) are trademarks of Edwin2Win.
Joomla