cID links don't work
Permalink
I have a problem with links that are created using "Insert Link to Page" tool. The link is like /index.php?cID=123 and it is working when I'm logged in as admin. If I publish the page and view it as a guest, links are still with the cID and when clicked, I'm directed to index.php. If I write a complete address to address bar the site is shown correctly.
Am I missing something?
Am I missing something?
Please help me. I have enabled pretty URLs and copied the code to my .htaccess file.
are pretty urls still working?
ok, i tried to replicate this.
pretty urls are enabled and working.
added link via content blocks "insert link to page", published and viewed as guest.
The link is shown up correctly, but when i click
on it i'm directed to the site with the index.php/contact, even if pretty urls are working.
This seems like a bug to me, will post it to the bug tracker
ok, i tried to replicate this.
pretty urls are enabled and working.
added link via content blocks "insert link to page", published and viewed as guest.
The link is shown up correctly, but when i click
on it i'm directed to the site with the index.php/contact, even if pretty urls are working.
This seems like a bug to me, will post it to the bug tracker
Thank you for your answer!
If pretty urls mean that there is no "index.php?cID=123" in urls, then pretty urls aren't working.
My .htaccess file is in root of c5 directory and it's content is this:
If pretty urls mean that there is no "index.php?cID=123" in urls, then pretty urls aren't working.
My .htaccess file is in root of c5 directory and it's content is this:
<IfModule mod_rewrite.c> RewriteEngine On RewriteBase /newsite/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php/$1 [L] </IfModule>
before i add a block, a link appears like in the first attached image.
when re-editing it, the link appears like in the second image(but it should be without index.php if pretty urls are enabled, posted to bugs)
here's my .htaccess
when re-editing it, the link appears like in the second image(but it should be without index.php if pretty urls are enabled, posted to bugs)
here's my .htaccess
AddType x-mapp-php5 .php AddHandler x-mapp-php5 .php RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php/$1 [L]
I tried with your .htaccess code but it didn't work. And my urls aren't changed when re-editing block.
Wonder if there's something wrong with my .htaccess or something...
Wonder if there's something wrong with my .htaccess or something...
guess you have to include
and i don't know if you need the
because, if your server handles php as php5 files by default you won't need it
Had a look at thishttp://www.concrete5.org/community/bugs/translate_tofrom_save_wrong... already ?
How are the links saved to your db?
<IfModule mod_rewrite.c>
and i don't know if you need the
Addtype ... AddHandler ...
because, if your server handles php as php5 files by default you won't need it
Had a look at thishttp://www.concrete5.org/community/bugs/translate_tofrom_save_wrong... already ?
How are the links saved to your db?
i have had the same problem with the urls each time i published my site at least one of the insert links redirected me to the index page.
So went back to edit the page and opened the html source where i changed the link to the page where it should be linking too.
Than it did work.
I know its not a perfect solution but it helped me.
The only problem i havent figured out is why the pretty urls on this site i made for a client dont work.
So went back to edit the page and opened the html source where i changed the link to the page where it should be linking too.
Than it did work.
I know its not a perfect solution but it helped me.
The only problem i havent figured out is why the pretty urls on this site i made for a client dont work.
I don't have access to database so I can't see how links are displayed there. Though, I think they are not changed since the links didn't change when I tried to reproduce the situation.
Changing actual path to links works but I wouldn't want to use it. What if I need to change the directory of the site? Wouldn't that cause all links to break?
Changing actual path to links works but I wouldn't want to use it. What if I need to change the directory of the site? Wouldn't that cause all links to break?
This helped me a lot:http://www.concrete5.org/community/features/pretty_urls_in_content_...
Now pretty urls are working but site anchors aren't...
Edit:
And here is my solution for site anchors:http://www.concrete5.org/community/features/pretty_urls_in_content_...
Now pretty urls are working but site anchors aren't...
Edit:
And here is my solution for site anchors:http://www.concrete5.org/community/features/pretty_urls_in_content_...