Jump to content

.htaccess not rewriting page


ryanclemens

Recommended Posts

I made some mods to an already made .htaccess and it worked fine.

then I went back and tried to make some more and they are not working.

/packages/ is not working but /tester/ is working fine.

I am new to this so I just copied and changed some names, it worked fine the first time but not anymore.

here is the code that I am using.

[code]
RewriteEngine on
RewriteBase  /

RewriteRule ^sleep$ /sleep/ [R]
RewriteRule ^sleep/$ sleep.php

RewriteRule ^groups$ /groups/ [R]
RewriteRule ^groups/$ groups.php

RewriteRule ^reserve$ /reserve/ [R]
RewriteRule ^reserve/$ reserve.php

RewriteRule ^play$ /play/ [R]
RewriteRule ^play/$ play.php

RewriteRule ^eat$ /play/ [R]
RewriteRule ^eat/$ /play/ [R]
RewriteRule ^consume$ /play/ [R]
RewriteRule ^consume/$ /play/ [R]

RewriteRule ^connect$ / [R]
RewriteRule ^connect/$ / [R]

RewriteRule ^deals$ /deals/ [R]
RewriteRule ^deals/$ deals.php

RewriteRule ^buzz$ /buzz/ [R]
RewriteRule ^buzz/$ buzz.php

RewriteRule ^see$ /see/ [R]
RewriteRule ^see/$ see.php

RewriteRule ^beta$ /beta/ [R]
RewriteRule ^beta/$ beta.php

RewriteRule ^contact$ /contact/ [R]
RewriteRule ^contact/$ contact.php

RewriteRule ^packages$ /packages/ [R]
RewriteRule ^packages/$ packages.php

RewriteRule ^tester$ /tester/ [R]
RewriteRule ^tester/$ tester.php

[/code]

Please any help would be great!
Link to comment
https://forums.phpfreaks.com/topic/34492-htaccess-not-rewriting-page/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.