Where is the /Join/ folder

armaclans

Member
What do I need to install or why is it that, when I click sign up. I get a 404 saying my the join folder cannot be found
 

cajkan

Active Member
You should check your plugin - Clean URLs.

Also into your admin ---> Settings ---> Other Settings ---> Enable Clean Url's
 

Basti

Administrator
Staff member
Right if your hosting wont allow apaches mod_rewrite ( via the .htaccess file in topsite root ), then you need to disable clean url as cajkan mentioned above
 

armaclans

Member
Well I tried enabling the urls, and disabling them. Both did not work. It wants to go to a /join/ folder in the directory but there isn't one?
 

armaclans

Member
Wow, none of them work, I will contact my hosting and allow them to change apaches mod_rewrite. but now my links are messed up. I have no idea what the basic links are
 

armaclans

Member
Alright I got it set up it was

RewriteEngine On

so i did that, and enabled clean urls. it still is not working. i get 404 pages when trying to go to the clean version of the url
 

Mark

Administrator
Staff member
ask your host, we dont have access to your site, error logs, or anything else to help you troubleshoot.

This feature is working just fine on hundreds of lists. Something in your hosting environment is the problem.
 

armaclans

Member
Alright, Let me get this straight for you guys.

Hosting Provider - Bluehost.com Does not support any .htaccess coding

I have the command: RewriteEngine On

It does not seem to solve the problem
When I look at my domain on pages they are: http://armaclans.com/?a=join when i enable the Simple URLs. it says to allow mod_redirect and converts the urls to http://armaclans.com/join/ giving me a 404 page.

What else do I need to add into the htaccess file?


add: After going through support, They were able to tell me that mod_rewrite is enabled.. but that's all
 

Basti

Administrator
Staff member
Ehm what is your htaccess now? the urls not working with ending trailing slash is because you seem to have overwrote something

this destroyed most of the rewrite rules
RewriteRule ^(.*)$ index.php?a=$0 [L]

Have a look at the original htaccess
Code:
RewriteEngine on
 
################ Require ending trailing slash
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !(\.[a-zA-Z0-9]{1,5}|/)$
RewriteRule ^(.*)$ %{REQUEST_URI}/ [R=301,L]
 
################ Beautify dynamic url sets
#here are our rewrite rules for the different urls
 

armaclans

Member
When I enabled simple urls, my htaccess remained empty... I just tried your code, it did not work either


Is there more to your code?



Finally After doing some digging:

Code:
Options +FollowSymLinks
RewriteEngine on
 
################ Require ending trailing slash
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !(\.[a-zA-Z0-9]{1,5}|/)$
RewriteRule ^(.*)$ %{REQUEST_URI}/ [R=301,L]
 
################ Beautify dynamic url sets
RewriteRule ^join/ index.php?a=join [L]
RewriteRule ^user_cpl/ index.php?a=user_cpl [L]
RewriteRule ^stats/(.*)/ index.php?a=stats&u=$1 [L]
RewriteRule ^stats/ index.php?a=stats [L]
RewriteRule ^lost_pw/ index.php?a=lost_pw [L]
RewriteRule ^review/(.*)/ index.php?a=rate&u=$1 [L]
RewriteRule ^reviews/(.*)/ index.php?a=stats&u=$1&all_reviews=1 [L]
 
RewriteRule ^category/(.*)/ index.php?cat=$1 [L]
 
RewriteRule ^rank/(.*)/(.*)/category/(.*)/ index.php?start=$1&method=$2&cat=$3 [L]
RewriteRule ^rank/(.*)/category/(.*)/ index.php?method=$1&cat=$2 [L]
RewriteRule ^rank/(.*)/(.*)/ index.php?start=$1&method=$2 [L]
RewriteRule ^rank/(.*)/ index.php?method=$1 [L]
 
RewriteRule ^search/(.*)/(.*)/ index.php?a=search&start=$1&q=$2 [L]
RewriteRule ^search/(.*)/ index.php?a=search&q=$1 [L]
RewriteRule ^search/ index.php?a=search [L]
 
RewriteRule ^page/(.*)/ index.php?a=page&id=$1 [L]
 
################ Beautify Mod urls
RewriteRule ^app/(.*)/ index.php?app=$1 [L]


That Fixed the problem!!! WooHOO!
 

Mark

Administrator
Staff member
Fwiw I have installed on blue host several times without any issue at all, the default .htaccess always worked

Glad you got it sorted
 

armaclans

Member
I am looking at the htaccess, it does not look like there is a Rewrite rule for the viewing of member stats.. or "profile"
 

Mark

Administrator
Staff member
yes, you are missing lines that are included by default. I can only assume you removed them.

please look at the original .htaccess that was included with your download and make sure you have all the rules.

here is a sample of what you have removed:

RewriteRule ^stats/(.*)/ index.php?a=stats&u=$1 [L]
RewriteRule ^stats/ index.php?a=stats [L]
RewriteRule ^details/(.*)/ index.php?a=details&u=$1 [L]
RewriteRule ^overall-stats/ index.php?a=details [L]

but from looking at your .htaccess it looks like some of your rules are from VERY old versions.
 
Top