Quantcast
Channel: Yii Framework Forum
Viewing all articles
Browse latest Browse all 18717

Weird Characters In Url

$
0
0
Hi,

Currently I'm facing some problem the URL, some weird characters is shown after enter the website url.
this the snippet of the url:

post/index#.UUBD_Vtp4QQ

and below is the content for my htaccess:

#for clean url
RewriteEngine on

# if a directory or a file exists, use it directly
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

# otherwise forward it to index.php
RewriteRule . index.php

#check for php css


this is how i create my URL

<?php $this->widget('zii.widgets.CMenu',array(
                    'encodeLabel'=>false,
                    'items'=>array(

                        array('label'=>'<img data-hover="'.Yii::app()->request->baseUrl.'/images/about_over.png" src="'.Yii::app()->request->baseUrl.'/images/about.png" />', 'url'=>array('/post/index')),

                        array('label'=>'<img data-hover="'.Yii::app()->request->baseUrl.'/images/info_over.png" src="'.Yii::app()->request->baseUrl.'/images/info.png" />', 'url'=>array('/site/page', 'view'=>'about')),

                        array('label'=>'<img data-hover="'.Yii::app()->request->baseUrl.'/images/email_over.png" src="'.Yii::app()->request->baseUrl.'/images/email.png" />', 'url'=>array('/site/contact')),



                        //array('label'=>'<img src="'.Yii::app()->request->baseUrl.'/images/about.jpg" />', 'url'=>array('/site/login')),
                        //     array('label'=>'Login', 'url'=>array('/site/login'), 'visible'=>Yii::app()->user->isGuest)
                      // array('label'=>'Logout ('.Yii::app()->user->name.')', 'url'=>array('/site/logout'), 'visible'=>!Yii::app()->user->isGuest)isGuest
                    ),
                )); ?>


i have try remove the htaccess file but it doesn't work and the characters still remain
please advise, thanks

Viewing all articles
Browse latest Browse all 18717

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>