Jump to content

.htaccess rewrite base problem


joshbedo

Recommended Posts

I just moved a site i was working on to a different domain and have tried changing the rewritebase to RewriteBase /central/central2  and to just /central/ but it wont work its not rewriting heres whole .htaccess

 

Options +FollowSymLinks
Options +Indexes
RewriteEngine On
RewriteBase /central
RewriteRule ^sports/([0-9]+)/option/([0-9]+)?$ page.php?loc=$1&option=$2 [QSA]
RewriteRule ^careers/([0-9]+)/option/([0-9]+)?$ career.php?loc=$1&option=$2 [QSA]
RewriteRule ^article/([0-9]+)?$ article.php?id=$1 [QSA]

 

heres url

http://www.eriesd.org/central/central2/

Link to comment
https://forums.phpfreaks.com/topic/228625-htaccess-rewrite-base-problem/
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.