test
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • estradatrabajo Friend
    #162652

    Hi,
    In my site (http://www.3dadictos.com), all the categories are in the root: http://www.3dadictos.com/index.php/name-of-the-section. How can I put them directly in the root: http://www.3dadictos.com/name-of-the-section ? I think that must be simple, but I’m a rookie in Joomla:-[.
    I use Teline IV in Joomla 1.6.

    chavan Friend
    #385907

    Make sure you have both the following have yes in the Site ->Global Configuration->site

    Search Engine Friendly URLs = yes
    Use Apache mod_rewrite = yes

    estradatrabajo Friend
    #385909

    Thank you very much, Chavan, I didn’t have Use Apache mod-rewrite = yes and now the URL seems ok, but now, when I click on the category name on the menus, I get error 404: URL not found. What I have to do to move the categories to the new address?

    chavan Friend
    #385914

    take a back up of you .htaccess file in the joomla root directory and then replace the following code in that file


    ##
    # @version $Id: htaccess.txt 13415 2009-11-03 15:53:25Z ian $
    # @package Joomla
    # @copyright Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved.
    # @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
    # Joomla! is Free Software
    ##

    #####################################################
    # READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE
    #
    # The line just below this section: 'Options +FollowSymLinks' may cause problems
    # with some server configurations. It is required for use of mod_rewrite, but may already
    # be set by your server administrator in a way that dissallows changing it in
    # your .htaccess file. If using it causes your server to error out, comment it out (add # to
    # beginning of line), reload your site in your browser and test your sef url's. If they work,
    # it has been set by your server administrator and you do not need it set here.
    #
    #####################################################

    ## Can be commented out if causes errors, see notes above.
    Options +FollowSymLinks -Indexes

    #
    # 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_{1,21}(=|%3D)
    # Block out any script trying to base64_encode crap to send via URL
    RewriteCond %{QUERY_STRING} base64_encode.*(.*)
    # 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,2})
    # Block out any script trying to modify a _REQUEST variable via URL
    RewriteCond %{QUERY_STRING} _REQUEST(=|{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 .* -
    #
    ########## End - Joomla! core SEF Section

    estradatrabajo Friend
    #385915

    Thank yo very much! Now it seems to work perfect.:D

Viewing 5 posts - 1 through 5 (of 5 total)

This topic contains 5 replies, has 2 voices, and was last updated by  estradatrabajo 13 years, 8 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum