September 9, 201213 yr Hi all long time since my last post how do i get urls that go like www.yourdomain.com/about-us.php to www.yourdomain.com/about-us and also www.yourdomain.com/viewarticle.php?id=1 to www.yourdomain.com/viewarticle/1/ i know its htaccess but when i set it up it dont work any ideas trying to stear away from mvc if possable
September 11, 201213 yr When you upload the htaccess file does the website error or does it just display the site without the changes?
September 12, 201213 yr Author ok with /article/1/ i got that working i keep getting errops with trying to do /home for home.php
September 14, 201213 yr SEO friendly URLs can be rewritten by using softwares available over the internet, one of the tool is deecoup. Alternatively you could do it using .htaccess. You could follow this http://zenverse.net/seo-friendly-urls-with-htaccess/.
October 11, 201213 yr .htaccess is your friend here. I had a bit of bother until I worked out all the tricks of htaccess. I found that included the [L] after you had done a match denoted that this was the "Last" rewrite that would happen for this URL. Otherwise your web server will continue running through the .htaccess file and try and find other matches. If your last match is a catch-all then it might be getting right through to this. If you want to post the content of your htaccess file I'll be happy to take a quick look.
January 8, 201313 yr Thanks for sharing such a helpful information.This post would help us to make your URL seo friendly before applying seo strategies.
Create an account or sign in to comment