Welcome Guest, Not a member yet? Register   Sign In
Problem in codeigniter url
#1

[eluser]Unknown[/eluser]
Hi Everyone,

This is my first topic here .i think i will get some help for sure.So please help me .
i developed a website in codeigniter , but it append a hash string at the end of every url.

for example
http://localhost/my_project/#.UR46O6Wj12I.

Please help me in sloving this issue.i want to remove this hash string after every url.

thanks
#2

[eluser]Otemu[/eluser]
Hi,

In your base config settings check what you have put in your baseurl
If your using routes also check you haven't put any extra values there
Also check your htaccess
#3

[eluser]Unknown[/eluser]
thanks Otemu for your response.

But i checked all these files and nothing wrong i found in these files.

here is my live website url:

http://eduappsworld.com/fin24x7_latest

Here is the setting:
Config File:
$config['base_url'] = 'http://eduappsworld.com/fin24x7_latest/';
$config['index_page'] = '';

Routes File:
$route['default_controller'] = 'pages/view';
$route['blogs'] = 'blogs';
$route['(:any)'] = 'pages/view/$1';

htaccess file:
<IfModule mod_rewrite.c>

RewriteEngine On

RewriteBase /fin24x7_latest



#Removes access to the system folder by users.

#Additionally this will allow you to create a System.php controller,

#previously this would not have been possible.

#'system' can be replaced if you have renamed your system folder.

RewriteCond %{REQUEST_URI} ^system.*

RewriteRule ^(.*)$ /index.php?/$1 [L]




#When your application folder isn't in the system folder

#This snippet prevents user access to the application folder

#Submitted by: Fabdrol

#Rename 'application' to your applications folder name.

RewriteCond %{REQUEST_URI} ^application.*

RewriteRule ^(.*)$ /index.php?/$1 [L]



#Checks to see if the user is attempting to access a valid file,

#such as an image or css document, if this isn't true it sends the

#request to index.php

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule ^(.*)$ index.php?/$1 [L]


</IfModule>


Please suggest me any thing wrong in these files as i am very new in codeigniter..

thanks

#4

[eluser]joergy[/eluser]
Look for "permitted_uri_chars" in application/config/config.php...
#5

[eluser]Otemu[/eluser]
Hi,

The issue is being caused by a JavaScript, if I disable JavaScript then the issue stops. So your need to locate which JavaScript is causing the issue and then resolve it.

Hope that helps




Theme © iAndrew 2016 - Forum software by © MyBB