0
Welcome Guest! Login
0 items Join Now

Can you help..when I enable standard SEO for joomla.. all fails except home page

  • Can you help..when I enable standard SEO for joomla.. all fails except home page

    Posted 18 years 3 months ago
    • Hi peeps...this is a little niggly.. i have spoke to my web host who are more than willing to help, but between us we cant sort out a problem with one of my sites. If i was to enable the standard seo whilst setting up the site, any link from the home page will return a 404 error. Played with .htaccess for a couple of hours but to no avail.. the hosting co. has enabled mod_rewrite etc like the rest of my sites, however this one I just cant work out.... Site is using joomla 1.012 and the host as the latest verson of php etc running...

      any ideas here first before i go on a mission?

      thanks in advance


      lee
    • Come visit us!
    • Dan L's Avatar
    • Dan L
    • Elite Rocketeer
    • Posts: 1453
    • Thanks: 0

    Re: Can you help..when I enable standard SEO for joomla.. all fails except home page

    Posted 18 years 3 months ago
  • Re: Can you help..when I enable standard SEO for joomla.. all fails except home page

    Posted 18 years 3 months ago
    • You have to unmark some more lines, here is the last part of my .htaccess, also remember to fill in your domain:


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

      #
      # mod_rewrite in use

      RewriteEngine On


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

      # RewriteBase /http://www.yourdomain.com


      ########## Begin - Joomla! core SEF Section
      ############# Use this section if using ONLY Joomla! core SEF
      ## ALL (RewriteCond) lines in this section are only required if you actually
      ## have directories named 'content' or 'component' on your server
      ## If you do not have directories with 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 this section if you are using a 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
    • My company site
      Vedi Design - Joomla CMS
    • Elastic Illusion's Avatar

    Re: Can you help..when I enable standard SEO for joomla.. all fails except home page

    Posted 18 years 5 days ago
    • ???
      Hey Hey, can you guys please take a look and see why I am getting errors on my site with SEO activated?

      THANKS
      www.breakdancedvd.com

      here is my htaccess:

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

      #
      # mod_rewrite in use

      RewriteEngine On


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

      Rewritebase /


      ########## Begin - Joomla! core SEF Section
      ############# Use this section if using ONLY Joomla! core SEF
      ## ALL (RewriteCond) lines in this section are only required if you actually
      ## have directories named 'content' or 'component' on your server
      ## If you do not have directories with 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 this section if you are using a 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 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!
      #
      # Block out any script trying to set a mosConfig value through the URL
      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
    • Last Edit: 18 years 5 days ago by .
    • GollumX's Avatar
    • GollumX
    • Elite Rocketeer
    • Posts: 2817
    • Thanks: 0

    Re: Can you help..when I enable standard SEO for joomla.. all fails except home page

    Posted 18 years 5 days ago
    • you've activated both joomla core and 3rd party sections. choose only one and comment out the other. in the example below i have chosen the joomla core section and commented out the other. also remember to turn on SEF in your backend global config.

      ########## Begin - Joomla! core SEF Section
      ############# Use this section if using ONLY Joomla! core SEF
      ## ALL (RewriteCond) lines in this section are only required if you actually
      ## have directories named 'content' or 'component' on your server
      ## If you do not have directories with 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 this section if you are using a 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
    • Last Edit: 18 years 5 days ago by GollumX.
    • Say no to Internet Explorer 6.
      twitter.com/mark_up
    • Elastic Illusion's Avatar

    Re: Can you help..when I enable standard SEO for joomla.. all fails except home page

    Posted 18 years 4 days ago
    • THANK YOU!

Time to create page: 0.055 seconds