SEO Friendly URLS in 4.5

5/04/2012 11:59 amJamieEff

Hi Guys

I appreciate that mod_rewrite isnt under your remit per se, but I was wondering a couple of things if someone might be able to answer I would really appreciate it.

1. do urls within the site need to be absolute? reason I ask is that I have created a mod_rewrite rule that is successfull but the resulting page has no styling, layout or images at all (when references to css et al are all relative). I have tested by making certain references absolute and this seems to 'fix' it but was wondering if I am missing something on the relative url side of things?

2. once you have got your rewrite rule working (eg RewriteRule ^BlogItems/([^/]*)\.html$ /blog-article.php?BlogItems=$1) How would you get the site itself to automatically use the rewritten url to get to the related blog post?

3. is it possible to take the rewrite further and, in the case of RewriteRule ^BlogItems/([^/]*)\.html$ /blog-article.php?BlogItems=$1 would you be able to have the rewrite use the title from the article that you have created (if you have created an editable region called 'title')?

Really appreciate any and all feedback or input.

Have a great weekend

Jamie

0

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.