permalink repeats itself
-
Hello All,
i have a top menu buttons and as i click them link repeats itself.
lets say i have a button and it goes to: http://xxxx.com/oyunlar/top-oyunlar
if i click same button or other top menu buttons it becomes:http://xxxxx/oyunlar/oyunlar/macera-oyunlari
and if i click again
http://xxxxx/oyunlar/oyunlar/oyunlar/oyunlar/top-oyunlar
so my folder name grows rapidly.
i use: /%postname%
and my links are:
<.li ><.a href=”oyunlar/en-yeni-oyunlar”>yeni<./a><./li>
<.li><.a href=”oyunlar/top-oyunlar”>top<./a><./li>
etc.
how can i stop it to repeat oyunlar part of my url.
by the way it works i dont get no error or blank page. and my htaccess file is:
Options +FollowSymLinks
RewriteEngine on
ErrorDocument 404 /404.html
RewriteRule (.*)-oyunlari/$ kategori.php?kat=$1 [L]
RewriteRule (.*)-(.*).html$ oyun.php?oyna=$2&id=$1 [L]
RewriteRule (.*)-(.*)-(.*)/$ kategori.php?kat=$1&sayfa=$3 [L]
RewriteRule profil-(.*)$ profil.php?id=$1 [L,NC]
RewriteRule gonder.html$ gonder.php [L,NC]
RewriteRule cikis.html$ cikis.php [L,NC]# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPressThank you in advance
The topic ‘permalink repeats itself’ is closed to new replies.