login logout and search

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Thu Jan 09, 2014 10:46 am
Reply with quote
Report this post
Dear Gavick,

i installed magazine last night but im a foundation level joomla user.

i have put the login module in place and added the url but the front end login and logout doesn't work and im not sure why?

it works ok via the menu item but not via the module.

the same goes for the search box, all i have done is place the module in position but it doesn't seem to work.

could you advise or check?

not sure how i can send you the info without adding to the forum, i provided admin details in support ticket last night but im not VIP so need to use the forum.

many thanks in advance,
lee
User avatar
Fresh Boarder

GK User
Thu Jan 09, 2014 4:21 pm
Reply with quote
Report this post
I think I have worked out this is a self inflicted issue with a redirect of the index.php to the non index.php in my .htaccess because if i remove this its works fine.

however i would like index.php to remain redirecting to the non index.php, do you know how i could fix this?

my .htaccess:

RewriteEngine on
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.php\ HTTP/
RewriteRule ^index\.php$ http://example.co.uk/ [R=301,L]
Rewritecond %{http_host} ^http://example.co.uk/ [nc]
Rewriterule ^(.*)$ http://example.co.uk/$1 [r=301,nc]
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /home\ HTTP/
RewriteRule ^index\.php$ http://example.co.uk/ [R=301,L]
RewriteCond %{HTTP_HOST} ^example\.co.uk
RewriteRule ^(.*)$ http://www.example.co.uk/$1 [R=301,L]
Options +FollowSymLinks

#
# mod_rewrite in use

RewriteEngine On

########## Begin - Rewrite rules to block out some common exploits
## If you experience problems on your site block out the operations listed below
## This attempts to block the most common type of exploit `attempts` to Joomla!
#
## Deny access to extension xml files (uncomment out to activate)
#<Files ~ "\.xml$">
#Order allow,deny
#Deny from all
#Satisfy all
#</Files>
## End of deny access to extension xml files
RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|\%3D) [OR]
# Block out any script trying to base64_encode crap to send via URL
RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [OR]
# Block out any script that includes a <script> tag in URL
RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR]
# Block out any script trying to set a PHP GLOBALS variable via URL
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
# Block out any script trying to modify a _REQUEST variable via URL
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
# Send all blocked request to homepage with 403 Forbidden error!
RewriteRule ^(.*)$ index.php [F,L]
#
########## End - Rewrite rules to block out some common exploits

# Uncomment following line if your webserver's URL
# is not directly related to physical file paths.
# Update Your Joomla! Directory (just / for root)

# RewriteBase /


########## Begin - Joomla! core SEF Section
#
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !^/index.php
RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.feed|\.pdf|\.raw|/[^.]*)$ [NC]
RewriteRule (.*) index.php
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]
#
########## End - Joomla! core SEF Section
.
User avatar
Fresh Boarder

GK User
Sat Jan 11, 2014 1:15 pm
Reply with quote
Report this post
i just removed the index.php redirect to fix this. So this is sorted now.

I would prefer for index.php not to exist to aviod any search engine duplication issues but if it means login logout and search works this is ok now.
User avatar
Fresh Boarder

teitbite
Sun Jan 12, 2014 7:39 pm
Reply with quote
Report this post
Hi

Yes it looks lke a solid solution. Than You for shearing.
User avatar
Moderator


cron