PHP Developers Network

A community of PHP developers offering assistance, advice, discussion, and friendship.
 
Loading
It is currently Sun May 31, 2020 1:07 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: about .htaccess
PostPosted: Sun May 08, 2016 10:31 am 
Offline
Forum Newbie

Joined: Sun May 08, 2016 10:25 am
Posts: 3
Hello friends,
I have .htaccess file and working but just display index.php but other links became invisible.
Navigation is coming but links on mainpage not showing.
How can i solve to this problem.
My htaccess details:
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^ index.php [L]

</IfModule>
Thank you.


Top
 Profile  
 
 Post subject: Re: about .htaccess
PostPosted: Sun May 08, 2016 8:16 pm 
Offline
Spammer :|
User avatar

Joined: Wed Oct 15, 2008 2:35 am
Posts: 6617
Location: WA, USA
What do you mean links are "invisible" and "not showing"?


Top
 Profile  
 
 Post subject: Re: about .htaccess
PostPosted: Wed May 11, 2016 1:55 pm 
Offline
Forum Contributor

Joined: Fri Jul 20, 2007 11:29 am
Posts: 367
That is what the current content of your .htaccess does. It makes it so that any request that would have been "404 not found" gets sent to index.php instead, unless it is a file or folder that actually exists.

_________________
Warning: I have no idea what I'm talking about.


Top
 Profile  
 
 Post subject: Re: about .htaccess
PostPosted: Thu May 19, 2016 7:35 am 
Offline
Forum Newbie

Joined: Sun May 08, 2016 10:25 am
Posts: 3
What can i do for this.
Should i use another rule?
Can you give me some example. After i use .htaccess i can see just navigation slugs and its contents but other links cant be shown.
Thank you


Top
 Profile  
 
 Post subject: Re: about .htaccess
PostPosted: Thu May 19, 2016 2:40 pm 
Offline
Spammer :|
User avatar

Joined: Wed Oct 15, 2008 2:35 am
Posts: 6617
Location: WA, USA
The rules are fine. Probably. But you still haven't explained what "invisible" and "not showing" mean.


Top
 Profile  
 
 Post subject: Re: about .htaccess
PostPosted: Fri May 20, 2016 1:28 pm 
Offline
Forum Newbie

Joined: Sun May 08, 2016 10:25 am
Posts: 3
I mean after aplying .htaccess dynamic navigation links coming however for example
When i enter link did not display. My english isnt well. I struggle to explain. I hope i could.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: Google [Bot] and 25 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group