dosyaları editlemeden once yedeğini almayı unutmayın
editlenecek dosyalar:
.htaccess
includes/sessions.php
.htaccess dosyasının sonuna ekleyin:
Kod:
RewriteEngine On #RewriteBase / RewriteRule ^cat-(.*)-([0-9]+).htm categories.php?cat_id=$2&% #Mod_bmollet : Image name in URL RewriteRule ^img-(.*)-([0-9]+).htm details.php?image_id=$2&% #Mod_bmollet : This is to make search function work ( redirect links from search results ) RewriteRule ^search.htm$ search.php?% RewriteRule ^search.([0-9]+).htm$ search.php?page=$1&%
include/sessions.php icine kaydedilcek. php dongusu kapanmadan ( ?> den once):
Kod:
//Mod_bmollet /** * Get the category url * @Param int $cat_id The id of the category * @Param string $cat_url The current status of the URL */ function get_category_url($cat_id,$cat_url = '') else } //Mod_bmollet /** * Get the image url * @Param int $image_id The id of the image */ function get_image_url($image_id)
4 images seo uyumlu sayfalama
PHP & PHP Framework0 Mesaj
●12 Görüntüleme
- ReadBull.net
- Programlama ve Yazılım
- Server-Side Programlama
- PHP & PHP Framework
- 4 images seo uyumlu sayfalama