How to: URL Rewrite Dynamic PHP / MySQL URL for SEO -


currently site's urls are:

http://www.domain.com/accreditation_training_view.php?id=1 

i url page's title database instead. in table, title of page 'title' column.

the page title is: "disc accreditation"

i url this:

http://www.domain.com/disc_accreditation 

some pages have '&' symbol in them. them replaced word 'and'. uppercase letters reduced lowercase.

i not sure best way attack htaccess , corresponding php code. have seen other examples on site, nothing this.

any appreciated.

scott

i can't see way regularly .htaccess because need page title (which in content of site, .htaccess can't access).

yet, if using cms or framework (wordpress, joomla!...), there may url-rewriting included (or via plugins), have check !


Comments

Popular posts from this blog

c++ - Is it possible to compile a VST on linux? -

java - Output of Eclipse is rubbish -

jquery - Confused with JSON data and normal data in Django ajax request -