Problem Changing Page Name & Alias
Permalink
I changed the name and alias of an existing page on my C5 test site from Services (/services) to Themes (/themes). When I did this the page broke. Take a look at it athttp://c5.sineceramedia.com/themes/.... How do I fix it?
Before it was showing the index of the directory, as in a file list of the template directory contents. When i appended index.php to the directory listing, it brought up his template. This seems like a web server issue that it shows the directory instead of looking for or some sort of rewrite to index.php, I try to stay out of the hosting and server side of things and leave it to someone more capable and/or interested :)
Andrew, thanks for posting back so quickly. I went ahead and just changed the page alias to something different. Doesnt this mean this will happen with any other directory in the root - if a page is named the same as a directory. (ex: /libraries, /elements, /tools, etc.). Should there be a fix for this or a way to make it so page alias' cant be named the same as root directories? Or is this just a webhost problem like ScottC suggests? Anyone else run into this?
but I believe this will only happen when pretty URLs are turned on. Try removing the line above from .htaccess and see if you're able to access '/themes/'
For example, going here:
http://c5.sineceramedia.com/index.php/themes/...
seems to work just fine.
You could try removing the line:
from your .htaccess file - although that might have unforeseen consequences.