₦airaland Forum

Welcome, Guest: Join Nairaland / LOGIN! / Trending / Recent / New
Stats: 1,945,701 members, 4,031,104 topics. Date: Wednesday, 17 January 2018 at 02:19 PM

Help With Htacess Multiple Rewrite Rules - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / Help With Htacess Multiple Rewrite Rules (291 Views)

Search Multiple Tables / How To Create Multiple User Authentication In Laravel 5.3 / Can An Array In Java Hold Multiple Types? (1) (2) (3) (4)

(0) (Reply) (Go Down)

Help With Htacess Multiple Rewrite Rules by youngscholar(m): 8:39am On Jan 10
RewriteEngine On

RewriteBase /

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule ^([^/]*)$ /topics.php?url=$1 [L]

RewriteEngine On

RewriteBase /

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule ^([^/]*)$ /marktet.php?url=$1 [L]

How can I make both working..Only the first one works..Please assist.
Re: Help With Htacess Multiple Rewrite Rules by LegendsCoded(m): 2:38am On Jan 11
youngscholar:

RewriteEngine On

RewriteBase /

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule ^([^/]*)$ /topics.php?url=$1 [L]

RewriteEngine On

RewriteBase /

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule ^([^/]*)$ /marktet.php?url=$1 [L]

How can I make both working..Only the first one works..Please assist.


Try this RewriteEngine On

RewriteBase /

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule ^([^/]*)$ /topics.php?url=$1 [L]
RewriteRule ^([^/]*)$ /marktet.php?url=$1 [L]
Re: Help With Htacess Multiple Rewrite Rules by youngscholar(m): 11:06am On Jan 13
LegendsCoded:


Try this RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^/]*)$ /topics.php?url=$1 [L] RewriteRule ^([^/]*)$ /marktet.php?url=$1 [L]

The first workingm...The second is not.
Re: Help With Htacess Multiple Rewrite Rules by youngscholar(m): 11:07am On Jan 13
LegendsCoded:


Try this RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^/]*)$ /topics.php?url=$1 [L] RewriteRule ^([^/]*)$ /marktet.php?url=$1 [L]

The first one working...The second is not.
Re: Help With Htacess Multiple Rewrite Rules by LegendsCoded(m): 12:14am On Jan 15
youngscholar:



The first one working...The second is not.

I'll give u a code tomorrow
Re: Help With Htacess Multiple Rewrite Rules by hypazmedia: 10:18am On Jan 15
RewriteEngine On

RewriteBase /

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule ^([^/]*)$ /topics.php?url=$1 [L]

RewriteEngine On

RewriteBase /

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule ^([^/]*)$ /market.php?url=$1 [L]
Re: Help With Htacess Multiple Rewrite Rules by hypazmedia: 10:19am On Jan 15
youngscholar:
RewriteEngine On

RewriteBase /

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule ^([^/]*)$ /topics.php?url=$1 [L]

RewriteEngine On

RewriteBase /

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule ^([^/]*)$ /marktet.php?url=$1 [L]

How can I make both working..Only the first one works..Please assist.
RewriteEngine On

RewriteBase /

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule ^([^/]*)$ /topics.php?url=$1 [L]

RewriteEngine On

RewriteBase /

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule ^([^/]*)$ /market.php?url=$1 [L]

(0) (Reply)

My Personal Data And U Would Be Interested.. / Private Programming Lectures 4 Lagos Residents / Sell Good Tools (contact My Yahoo: Good_inbox)

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (0) (1) (2) (3) (4) (5) (6) (7) (8) (9)

Nairaland - Copyright © 2005 - 2018 Oluwaseun Osewa. All rights reserved. See How To Advertise. 33
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.