-
AuthorPosts
-
November 28, 2008 at 11:01 pm #135792
Hello all,
I’ve activated SEO settings, but only the starting part of URLs are rewroted.http://www.abosolo.com/shop.html?page=shop.product_details&category_id=52&flypage=flypage.tpl&product_id=78
in blue the non rewrited part of my URL.
Is there something to modify in my .htaccess (see below)?
Thanks for your help
Sylvain__________________________________________
AddType application/x-httpd-php5 .php
# @version $Id: htaccess.txt 9975 2008-01-30 17:02:11Z ircmaxell $
# @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#
# mod_rewrite in useRewriteEngine On
# 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########## 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_{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 exploitscjmicro Friendcjmicro
- Join date:
- June 2008
- Posts:
- 501
- Downloads:
- 3
- Uploads:
- 0
- Thanks:
- 198
- Thanked:
- 81 times in 10 posts
November 28, 2008 at 11:19 pm #280680I don’t know enough about .htaccess to help, but just wanted to mention that i used a component to help with this and found it was easier to set up that way. sh404sef is the component, non commercial from the joomla extension forum. It allows you to set up names for the files too, and seemed to make my sef work when I couldn’t get it to work on my own 😮
Cheryl
mj1256 Friendmj1256
- Join date:
- June 2007
- Posts:
- 1473
- Downloads:
- 10
- Uploads:
- 35
- Thanks:
- 84
- Thanked:
- 225 times in 118 posts
November 28, 2008 at 11:24 pm #280681Its not SEO, it SEF that you set.
If you want to mod rewrite the cart urls, you are best to install a third party component such as Artio or sh404sef, both of which require a plugin to translate the VM urls.
and don’t forget to do your 302 canonical redirect
nefar Friendnefar
- Join date:
- December 2007
- Posts:
- 434
- Downloads:
- 0
- Uploads:
- 2
- Thanks:
- 78
- Thanked:
- 42 times in 1 posts
November 28, 2008 at 11:26 pm #280682http://extensions.joomla.org/component/option,com_mtree/task,viewlink/link_id,2380/Itemid,35/
That’s the extension Cj is speaking of, I use it myself and I find it very usefull over the stock joomla “SEF”.
2 users say Thank You to nefar for this useful post
mj1256 Friendmj1256
- Join date:
- June 2007
- Posts:
- 1473
- Downloads:
- 10
- Uploads:
- 35
- Thanks:
- 84
- Thanked:
- 225 times in 118 posts
November 28, 2008 at 11:38 pm #280688matter of choice, both work great
Artio is my favorite
http://extensions.joomla.org/component/option,com_mtree/task,viewlink/link_id,1063/Itemid,35/ -
AuthorPosts
This topic contains 5 replies, has 4 voices, and was last updated by mj1256 15 years, 12 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum