Hi:
I am trying to do this 2 different ways, but no luck ..
- I am on a GoDaddy Linux/Apache server
- I have the site in a subfolder within the root, and that is where I am addding the .htaccess file, and the other files.
So ..
This is my .htaccess file
Code:
# Mod Rewrite
Options FollowSymLinks
Options -MultiViews
RewriteEngine on
RewriteRule ^([^/.]+)/?$ /Promotional.Products.State.Listing.php?abbr_state=$1&full_state=$2 [L]
RewriteRule ^Promotional.Products.State.Listing.php?abbr_state=AL&full_state=Alabama$ Promotional-Products-Alabama-Promo-Items-Alabama.html
I am trying to get it to work 1 of 2 ways.
I changed the first link to be this:
Code:
<a href=\"Promotional.Products.State.Listing/Promotional-Products-Alabama-Promo-Items-Alabama.html\">Alabama</a>
I also have the other set of code in the .htaccess file to try and write:
Code:
<a href=\"Promotional.Products.State.Listing.php?abbr_state=AK&full_state=Alaska\">Alaska</a>
to
Code:
<a href=\"Promotional.Products.State.Listing/AK/Alaska">Alaska</a>
(Something like that) but it does not seems to be working.
Maybe GoDaddy servers take awhile to update (but that would seem odd).
What am I missing ??