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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.