Live Joomla with Seo/sef - Joomla! Forum - community, help and support


live joomla seo/sef vietnamese
create by: jingjang - xuan

hello, day i'll intruction config seo/sef joomla.

1/ install :apache, php, mysql
2/ config apche (httpd.conf)
+ enable mod_rewrite (search , uncomment)
+ allowoverride controls directives may placed in .htaccess files

search: allowoverride none  (~line #240)
and set to: allowoverride all

# kết quả nó kiểu thế này:
# -> là thư mục htdocs của bạn. ví dụ của tớ là

    options indexes followsymlinks
    allowoverride all
    order allow,deny
    allow all



3/ install joomla & enable seo joomla
a/ enable seo in config panel of joomla or edit configuration.php
set $mosconfig_sef = '1';
b/ copy .htaccess file place in / (your root of joomla folder)

--------------------------------------[start: .htaccess file]--------------------------------------------
##  can commented out if causes errors, see notes above.
options +followsymlinks

#
#  mod_rewrite in use

rewriteengine on


#  uncomment following line if webserver's url
#  not directly related physical file paths.
#  update joomla!/mambodirectory (just / root)

# rewritebase /


########## begin - joomla! core sef section
############# use section if using joomla! core sef
## (rewritecond) lines in section required if actually
## have directories named 'content' or 'component' on server
## if not have directories these names, comment them out.
#
#rewritecond %{request_filename} !-f
#rewritecond %{request_filename} !-d
#rewritecond %{request_uri} ^(/component/option,com) [nc,or] ##optional - see notes##
#rewritecond %{request_uri} (/|\.htm|\.php|\.html|/[^.]*)$  [nc]
#rewriterule ^(content/|component/) index.php
#
########## end - joomla! core sef section



########## begin - 3rd party sef section
############# use section if using 3rd party (non joomla! core) sef extension - e.g. opensef, 404_sef, 404sefx, sef advance, etc
#
rewritecond %{request_uri} ^(/component/option,com) [nc,or] ##optional - see notes##
rewritecond %{request_uri} (/|\.htm|\.php|\.html|/[^.]*)$  [nc]
rewritecond %{request_filename} !-f
rewritecond %{request_filename} !-d
rewriterule (.*) index.php
#
########## end - 3rd party sef section



########## begin - rewrite rules block out common exploits
## if experience problems on site block out operations listed below
## attempts block common type of exploit `attempts` joomla!
#
# block out script trying set mosconfig value through url
rewritecond %{query_string} mosconfig_[a-za-z_]{1,21}(=|\%3d) [or]
# block out script trying base64_encode crap send via url
rewritecond %{query_string} base64_encode.*\(.*\) [or]
# block out script includes






Comments

Popular posts from this blog

Error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode - Raspberry Pi Forums

class MPU6050 has no member named begin

missing filename after '-o'