It should come up at index.php/member/memberlist given permission to view it.
If not, it’s not impossible that you have a different ‘member’ page indicator, though it’s unlikely. Still- check in Settings - URL and Path Settings - what do you have for ‘Profile URL segment’? And definitely nothing odd at play with htaccess or say a route? If still no luck, try turning debugging on in Settings - Debugging & Output and let’s see if that gives us a hint as to why it’s pulling a 404.
Here is some more context on my situation. I installed a version of EE on a domain a while back but didn’t really use it much. In working on a new project, I installed another instance recently on the same domain but in a directory just titled “j”. The installation in the /j directory is the project that related to this thread. I’m not sure if having 2 installs like this is problematic at all.
With that said, I tried going to “…/j/index.php/member/memberlist” and it broke out of the /j directory and showed me “…/index.php/member/memberlist”. This then said “You are not allowed to view member profiles.” but this message comes from the old install on the main domain directory. Maybe this has something to do with the problem?
When I go to “/j/member/memberlist”, however, I get the “The page you requested was not found.” message and it doesn’t try to break out of the /j directory.
I checked the .htaccess file in the /j directory and I see: <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /
# Removes index.php from ExpressionEngine URLs
RewriteCond %{THE_REQUEST} ^GET.*index\.php [NC]
RewriteCond %{REQUEST_URI} !/system/.* [NC]
RewriteRule (.*?)index.php/*(.*) /$1$2 [R=301,NE,L]
# Directs all EE web requests through the site index file
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php/$1 [L]
</IfModule>
Is there something I should edit there?
As for URL/Path Settings, the Profile URL Segment is just “member”.
Thank you for trying to help, I really appreciate it.
It should generally be fine to have an install in ‘j’ (you have to watch cookies and I’ll often put a prefix on the cookies for the second site, but it’s generally fine).
Let’s do this just to simplify things. Take the htaccess out entirely- rename .htaccess-bk or something.
Then try with /j/index.php/member/memberlist/ and let’s just see.
I renamed the file to .htaccess-bak and then went to /j/index.php/member/memberlist/ This worked! The URL didn’t change either.
I then tried to go to “/j/member/profile” and got the default browser message of Page Not Found (as opposed to the EE message of “The page you requested was not found.” I was getting before.
When I tried going to “/j/index.php/member/profile” it broke out of the /j directory again, and showed the same browser message of page not found.
Any idea?
Did you try. /j/index.php/member/profile/ ? If you don’t have the htaccess in there, you have to have index.php.
So first- just make sure it works like it should WITH index.php and no htaccess.
Once that’s good- you can put the htaccess back. When it’s breaking out it’s because of how it’s doing this bit: # Removes index.php from ExpressionEngine URLs. What you need to do, work your way through the documented ‘exceptions’ when things are weird- especially the bit on what to do if you’re putting index.php in a subfolder. See here.
Probably something like this will work:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
# Removes index.php from ExpressionEngine URLs
RewriteCond %{THE_REQUEST} ^GET.*index\.php [NC]
RewriteCond %{REQUEST_URI} !/system/.* [NC]
RewriteRule (.*?)index\.php/*(.*) j/$1$2 [R=301,NE,L]
# Directs all EE web requests through the site index file
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ j/index.php/$1 [L]
</IfModule>
Wow! “/j/index.php/member/profile/” worked.
I don’t really understand it but ” /j/index.php/member/profile” (without the ending “/”) doesn’t work but with it, it does.
I’ll put the htaccess file back later (about to leave work).
Thank you so much for the help! I really appreciate it 😊
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.