Pretty URL's
Permalink
Hi There,
After I enabled Pretty URL'it works and it doesn't.
Some links the name is rewritten and somtimes it's not. For example when I use the links on the hero featurette the index.php is bakc in the URL.
And any way: my sit is placed in a subfolder, but I do not know how to schange that.
In earlier discussions ther was mentiond to enable a line in the config.php, but I can't find it using controle plannel (maybe names have changed after couple of years).
So Questions are
1. How do I loose the /conc/ in the URL aswell;
2. How come somtetimes it works.
I have found a code for rewriting the name of the main URL, but when I use the link it reputs the /conc/ back ?
This is my .htaccess (put in the punblic folder):
RewriteEngine On
RewriteCond %{HTTP_HOST} ^(www.)?mysite.nl$
RewriteRule ^(/)?$ conc/ [L]
# -- concrete5 urls start --
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /conc/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME}/index.html !-f
RewriteCond %{REQUEST_FILENAME}/index.php !-f
RewriteRule . index.php [L]
</IfModule>
# -- concrete5 urls end --
Thanks!
After I enabled Pretty URL'it works and it doesn't.
Some links the name is rewritten and somtimes it's not. For example when I use the links on the hero featurette the index.php is bakc in the URL.
And any way: my sit is placed in a subfolder, but I do not know how to schange that.
In earlier discussions ther was mentiond to enable a line in the config.php, but I can't find it using controle plannel (maybe names have changed after couple of years).
So Questions are
1. How do I loose the /conc/ in the URL aswell;
2. How come somtetimes it works.
I have found a code for rewriting the name of the main URL, but when I use the link it reputs the /conc/ back ?
This is my .htaccess (put in the punblic folder):
RewriteEngine On
RewriteCond %{HTTP_HOST} ^(www.)?mysite.nl$
RewriteRule ^(/)?$ conc/ [L]
# -- concrete5 urls start --
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /conc/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME}/index.html !-f
RewriteCond %{REQUEST_FILENAME}/index.php !-f
RewriteRule . index.php [L]
</IfModule>
# -- concrete5 urls end --
Thanks!
Dear Getsupport,
thank you forthe quick reply,
Concrete5 is already installed in the subfolder.
Is your advice to move everything to the root folder?
And how do I do this (simply copy past using th FTP programme)?
Greetings Joachiem
thank you forthe quick reply,
Concrete5 is already installed in the subfolder.
Is your advice to move everything to the root folder?
And how do I do this (simply copy past using th FTP programme)?
Greetings Joachiem
Hi!
Yey, it is much simpler to copy your site to the root "/public_html/"
kind regards
Yey, it is much simpler to copy your site to the root "/public_html/"
kind regards
.