Friendly URL's 0.6.x (Apache)
#1
Guest_MASsIVE_*
Posted 04 August 2004 - 11:21 PM
Newsletter available for this ??
Anyhow, back to topic, I wanted to use the Friendly URL or alias for folders, but it mentions I must write a .htaccess file what exactly do I need to write to make this work ??
ALEX....great stuff 8)
#2
Posted 04 August 2004 - 11:23 PM
If it doesnt work, you may need to change the RewriteBase, but try it w/o it first
#3
Guest_MASsIVE_*
Posted 04 August 2004 - 11:28 PM
I have a problem I try to access index.php and the browser is downloading it, the files are showing or exposed.
I may have to set the default file in .htaccess and the FURL's how can I comine them as one ??
#4
Posted 04 August 2004 - 11:30 PM
#5
Posted 04 August 2004 - 11:33 PM
#6
Guest_MASsIVE_*
Posted 04 August 2004 - 11:34 PM
Seems to work like a charm
Will the menu pic up the folder alias's or do I need to hard link those??
I know asking more questions hahaa
Had to edit it to be more clear 8)
#7
Posted 04 August 2004 - 11:43 PM
and if anyone can contribute there I'm sure it would be appreciated by all.
All Hail Etomite!!
#8
Guest_Alex_*
Posted 05 August 2004 - 11:18 AM
index.php?id=123 < p123.html < alias
#9
Posted 05 August 2004 - 04:08 PM
, but I'm not getting it.I've set up FURLs in my Manager (v. 0.6), made the two .htaccess files, one in my etomite folder, one in the manager folder.
I currently use a list for my navigation on this site, as a Chunk, like so:
<ul> <li><a href="index.php?id=1">Home</a></li> <li><a href="gallery/albums/">Gallery</a></li> <li><a href="index.php?id=16">Fun Stuff</a></li> <li><a href="colsplace.html">Col's Place</a></li> <li><a href="flybabies.html">Flybabies</a></li> </ul>
Just where do I put [~16~] in this code, or how? And, for some reason, my FURLs are not working. My alias for Fun Stuff is 'funstuff', but it doesn't show up anywhere or anyhow.
#10
Posted 05 August 2004 - 04:33 PM
<a href="[~1~]">Home</a>
#11
Posted 05 August 2004 - 04:40 PM

I went back to see what I did wrong - I was following the documentation, but this is what it said:
To insert a link to another document within your Etomite site, simply type the id number of the document, surrounded by [~ and ]. [123~] will point to the document with ID 123.
So I was only using one ~ in there.
I'll go change that.........
#12
Posted 05 August 2004 - 04:52 PM
originally I thought
[~1~]
would produce
<a href="filename">pagename for the file</a>
so that when you updated the pagename in the manager it would update in the links throughout... maybe there will be something like a pagename code with an id added to it like the new news snippet... where it will find the name and you can just put in something like
<a href="[~1~]">[*pagetitle=1*]</a>
who knows... (just rammbling here)
#13
Posted 20 August 2004 - 05:20 AM
I have the .htaccess files in the correct places....
#14
Posted 20 August 2004 - 05:36 AM
I do have mod_rewrite turned on in apache (I too am on a shared server though).
I have the correct .htaccess files in the root and the one in the manager dir with the mod rewrite off.
I too get the error 500: internal servor error when I turn them on.
I don't think this is an RC2 specific issue cause i think i remember the first time i installed phase/etomite that I had issues with friendly urls and I haven't revisited until now.
Any ideas?
#15
Posted 22 August 2004 - 11:45 PM
#16
Guest_Alex_*
Posted 23 August 2004 - 04:20 PM
RewriteBase /path/to/your/root
And if that doesn't work, check the apache logs to see if there's any error messages. Maybe they'll help you set the Rewritebase path properly.
#17
Posted 23 August 2004 - 06:33 PM
Added this:
RewriteBase /
If you have your site as a subdirectory of the root domain name (e.g. yourdomain.com/etomite), you can try this:
RewriteBase /etomite/(where etomite is the folder containing your etomite install)
#18
Posted 23 August 2004 - 06:49 PM
So I'm guessing that if I am getting the 500: internal server error, Friendly URLs are probably not gonna work on my site. Can anyone vouch for that?
It would be fairly safe to assume that your server is not configured for friendly URL's... If you are, in fact, seeing a friendly URL in your browsers addressbar and are getting this error, that is a safe assumption...
#19
Posted 23 August 2004 - 08:04 PM
It would be fairly safe to assume that your server is not configured for friendly URL's... If you are, in fact, seeing a friendly URL in your browsers addressbar and are getting this error, that is a safe assumption...
I actually did get them to word finally. Since I'm using a hosted/shared server, I guess the Apache configuration was a little different. Adding a "RewriteBase" section to my .htaccess fixed the problem.
#20
Posted 18 September 2004 - 01:17 PM
Before we get there though, I want to set up my site.... At the moment I have the following site navigation - Friendly URL aliases in the brackets
Home (home)
Products (products)
Services (services)
-Computer Repairs (computerrepairs)
-Website Design (webdesign)
Contact Us (contact)
Thats not the complete site but Im sure you get the drift. I want to be able to type into my browser on a root install, www.domainname.com/services/webdesign and have it take me to the webdesign page. At the moment it refuses to work, and I can only access these pages from www.domainname.com/webdesign. Is there somewhere to configure the directory structure so I can have the friendly URLs display the folders I have created?
Please advise! I can live without it, but Im sure on a complex CMS as this, a feature like this is hiding somewhere
Best Regards
Luke
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users











