Pretty URL Problem
Permalink
Ok, I have read a lot of the posts in the forums about errors with the .htaccess file and pretty URL's, but I am not sure if the fixes listed across several forum posts relate to my version of Concrete5 or not so I am adding a new entry. I am using 5.3.2 and I am also using v.1 of the superfish menu. Here is my issues and questions:
1. Does the superfish menu support Pretty URL's.
2. Where do I need to put the .htaccess file if I have C5 installed in a subfolder? Do I need to edit the .htaccess file that C5 gives me if I am in a subfolder?
What happens when I have the .htaccess file on the server is that the menus add additional elements to my URL. So for example, if my site is in the C5 directory on the server, my link looks like this:
http://domain.com/c5/index.php/c5/pagename...
Thus I have an additional "c5" folder in there when it does not exist. Everything works fine, though, and it I go to:
http://domain.com/c5/pagename
it works just fine. But, using the menu, it is wrong again. What is even more bizarre is when I turn off the pretty URL in the dashboard. Now my links look like this:
http://domain.com/c5/index.php/c5/index.php/pagename...
So, it adds an additional c5/index.php onto the c5/index.php.
I think I had everything working at one point but it is not working now for whatever reason. I know that I have Mod_Rewrite on the server because I have a Wordpress blog using it on a different subdomain and the CMS that I am trying to replace is using it just fine too. Help, thanks.
1. Does the superfish menu support Pretty URL's.
2. Where do I need to put the .htaccess file if I have C5 installed in a subfolder? Do I need to edit the .htaccess file that C5 gives me if I am in a subfolder?
What happens when I have the .htaccess file on the server is that the menus add additional elements to my URL. So for example, if my site is in the C5 directory on the server, my link looks like this:
http://domain.com/c5/index.php/c5/pagename...
Thus I have an additional "c5" folder in there when it does not exist. Everything works fine, though, and it I go to:
http://domain.com/c5/pagename
it works just fine. But, using the menu, it is wrong again. What is even more bizarre is when I turn off the pretty URL in the dashboard. Now my links look like this:
http://domain.com/c5/index.php/c5/index.php/pagename...
So, it adds an additional c5/index.php onto the c5/index.php.
I think I had everything working at one point but it is not working now for whatever reason. I know that I have Mod_Rewrite on the server because I have a Wordpress blog using it on a different subdomain and the CMS that I am trying to replace is using it just fine too. Help, thanks.
you can put .htaccess anywhere you want in a directory tree and it should only effect the directories below it. (i think)