Johnns Posted November 26, 2005 Posted November 26, 2005 (edited) Hello, At first I wanted to go for Movable Type, but since installing the script did not work at all for me (have read installation guide at movable type website + here at total choice hosting) , I have decided to go for Wordpress since I do how to work with php, compared with MTs cgi/perl. Also i had a problem with my host, so am kinda MT-bored, although I think the system is great, but then again Wordpress is free! One of the reasons I wanted MT is because of its nice looking urls (not index.php?message=123123) , but now I saw somebody was using Wordpress with nice looking urls . This was timhodge's webpage called Garduque.net now, does anybody now how I can get these nice looking url's as well? Does it have anything to do with mod_rewrite? perhaps you can post the code I have to use. your help is appreciated! thanks! -John Edited November 26, 2005 by Johnns Quote
TCH-Bruce Posted November 26, 2005 Posted November 26, 2005 Welcome to the forums John Yes, WP will create the mod_rewrite commands for you. You can follow these steps below. 1. Open File Manager in cPanel and browse your blog folder. 2. Highlight the .htaccess file and change the permissions to 666 3. Go into your blog's Site Admin 4. Select Options and then Permalinks 5. Set up your structure for archive and category links to use 6. Click where is says Upate Pemalink Structure 7. Test view your site to be sure it is working the way you want 8. Go back to File Manager and change the permissions of the .htaccess file back to 644 If you don't want Wordpress to update your .htaccess file you can also copy/paste the mod_rewrite statements from Wordpress to your .htaccess file manually. That's pretty much it. Quote
Johnns Posted November 26, 2005 Author Posted November 26, 2005 thanks for the fast reply. i changed it, the links are nice, but im getting a 404 error after clicking on one of the links. common problem? Quote
TCH-Bruce Posted November 26, 2005 Posted November 26, 2005 Have a link to your site? And does the page you are getting a 404 on happen to be a page and not a post? Quote
Johnns Posted November 26, 2005 Author Posted November 26, 2005 it when clicking on NOVEMBER 2005, and on COMMENTS for some privacy reasons please repost the link (sorry ) http://www. h o k r a n t .nl sorry for the inconvienience Quote
TCH-Bruce Posted November 26, 2005 Posted November 26, 2005 Hmm, very strange. In my Permalinks setting I use this structure >/archives/%year%/%monthnum%/%day%/%postname%/ And for archives I use >/category Which looks like what you chose. Did you let Wordpress do the updating or did you use the copy/paste method? When I did it, I used copy/paste. May want to try that. It could be that the update was not successful. Quote
Johnns Posted November 26, 2005 Author Posted November 26, 2005 (edited) I also used the copy/paste method. the code doesnt work for me :s it cant seem to find the page :s Not FoundThe requested URL /category/uncategorized/ was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. any suggestions? Edited November 26, 2005 by Johnns Quote
TCH-Bruce Posted November 26, 2005 Posted November 26, 2005 It should be working. Only other suggestion I could think of is to open a support ticket with the help desk and ask them to have a look. They don't support 3rd party software but it's worth a shot. Quote
TCH-Bruce Posted November 26, 2005 Posted November 26, 2005 Make sure your .htaccess file is set to 644 for permissions. Reading the Wordpress support forum that seems to be the most common cause of the 404 errors. Quote
Johnns Posted November 26, 2005 Author Posted November 26, 2005 I fixed the problem by adding a prefix /index.php/ apparently mod_rewrite isnt installed on the server? ive send a message using the ticket system of my webhost asking him to enable the mod_rewrite function, since i dont like the index.php/ prefix. well, we'll see. thanks for all your help! Quote
Johnns Posted November 28, 2005 Author Posted November 28, 2005 here i am again... i contacted my host, and it seems mod_rewrite rules is enabled :s you perhaps know what could be wrong? Quote
TCH-Bruce Posted November 28, 2005 Posted November 28, 2005 Sorry, but I gave all I know about how the permalinks work. You could check the Wordpress support forum. http://wordpress.org/support/ Quote
TCH-Tim Posted November 30, 2005 Posted November 30, 2005 What Bruce told you is about it. Define the structure and hit the Update button. If WP can write to your .htaccess it will, if not it will tell you so and you will have to copy and paste. Are you saying you saw something like this, and you copied that into your .htaccess and uploaded it to your site? Perhaps you can post the contents of your .htaccess and we can figure out where that /index.php/ is coming from. Cause that's weird. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.