Las urls se ven amigables pero me aparecen una serie de lineas en las que dice
Deprecated: Function ereg_replace() is deprecated in /home/artic/public_html/seourls.php on line 23
Deprecated: Function ereg_replace() is deprecated in /home/artic/public_html/seourls.php on line 23
Os paso el código de .htaccess
Código Apache:
Ver original
RewriteEngine On RewriteRule ^([^/]*)/([^/]*)/$ article.php?id=$1&title=$2 [L] RewriteRule ^profile/([^/]*)/([^/]*)/$ profile.php?a=$1&name=$2 [L] RewriteRule ^category/([^/]*)/([^/]*)/$ category.php?id=$1&name=$2 [L] RewriteRule ^page/([^/]*)/([^/]*)/$ page.php?p=$1&title=$2 [L] RewriteRule ^start/([^/]*)/([^/]*)/$ index.php?page=$1&ipp=$2 [L] RewriteRule ^category/([^/]*)/([^/]*)/start/([^/]*)/([^/]*)/$ category.php?id=$1&title=$2&page=$3&ipp=$4 [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !(\.[a-zA-Z0-9]{1,5}|/)$ RewriteRule (.*)$ %{REQUEST_URI}/ [R=301,L]
Y el código php del archivo seourls.php
Código PHP:
Ver original
<?php GENERATE SEO URLS */ { //make it lowercase, remove punctuation, remove multiple/leading/ending spaces //remove words, if not helpful to seo //i like my defaults list in remove_words(), so I wont pass that array if($remove_words) { $return = remove_words($return,$replace,$words_array); } //convert the spaces to whatever the user wants //usually a dash or underscore.. //...then return the value. } /* takes an input, scrubs unnecessary words */ { //separate all words based on spaces //create the return array //loops through words, remove bad words, keep good ones foreach($input_array as $word) { //if it's a word we should add... { $return[] = $word; } } //return good words separated by dashes } ?>
¿Que creeis que ocurre para que aparezca las líneas de código?
Perdón por el desconocimiento