Jazajay
10-16-2007, 07:36 AM
Ok to get theskateparkdirectory.com/browse/oh/columbus/
try adding this to your .htaccess file.
Options +FollowSymLinks
RewriteEngine on
RewriteRule ^browse/(.*)/(.*)/$ browse.php?state=$1&city=$2
But you would need to create a browse.php file off the main dir for it to work.
the second one
theskateparkdirectory.com/browse/oh/
simply put in the .htaccess file
Options +FollowSymLinks
RewriteEngine on
RewriteRule ^browse/(.*)/(.*)/$ browse.php?state=$1
Test this out on a test page if you are live incase I have added a syntax error by mistake.
If you already have a .htaccess file -
Options +FollowSymLinks
RewriteEngine on
only needs to be turned on/placed in on the first two lines.
your .htaccess file should look like -
Options +FollowSymLinks
RewriteEngine on
RewriteRule ^browse/(.*)/(.*)/$ browse.php?state=$1
RewriteRule ^browse/(.*)/(.*)/$ browse.php?state=$1&city=$2
Any problems let me know
Jaza
try adding this to your .htaccess file.
Options +FollowSymLinks
RewriteEngine on
RewriteRule ^browse/(.*)/(.*)/$ browse.php?state=$1&city=$2
But you would need to create a browse.php file off the main dir for it to work.
the second one
theskateparkdirectory.com/browse/oh/
simply put in the .htaccess file
Options +FollowSymLinks
RewriteEngine on
RewriteRule ^browse/(.*)/(.*)/$ browse.php?state=$1
Test this out on a test page if you are live incase I have added a syntax error by mistake.
If you already have a .htaccess file -
Options +FollowSymLinks
RewriteEngine on
only needs to be turned on/placed in on the first two lines.
your .htaccess file should look like -
Options +FollowSymLinks
RewriteEngine on
RewriteRule ^browse/(.*)/(.*)/$ browse.php?state=$1
RewriteRule ^browse/(.*)/(.*)/$ browse.php?state=$1&city=$2
Any problems let me know
Jaza