Pagina 1 di 1

SEO URL ed il file .htaccess "Options +FollowSymLinks&q

Inviato: 26/04/2007, 13:39
da maury2ma
modificando il file .htaccess e mettendo l'<IfModule mod_rewrite.c>
mi sono trovato con il seguente file :

Codice: Seleziona tutto

# $Id: .htaccess,v 1.3 2003/06/12 10:53:20 hpdl Exp $
#
# This is used with Apache WebServers
#
# For this to work, you must include the parameter 'Options' to
# the AllowOverride configuration
#
# Example:
#
# <Directory "/usr/local/apache/htdocs">
#   AllowOverride Options
# </Directory>
#
# 'All' with also work. (This configuration is in the
# apache/conf/httpd.conf file)

# The following makes adjustments to the SSL protocol for Internet
# Explorer browsers

<IfModule mod_setenvif.c>
  <IfDefine SSL>
    SetEnvIf User-Agent ".*MSIE.*" \
             nokeepalive ssl-unclean-shutdown \
             downgrade-1.0 force-response-1.0
  </IfDefine>
</IfModule>

# If Search Engine Friendly URLs do not work, try enabling the
# following Apache configuration parameter
#
# AcceptPathInfo On

# Fix certain PHP values
# (commented out by default to prevent errors occuring on certain
# servers)
#
#<IfModule mod_php4.c>
#  php_value session.use_trans_sid 0
#  php_value register_globals 1
#</IfModule>

# Ultimate SEO URLs BEGIN
<IfModule mod_rewrite.c>
  Options +FollowSymLinks
  RewriteEngine On 
  RewriteBase /catalog/
  RewriteRule ^(.*)-p-(.*).html$ product_info.php?products_id=$2&%{QUERY_STRING}
  RewriteRule ^(.*)-c-(.*).html$ index.php?cPath=$2&%{QUERY_STRING}
  RewriteRule ^(.*)-m-([0-9]+).html$ index.php?manufacturers_id=$2&%{QUERY_STRING}
  RewriteRule ^(.*)-pi-([0-9]+).html$ popup_image.php?pID=$2&%{QUERY_STRING}
  RewriteRule ^(.*)-t-([0-9]+).html$ articles.php?tPath=$2&%{QUERY_STRING}
  RewriteRule ^(.*)-a-([0-9]+).html$ article_info.php?articles_id=$2&%{QUERY_STRING}
  RewriteRule ^(.*)-pr-([0-9]+).html$ product_reviews.php?products_id=$2&%{QUERY_STRING}
  RewriteRule ^(.*)-pri-([0-9]+).html$ product_reviews_info.php?products_id=$2&%{QUERY_STRING}
  RewriteRule ^(.*)-i-([0-9]+).html$ information.php?info_id=$2&%{QUERY_STRING}
# Ultimate SEO URLs END
# Added to fix article glitch on sub-articles (lonniew at gmail dot com)
  RewriteRule ^(.*)-t-([0-9]+_[0-9]+).html$ articles.php?tPath=$2&%{QUERY_STRING}
</IfModule>
ma se lo posto cosi su aruba, va in cimbali il server e non mi lascia vedere le pagine.
se tolgo la 44 riga cioe' :
"Options +FollowSymLinks"

allora vedo le pagine e faccio gli ordini con seo attivo,

la mia domanda e' questa :
a che serve quella riga ?
fa parte della ricreazione degli indirizzi per i SEO URL, lo so perche' l'ho aggiunta io.
Per i vari RewriteXXXXX ho capito il funzionamento.
Per OPTION_ecc. non so cosa siano.

qualche esperto mi puo' delucidare ?