I have looked at all the tutorials about “Pretty URL’s are not working”.
I find the idea of the CMS super however if I must workaround for a whole day I give up. One last try and please if someone can help me:
For me this tutorial:
https://documentation.concretecms.org/tutorials/pretty-urls-version-8-and-htaccess
broke the whole website.
Example .htaccess for Apache
RewriteEngine On
RewriteBase /concrete/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME}/index.html !-f
RewriteCond %{REQUEST_FILENAME}/index.php !-f
RewriteRule . index.php [L]
PHP 7.3
MYSQL
Many have not been able to solve the problem
kerschbaum.tv
A question as a newbie why can’t a nice URL by default like in WordPress ?
Thanks for the help would be happy if I can do it!
Best Georg
Basically if you have checked the button to have pretty URLs on you site all you need to do is place this code in the htaccess file
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME}/index.html !-f
RewriteCond %{REQUEST_FILENAME}/index.php !-f
RewriteRule . index.php [L]
This is if your site is at root level (public_html folder) www.siteurl.com
If you had your site in a subfolder called concrete ie. www.siteurl.com/concrete
You would change this line
RewriteBase /
To
RewriteBase /concrete/
The code you posted implies you are running the whole C5 install in a folder on you server called concrete. Which I am guessing you’re not, so post the code above
TMDesigns:
Basically if you have checked the button to have pretty URLs on you site all you need to do is place this code in the htaccess file
RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME}/index.html !-f RewriteCond %{REQUEST_FILENAME}/index.php !-f RewriteRule . index.php [L]
This is if your site is at root level (public_html folder) www.siteurl.com
If you had your site in a subfolder called concrete ie. www.siteurl.com/concrete
You would change this line
RewriteBase /
To
RewriteBase /concrete/
The code you posted implies you are running the whole C5 install in a folder on you server called concrete. Which I am guessing you’re not, so post the code above
Thank you it is working now!! Best Georg