Make Dynamic URLs Search Engine Friendly - Test the Results
(Page 5 of 7 )
If there are any problems we want to know about them before proceeding. There is no point in making the wrong modifications to our code! Type the rewritten URL into the address bar of your browser substituting actual literal values for the PHP variables. In our example, we know that there is a category called “books” and a subject called “biography.” That would make our URL:
http://www.mysite.com/typebooks-biography.htm
If the right page is returned then you’ve done everything correctly.
If not, here are a couple of suggestions. Make sure you have uploaded .htaccess into the right directory. Still have problems? Try the original, unrewritten URL in the address bar. If that also doesn’t work, then the format of your URL is incorrect. Go back, recopy it from your code and re-enter it into the rewrite rule generator.
Next: Modifying Your Code >>
More Web Services Articles
More By Peter Lavin