Page 1 of 1

[Solved]SEO friendly URL's not working.

Posted: Thu Nov 24, 2011 12:53 pm
by iselinarnesen
Hi.

I recently transfered my website(http://www.web-focus.no) to cmsms. I have many valuable rankings in Google and now all my urls are messed up. I tried to do as described here: http://wiki.cmsmadesimple.org/index.php ... retty_URLs, but it did not work. At one point the I got this message when clicking on my page links: "Page not found"

I want all my pages to have this extentions: http://www.mysite.com/page.html

I will attach the htaccess.txt(in the /doc) and config.php

Hope somebody can help me.

Iselin

Re: SEO friendly URL's not working.

Posted: Thu Nov 24, 2011 1:15 pm
by uniqu3
Not sure but it could be RewriteBase in .htaccess
Try or something similar

Code: Select all

RewriteBase /web-focus.no/httpd.www

Re: SEO friendly URL's not working.

Posted: Thu Nov 24, 2011 5:10 pm
by iselinarnesen
Unfortunately, nothing happened.

Re: SEO friendly URL's not working.

Posted: Sat Nov 26, 2011 12:28 pm
by swgreed
Try this:

Code: Select all

#RewriteRule ^(.+)$ index.php?page=$1 [QSA]
RewriteRule ^(.+).html$ index.php?page=$1 [QSA]  
Comment the first line in your .htaccess and add the second line.

[SOLVED]Re: SEO friendly URL's not working.

Posted: Wed Nov 30, 2011 4:23 pm
by iselinarnesen
It works:) Thanks:)